public interface IWorkgroupManagement
Modifier and Type | Method and Description |
---|---|
void |
addParticipant(java.lang.Integer workgroupId,
java.lang.Integer participantId)
Add specified Participant to specified Workgroup
|
void |
addParticipants(java.lang.Integer workgroupId,
java.util.List<java.lang.Integer> participantIds)
Add specified Participants to specified Workgroup
|
java.lang.Integer |
createWorkgroup(Workgroup workgroup)
Creates a new group in the system.
|
void |
deleteWorkgroup(java.lang.Integer workgroupId)
Deletes the given workgroup from the system
|
void |
deleteWorkgroups(java.util.List<java.lang.Integer> workgroupIds)
Delete the given workgroups from the system
|
java.util.List<Workgroup> |
findAllWorkgroups()
List all existing workgroup.
|
Workgroup |
findWorkgroupById(java.lang.Integer workgroupId)
Find a workgroup identified by his Identifier
|
java.util.List<Workgroup> |
findWorkgroupsByIds(java.util.List<java.lang.Integer> workgroupsIds)
Find workgroups identified by her identifiers
|
java.util.List<Workgroup> |
findWorkgroupsByParticipant(java.lang.Integer participantId)
List all workgroup of specified participant.
|
void |
removeParticipant(java.lang.Integer workgroupId,
java.lang.Integer participantId)
Remove specified Participant of specified Workgroup
|
void |
removeParticipants(java.lang.Integer workgroupId,
java.util.List<java.lang.Integer> participantIds)
Remove specified Participants of specified Workgroup
|
void |
updateWorkgroup(Workgroup workgroup)
Update the given workgroup from the system
|
void addParticipant(java.lang.Integer workgroupId, java.lang.Integer participantId) throws java.io.IOException
workgroupId
- Identifier of WorkgroupparticipantId
- Identifier of Participantjava.io.IOException
void removeParticipant(java.lang.Integer workgroupId, java.lang.Integer participantId) throws java.io.IOException
workgroupId
- Identifier of WorkgroupparticipantId
- Identifier of Participantjava.io.IOException
Workgroup findWorkgroupById(java.lang.Integer workgroupId) throws java.io.IOException
workgroupId
- Identifier of workgroupjava.io.IOException
java.util.List<Workgroup> findAllWorkgroups() throws java.io.IOException
java.io.IOException
java.util.List<Workgroup> findWorkgroupsByParticipant(java.lang.Integer participantId) throws java.io.IOException
java.io.IOException
void addParticipants(java.lang.Integer workgroupId, java.util.List<java.lang.Integer> participantIds) throws java.io.IOException
workgroupId
- identifiers of workgroupsparticipantIds
- List of Participant's identifiersjava.io.IOException
void removeParticipants(java.lang.Integer workgroupId, java.util.List<java.lang.Integer> participantIds) throws java.io.IOException
workgroupId
- identifiers of workgroupsparticipantIds
- List of Participant's identifiersjava.io.IOException
java.util.List<Workgroup> findWorkgroupsByIds(java.util.List<java.lang.Integer> workgroupsIds) throws java.io.IOException
workgroupsIds
- List of Workgroup's identifiersjava.io.IOException
java.lang.Integer createWorkgroup(Workgroup workgroup) throws java.io.IOException
workgroup
- Workgroup Datajava.io.IOException
void deleteWorkgroup(java.lang.Integer workgroupId) throws java.io.IOException
workgroupId
- Identifier of workgroupjava.io.IOException
void deleteWorkgroups(java.util.List<java.lang.Integer> workgroupIds) throws java.io.IOException
workgroupIds
- Identifier of workgroupsjava.io.IOException
void updateWorkgroup(Workgroup workgroup) throws java.io.IOException
workgroup
- Workgroup Datajava.io.IOException