// Does participant already exist?
IPersistenceManager persistenceManager = PersistenceManagerFactory.getPersistenceManager();
Map<String, Object> map = new HashMap<String, Object>();
map.put("sharedDataKey", SharedDataHelper.getInternalSharedDataKey(instance));//$NON-NLS-1$
map.put("participantId", participantId);//$NON-NLS-1$
if (persistenceManager.findByValues(IParticipant.class, map).length != 0) return false;
// Add participant
IParticipant participant = persistenceManager.newInstance(IParticipant.class);
participant.setParticipantId(participantId);
participant.setParticipantDisplayName(participantDisplayName);