Class DefaultGroupProvisioningManager
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.DefaultGroupProvisioningManager
-
- All Implemented Interfaces:
GroupProvisioningManager
,ProvisioningManager<GroupCR,GroupUR>
public class DefaultGroupProvisioningManager extends Object implements GroupProvisioningManager
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupDAO
groupDAO
protected GroupDataBinder
groupDataBinder
protected GroupWorkflowAdapter
gwfAdapter
protected PropagationManager
propagationManager
protected PropagationTaskExecutor
taskExecutor
protected VirAttrHandler
virtAttrHandler
-
Constructor Summary
Constructors Constructor Description DefaultGroupProvisioningManager(GroupWorkflowAdapter gwfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, GroupDataBinder groupDataBinder, GroupDAO groupDAO, VirAttrHandler virtAttrHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<String,List<PropagationStatus>>
create(GroupCR groupCR, boolean nullPriorityAsync, String creator, String context)
Pair<String,List<PropagationStatus>>
create(GroupCR groupCR, Map<String,String> groupOwnerMap, 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(GroupUR groupUR, String updater, String context)
List<PropagationStatus>
provision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor)
String
unlink(GroupUR groupUR, String updater, String context)
Pair<GroupUR,List<PropagationStatus>>
update(GroupUR groupUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context)
-
-
-
Field Detail
-
gwfAdapter
protected final GroupWorkflowAdapter gwfAdapter
-
propagationManager
protected final PropagationManager propagationManager
-
taskExecutor
protected final PropagationTaskExecutor taskExecutor
-
groupDataBinder
protected final GroupDataBinder groupDataBinder
-
groupDAO
protected final GroupDAO groupDAO
-
virtAttrHandler
protected final VirAttrHandler virtAttrHandler
-
-
Constructor Detail
-
DefaultGroupProvisioningManager
public DefaultGroupProvisioningManager(GroupWorkflowAdapter gwfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, GroupDataBinder groupDataBinder, GroupDAO groupDAO, VirAttrHandler virtAttrHandler)
-
-
Method Detail
-
create
public Pair<String,List<PropagationStatus>> create(GroupCR groupCR, boolean nullPriorityAsync, String creator, String context)
- Specified by:
create
in interfaceProvisioningManager<GroupCR,GroupUR>
-
create
@Transactional(propagation=REQUIRES_NEW) public Pair<String,List<PropagationStatus>> create(GroupCR groupCR, Map<String,String> groupOwnerMap, Set<String> excludedResources, boolean nullPriorityAsync, String creator, String context)
- Specified by:
create
in interfaceGroupProvisioningManager
-
update
@Transactional(propagation=REQUIRES_NEW) public Pair<GroupUR,List<PropagationStatus>> update(GroupUR groupUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context)
- Specified by:
update
in interfaceProvisioningManager<GroupCR,GroupUR>
-
delete
public List<PropagationStatus> delete(String key, boolean nullPriorityAsync, String eraser, String context)
- Specified by:
delete
in interfaceProvisioningManager<GroupCR,GroupUR>
-
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<GroupCR,GroupUR>
-
link
public String link(GroupUR groupUR, String updater, String context)
- Specified by:
link
in interfaceProvisioningManager<GroupCR,GroupUR>
-
unlink
public String unlink(GroupUR groupUR, String updater, String context)
- Specified by:
unlink
in interfaceProvisioningManager<GroupCR,GroupUR>
-
provision
public List<PropagationStatus> provision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor)
- Specified by:
provision
in interfaceGroupProvisioningManager
-
deprovision
public List<PropagationStatus> deprovision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor)
- Specified by:
deprovision
in interfaceProvisioningManager<GroupCR,GroupUR>
-
-