Interface GroupWorkflowAdapter
-
- All Superinterfaces:
WorkflowAdapter
- All Known Implementing Classes:
AbstractGroupWorkflowAdapter
,DefaultGroupWorkflowAdapter
public interface GroupWorkflowAdapter extends WorkflowAdapter
Interface for calling underlying workflow implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowResult<String>
create(GroupCR groupCR, String creator, String context)
Create a group.void
delete(String groupKey, String eraser, String context)
Delete a group.WorkflowResult<GroupUR>
update(GroupUR groupUR, String updater, String context)
Update a group.-
Methods inherited from interface org.apache.syncope.core.workflow.api.WorkflowAdapter
getPrefix
-
-
-
-
Method Detail
-
create
WorkflowResult<String> create(GroupCR groupCR, String creator, String context)
Create a group.- Parameters:
groupCR
- group to be created and whether to propagate it as activecreator
- username that requested this operationcontext
- context information- Returns:
- group just created
-
update
WorkflowResult<GroupUR> update(GroupUR groupUR, String updater, String context)
Update a group.- Parameters:
groupUR
- modification set to be performedupdater
- username that requested this operationcontext
- context information- Returns:
- group just updated and propagations to be performed
-
-