Package org.apache.syncope.core.logic
Class GroupLogic
- java.lang.Object
- 
- org.apache.syncope.core.logic.AbstractLogic<A>
- 
- org.apache.syncope.core.logic.AbstractResourceAssociator<TO>
- 
- org.apache.syncope.core.logic.AbstractAnyLogic<GroupTO,GroupCR,GroupUR>
- 
- org.apache.syncope.core.logic.GroupLogic
 
 
 
 
- 
 public class GroupLogic extends AbstractAnyLogic<GroupTO,GroupCR,GroupUR> Note that this controller does not extendAbstractTransactionalLogic, hence does not provide any Spring's Transactional logic at class level.
- 
- 
Field SummaryFields Modifier and Type Field Description protected GroupDataBinderbinderprotected EntityFactoryentityFactoryprotected GroupDAOgroupDAOprotected ImplementationDAOimplementationDAOprotected JobManagerjobManagerprotected GroupProvisioningManagerprovisioningManagerprotected SchedulerFactoryBeanschedulerprotected AnySearchDAOsearchDAOprotected SecurityPropertiessecurityPropertiesprotected TaskDAOtaskDAOprotected TaskDataBindertaskDataBinderprotected UserDAOuserDAO- 
Fields inherited from class org.apache.syncope.core.logic.AbstractAnyLogicanyTypeDAO, perContextActions, realmDAO, REST_CONTEXT, templateUtils
 - 
Fields inherited from class org.apache.syncope.core.logic.AbstractLogicLOG
 
- 
 - 
