Class DefaultAnyObjectProvisioningManager
java.lang.Object
org.apache.syncope.core.provisioning.java.DefaultAnyObjectProvisioningManager
- All Implemented Interfaces:
AnyObjectProvisioningManager
,ProvisioningManager<AnyObjectCR,
AnyObjectUR>
public class DefaultAnyObjectProvisioningManager
extends Object
implements AnyObjectProvisioningManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyObjectDAO
protected final AnyObjectWorkflowAdapter
protected final PropagationManager
protected final PropagationTaskExecutor
protected final VirAttrHandler
-
Constructor Summary
ConstructorDescriptionDefaultAnyObjectProvisioningManager
(AnyObjectWorkflowAdapter awfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, AnyObjectDAO anyObjectDAO, VirAttrHandler virtAttrHandler) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(AnyObjectCR anyObjectCR, boolean nullPriorityAsync, String creator, String context) create
(AnyObjectCR anyObjectCR, Set<String> excludedResources, boolean nullPriorityAsync, String creator, String context) delete
(String key, Set<String> excludedResources, boolean nullPriorityAsync, String eraser, String context) deprovision
(String key, Collection<String> resources, boolean nullPriorityAsync, String executor) link
(AnyObjectUR anyObjectUR, String updater, String context) provision
(String key, Collection<String> resources, boolean nullPriorityAsync, String executor) unlink
(AnyObjectUR anyObjectUR, String updater, String context) update
(AnyObjectUR anyObjectUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context)
-
Field Details
-
awfAdapter
-
propagationManager
-
taskExecutor
-
anyObjectDAO
-
virtAttrHandler
-
-
Constructor Details
-
DefaultAnyObjectProvisioningManager
public DefaultAnyObjectProvisioningManager(AnyObjectWorkflowAdapter awfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, AnyObjectDAO anyObjectDAO, VirAttrHandler virtAttrHandler)
-
-
Method Details
-
create
public Pair<String,List<PropagationStatus>> create(AnyObjectCR anyObjectCR, boolean nullPriorityAsync, String creator, String context) - Specified by:
create
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-
create
@Transactional(propagation=REQUIRES_NEW) public Pair<String,List<PropagationStatus>> create(AnyObjectCR anyObjectCR, Set<String> excludedResources, boolean nullPriorityAsync, String creator, String context) - Specified by:
create
in interfaceAnyObjectProvisioningManager
-
update
@Transactional(propagation=REQUIRES_NEW) public Pair<AnyObjectUR,List<PropagationStatus>> update(AnyObjectUR anyObjectUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context) - Specified by:
update
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-
delete
public List<PropagationStatus> delete(String key, boolean nullPriorityAsync, String eraser, String context) - Specified by:
delete
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-
delete
@Transactional(propagation=REQUIRES_NEW) public List<PropagationStatus> delete(String key, Set<String> excludedResources, boolean nullPriorityAsync, String eraser, String context) - Specified by:
delete
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-
unlink
- Specified by:
unlink
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-
link
- Specified by:
link
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-
provision
public List<PropagationStatus> provision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor) - Specified by:
provision
in interfaceAnyObjectProvisioningManager
-
deprovision
public List<PropagationStatus> deprovision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor) - Specified by:
deprovision
in interfaceProvisioningManager<AnyObjectCR,
AnyObjectUR>
-