Package org.apache.syncope.core.logic
Class AnyObjectLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AnyObjectTO>
org.apache.syncope.core.logic.AbstractResourceAssociator<AnyObjectTO>
org.apache.syncope.core.logic.AbstractAnyLogic<AnyObjectTO,AnyObjectCR,AnyObjectUR>
org.apache.syncope.core.logic.AnyObjectLogic
Note that this controller does not extend
AbstractTransactionalLogic
, hence does not provide any
Spring's Transactional logic at class level.-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyObjectDAO
protected final AnyObjectDataBinder
protected final AnyObjectProvisioningManager
protected final AnySearchDAO
Fields inherited from class org.apache.syncope.core.logic.AbstractAnyLogic
anyTypeDAO, perContextActions, realmSearchDAO, REST_CONTEXT, templateUtils
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionAnyObjectLogic
(RealmSearchDAO realmSearchDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, AnyObjectDataBinder binder, AnyObjectProvisioningManager provisioningManager) -
Method Summary
Modifier and TypeMethodDescriptionassign
(String key, Collection<String> resources, boolean changepwd, String password, boolean nullPriorityAsync) create
(AnyObjectCR createReq, boolean nullPriorityAsync) deprovision
(String key, List<String> resources, boolean nullPriorityAsync) groups
(AnyObjectTO anyObjectTO) link
(String key, Collection<String> resources) provision
(String key, List<String> resources, boolean changePwd, String password, boolean nullPriorityAsync) protected AnyObjectTO
resolveReference
(Method method, Object... args) org.springframework.data.domain.Page
<AnyObjectTO> search
(SearchCond searchCond, org.springframework.data.domain.Pageable pageable, String realm, boolean recursive, boolean details) unassign
(String key, Collection<String> resources, boolean nullPriorityAsync) unlink
(String key, Collection<String> resources) update
(AnyObjectUR req, boolean nullPriorityAsync) protected void
updateChecks
(String key) Methods inherited from class org.apache.syncope.core.logic.AbstractAnyLogic
afterCreate, afterDelete, afterUpdate, beforeCreate, beforeDelete, beforeUpdate, getActions
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
anyObjectDAO
-
searchDAO
-
binder
-
provisioningManager
-
-
Constructor Details
-
AnyObjectLogic
public AnyObjectLogic(RealmSearchDAO realmSearchDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, AnyObjectDataBinder binder, AnyObjectProvisioningManager provisioningManager)
-
-
Method Details
-
read
- Specified by:
read
in classAbstractAnyLogic<AnyObjectTO,
AnyObjectCR, AnyObjectUR>
-
read
-
search
@Transactional(readOnly=true) public org.springframework.data.domain.Page<AnyObjectTO> search(SearchCond searchCond, org.springframework.data.domain.Pageable pageable, String realm, boolean recursive, boolean details) - Specified by:
search
in classAbstractAnyLogic<AnyObjectTO,
AnyObjectCR, AnyObjectUR>
-
create
-
groups
-
update
- Specified by:
update
in classAbstractAnyLogic<AnyObjectTO,
AnyObjectCR, AnyObjectUR>
-
delete
- Specified by:
delete
in classAbstractAnyLogic<AnyObjectTO,
AnyObjectCR, AnyObjectUR>
-
updateChecks
-
unlink
- Specified by:
unlink
in classAbstractResourceAssociator<AnyObjectTO>
-
link
- Specified by:
link
in classAbstractResourceAssociator<AnyObjectTO>
-
unassign
public ProvisioningResult<AnyObjectTO> unassign(String key, Collection<String> resources, boolean nullPriorityAsync) - Specified by:
unassign
in classAbstractResourceAssociator<AnyObjectTO>
-
assign
public ProvisioningResult<AnyObjectTO> assign(String key, Collection<String> resources, boolean changepwd, String password, boolean nullPriorityAsync) - Specified by:
assign
in classAbstractResourceAssociator<AnyObjectTO>
-
deprovision
public ProvisioningResult<AnyObjectTO> deprovision(String key, List<String> resources, boolean nullPriorityAsync) - Specified by:
deprovision
in classAbstractResourceAssociator<AnyObjectTO>
-
provision
public ProvisioningResult<AnyObjectTO> provision(String key, List<String> resources, boolean changePwd, String password, boolean nullPriorityAsync) - Specified by:
provision
in classAbstractResourceAssociator<AnyObjectTO>
-
resolveReference
protected AnyObjectTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<AnyObjectTO>
- Throws:
UnresolvedReferenceException
-