public interface IUserManagement
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
createParticipant(Participant participant)
Creates a new participant with the given name.
|
void |
deleteParticipant(java.lang.Integer participantId)
Delete the given participant from the system
|
void |
deleteParticipants(java.util.List<java.lang.Integer> participantIds)
Delete the givens participants from the system
|
java.util.List<Participant> |
findAllParticipants()
List all the existing participant.
|
Participant |
findParticipantById(java.lang.Integer participantId)
Find a participant identified by his Identifier
|
java.util.List<Participant> |
findParticipantsByIds(java.util.List<java.lang.Integer> participantIds)
Find participants identified by ther Identifier
|
java.util.List<Participant> |
findParticipantsByProject(java.lang.Integer projectId)
List all participant of specified project.
|
java.util.List<Participant> |
findParticipantsByProjectAndRoles(java.lang.Integer projectId,
java.util.List<java.lang.Integer> roleIds)
List all participant of specified project whith specified roles.
|
java.util.List<Participant> |
findParticipantsByWorkgroup(java.lang.Integer workgroupId)
List all participant of specified workgroup.
|
void |
updateParticipant(Participant participant)
Update the given participant from the system
|
java.lang.Integer createParticipant(Participant participant) throws java.io.IOException
participant
- Participant Datajava.io.IOException
void updateParticipant(Participant participant) throws java.io.IOException
participant
- Participant Datajava.io.IOException
void deleteParticipant(java.lang.Integer participantId) throws java.io.IOException
participantId
- Identifier of participantjava.io.IOException
Participant findParticipantById(java.lang.Integer participantId) throws java.io.IOException
participantId
- Identifier of participantjava.io.IOException
java.util.List<Participant> findAllParticipants() throws java.io.IOException
java.io.IOException
java.util.List<Participant> findParticipantsByProject(java.lang.Integer projectId) throws java.io.IOException
projectId
- Identifier of projectjava.io.IOException
java.util.List<Participant> findParticipantsByProjectAndRoles(java.lang.Integer projectId, java.util.List<java.lang.Integer> roleIds) throws java.io.IOException
projectId
- Identifier of projectroleId
- List of role identifierjava.io.IOException
java.util.List<Participant> findParticipantsByWorkgroup(java.lang.Integer workgroupId) throws java.io.IOException
workgroupId
- Identifier of workgroupjava.io.IOException
void deleteParticipants(java.util.List<java.lang.Integer> participantIds) throws java.io.IOException
participantIds
- LIst of participants Identifiersjava.io.IOException
java.util.List<Participant> findParticipantsByIds(java.util.List<java.lang.Integer> participantIds) throws java.io.IOException
participantIds
- Identifier of participantjava.io.IOException