Interface AnyObjectWorkflowAdapter
-
- All Superinterfaces:
WorkflowAdapter
- All Known Implementing Classes:
AbstractAnyObjectWorkflowAdapter
,DefaultAnyObjectWorkflowAdapter
public interface AnyObjectWorkflowAdapter extends WorkflowAdapter
Interface for calling underlying workflow implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowResult<String>
create(AnyObjectCR anyObjectCR, String creator, String context)
Create an anyObject.void
delete(String anyObjectKey, String eraser, String context)
Delete an anyObject.WorkflowResult<AnyObjectUR>
update(AnyObjectUR anyObjectUR, String updater, String context)
Update an anyObject.-
Methods inherited from interface org.apache.syncope.core.workflow.api.WorkflowAdapter
getPrefix
-
-
-
-
Method Detail
-
create
WorkflowResult<String> create(AnyObjectCR anyObjectCR, String creator, String context)
Create an anyObject.- Parameters:
anyObjectCR
- anyObject to be created and whether to propagate it as activecreator
- username that requested this operationcontext
- context information- Returns:
- anyObject just created
-
update
WorkflowResult<AnyObjectUR> update(AnyObjectUR anyObjectUR, String updater, String context)
Update an anyObject.- Parameters:
anyObjectUR
- modification set to be performedupdater
- username that requested this operationcontext
- context information- Returns:
- anyObject just updated and propagations to be performed
-
-