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
Fields Modifier and Type Field Description protected AnyObjectDAO
anyObjectDAO
protected AnyObjectWorkflowAdapter
awfAdapter
protected PropagationManager
propagationManager
protected PropagationTaskExecutor
taskExecutor
protected VirAttrHandler
virtAttrHandler
-
Constructor Summary
Constructors Constructor Description DefaultAnyObjectProvisioningManager(AnyObjectWorkflowAdapter awfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, AnyObjectDAO anyObjectDAO, VirAttrHandler virtAttrHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<String,List<PropagationStatus>>
create(AnyObjectCR anyObjectCR, boolean nullPriorityAsync, String creator, String context)
Pair<String,List<PropagationStatus>>
create(AnyObjectCR anyObjectCR, Set<String> excludedResources, boolean nullPriorityAsync, String creator, String context)
List<PropagationStatus>
delete(String key, boolean nullPriorityAsync, String eraser, String context)
List<PropagationStatus>
delete(String key, Set<String> excludedResources, boolean nullPriorityAsync, String eraser, String context)
List<PropagationStatus>
deprovision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor)
String
link(AnyObjectUR anyObjectUR, String updater, String context)
List<PropagationStatus>
provision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor)
String
unlink(AnyObjectUR anyObjectUR, String updater, String context)
Pair<AnyObjectUR,List<PropagationStatus>>
update(AnyObjectUR anyObjectUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context)
-
-
-
Field Detail
-
awfAdapter
protected final AnyObjectWorkflowAdapter awfAdapter
-
propagationManager
protected final PropagationManager propagationManager
-
taskExecutor
protected final PropagationTaskExecutor taskExecutor
-
anyObjectDAO
protected final AnyObjectDAO anyObjectDAO
-
virtAttrHandler
protected final VirAttrHandler virtAttrHandler
-
-
Constructor Detail
-
DefaultAnyObjectProvisioningManager
public DefaultAnyObjectProvisioningManager(AnyObjectWorkflowAdapter awfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, AnyObjectDAO anyObjectDAO, VirAttrHandler virtAttrHandler)
-
-
Method Detail
-
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
public String unlink(AnyObjectUR anyObjectUR, String updater, String context)
- Specified by:
unlink
in interfaceProvisioningManager<AnyObjectCR,AnyObjectUR>
-
link
public String link(AnyObjectUR anyObjectUR, String updater, String context)
- 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>
-
-