Constructor SummaryConstructors Constructor Description GroupLogic(RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils, UserDAO userDAO, GroupDAO groupDAO, SecurityProperties securityProperties, AnySearchDAO searchDAO, ImplementationDAO implementationDAO, TaskDAO taskDAO, GroupDataBinder binder, GroupProvisioningManager provisioningManager, TaskDataBinder taskDataBinder, JobManager jobManager, SchedulerFactoryBean scheduler, EntityFactory entityFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvisioningResult<GroupTO>assign(String key, Collection<String> resources, boolean changepwd, String password, boolean nullPriorityAsync)ProvisioningResult<GroupTO>create(GroupCR createReq, boolean nullPriorityAsync)ProvisioningResult<GroupTO>delete(String key, boolean nullPriorityAsync)ProvisioningResult<GroupTO>deprovision(String key, List<String> resources, boolean nullPriorityAsync)GroupTOlink(String key, Collection<String> resources)List<GroupTO>own()ProvisioningResult<GroupTO>provision(String key, List<String> resources, boolean changePwd, String password, boolean nullPriorityAsync)ExecTOprovisionMembers(String key, ProvisionAction action)GroupTOread(String key)protected GroupTOresolveReference(Method method, Object... args)Pair<Integer,List<GroupTO>>search(SearchCond searchCond, int page, int size, List<OrderByClause> orderBy, String realm, boolean recursive, boolean details)ProvisioningResult<GroupTO>unassign(String key, Collection<String> resources, boolean nullPriorityAsync)GroupTOunlink(String key, Collection<String> resources)ProvisioningResult<GroupTO>update(GroupUR req, boolean nullPriorityAsync)protected GroupTOupdateChecks(String key)- 
Methods inherited from class org.apache.syncope.core.logic.AbstractAnyLogicafterCreate, afterDelete, afterUpdate, beforeCreate, beforeDelete, beforeUpdate, getActions
 - 
Methods inherited from class org.apache.syncope.core.logic.AbstractLogicresolveBeanReference
 
- 
 
- 
- 
- 
Field Detail- 
userDAOprotected final UserDAO userDAO 
 - 
groupDAOprotected final GroupDAO groupDAO 
 - 
securityPropertiesprotected final SecurityProperties securityProperties 
 - 
searchDAOprotected final AnySearchDAO searchDAO 
 - 
implementationDAOprotected final ImplementationDAO implementationDAO 
 - 
taskDAOprotected final TaskDAO taskDAO 
 - 
binderprotected final GroupDataBinder binder 
 - 
provisioningManagerprotected final GroupProvisioningManager provisioningManager 
 - 
taskDataBinderprotected final TaskDataBinder taskDataBinder 
 - 
jobManagerprotected final JobManager jobManager 
 - 
schedulerprotected final SchedulerFactoryBean scheduler 
 - 
entityFactoryprotected final EntityFactory entityFactory 
 
- 
 - 
Constructor Detail- 
GroupLogicpublic GroupLogic(RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils, UserDAO userDAO, GroupDAO groupDAO, SecurityProperties securityProperties, AnySearchDAO searchDAO, ImplementationDAO implementationDAO, TaskDAO taskDAO, GroupDataBinder binder, GroupProvisioningManager provisioningManager, TaskDataBinder taskDataBinder, JobManager jobManager, SchedulerFactoryBean scheduler, EntityFactory entityFactory) 
 
- 
 - 
Method Detail- 
read@PreAuthorize("hasRole(\'GROUP_READ\')") @Transactional(readOnly=true) public GroupTO read(String key) - Specified by:
- readin class- AbstractAnyLogic<GroupTO,GroupCR,GroupUR>
 
 - 
own@PreAuthorize("isAuthenticated() and not(hasRole(\'ANONYMOUS\'))") @Transactional(readOnly=true) public List<GroupTO> own() 
 - 
search@PreAuthorize("hasRole(\'GROUP_SEARCH\')") @Transactional(readOnly=true) public Pair<Integer,List<GroupTO>> search(SearchCond searchCond, int page, int size, List<OrderByClause> orderBy, String realm, boolean recursive, boolean details) - Specified by:
- searchin class- AbstractAnyLogic<GroupTO,GroupCR,GroupUR>
 
 - 
create@PreAuthorize("hasRole(\'GROUP_CREATE\')") public ProvisioningResult<GroupTO> create(GroupCR createReq, boolean nullPriorityAsync) 
 - 
update@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public ProvisioningResult<GroupTO> update(GroupUR req, boolean nullPriorityAsync) - Specified by:
- updatein class- AbstractAnyLogic<GroupTO,GroupCR,GroupUR>
 
 - 
delete@PreAuthorize("hasRole(\'GROUP_DELETE\')") public ProvisioningResult<GroupTO> delete(String key, boolean nullPriorityAsync) - Specified by:
- deletein class- AbstractAnyLogic<GroupTO,GroupCR,GroupUR>
 
 - 
unlink@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public GroupTO unlink(String key, Collection<String> resources) - Specified by:
- unlinkin class- AbstractResourceAssociator<GroupTO>
 
 - 
link@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public GroupTO link(String key, Collection<String> resources) - Specified by:
- linkin class- AbstractResourceAssociator<GroupTO>
 
 - 
unassign@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public ProvisioningResult<GroupTO> unassign(String key, Collection<String> resources, boolean nullPriorityAsync) - Specified by:
- unassignin class- AbstractResourceAssociator<GroupTO>
 
 - 
assign@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public ProvisioningResult<GroupTO> assign(String key, Collection<String> resources, boolean changepwd, String password, boolean nullPriorityAsync) - Specified by:
- assignin class- AbstractResourceAssociator<GroupTO>
 
 - 
deprovision@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public ProvisioningResult<GroupTO> deprovision(String key, List<String> resources, boolean nullPriorityAsync) - Specified by:
- deprovisionin class- AbstractResourceAssociator<GroupTO>
 
 - 
provision@PreAuthorize("hasRole(\'GROUP_UPDATE\')") public ProvisioningResult<GroupTO> provision(String key, List<String> resources, boolean changePwd, String password, boolean nullPriorityAsync) - Specified by:
- provisionin class- AbstractResourceAssociator<GroupTO>
 
 - 
provisionMembers@PreAuthorize("hasRole(\'TASK_CREATE\') and hasRole(\'TASK_EXECUTE\')") @Transactional public ExecTO provisionMembers(String key, ProvisionAction action) 
 - 
resolveReferenceprotected GroupTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
- resolveReferencein class- AbstractLogic<GroupTO>
- Throws:
- UnresolvedReferenceException
 
 
- 
 
-