Package org.apache.syncope.core.logic
Class AnyObjectLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AnyObjectTO>
org.apache.syncope.core.logic.AnyObjectLogic
- All Implemented Interfaces:
AnyCRUDLogicOp<AnyObjectTO,,AnyObjectCR, AnyObjectUR> AnyObjectLogicOp
Note that this controller does not extend
AbstractTransactionalLogic, hence does not provide any
Spring's Transactional logic at class level.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyObjectDAOprotected final AnyTypeDAOprotected final AnyObjectDataBinderprotected final Map<String, LogicActions> protected final AnyObjectProvisioningManagerprotected final RealmSearchDAOprotected static final Stringprotected final AnySearchDAOprotected final TemplateUtilsFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionAnyObjectLogic(RealmSearchDAO realmSearchDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, AnyObjectDataBinder binder, AnyObjectProvisioningManager provisioningManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected ProvisioningResult<AnyObjectTO> afterCreate(AnyObjectTO input, List<PropagationStatus> statuses, List<LogicActions> actions) protected ProvisioningResult<AnyObjectTO> afterDelete(AnyObjectTO input, List<PropagationStatus> statuses, List<LogicActions> actions) protected ProvisioningResult<AnyObjectTO> afterUpdate(AnyObjectTO input, List<PropagationStatus> statuses, List<LogicActions> actions) assign(String key, Collection<String> resources, boolean changepwd, String password, boolean nullPriorityAsync) protected org.apache.syncope.core.logic.AbstractAnyLogic.BeforeResult<AnyObjectCR> beforeCreate(AnyObjectCR input) protected org.apache.syncope.core.logic.AbstractAnyLogic.BeforeResult<AnyObjectTO> beforeDelete(AnyObjectTO input) protected org.apache.syncope.core.logic.AbstractAnyLogic.BeforeResult<AnyObjectUR> beforeUpdate(AnyObjectUR input, String realmPath) create(AnyObjectCR createReq, boolean nullPriorityAsync) deprovision(String key, List<String> resources, boolean nullPriorityAsync) protected List<LogicActions> getActions(Realm realm) groups(AnyObjectTO anyObjectTO) link(String key, Collection<String> resources) provision(String key, List<String> resources, boolean changePwd, String password, boolean nullPriorityAsync) protected AnyObjectTOresolveReference(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 voidupdateChecks(String key) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
anyObjectDAO
-
searchDAO
-
binder
-
provisioningManager
-
REST_CONTEXT
- See Also:
-
realmSearchDAO
-
anyTypeDAO
-
templateUtils
-
perContextActions
-
-
Constructor Details
-
AnyObjectLogic
public AnyObjectLogic(RealmSearchDAO realmSearchDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, AnyObjectDataBinder binder, AnyObjectProvisioningManager provisioningManager)
-
-
Method Details
-
read
- Specified by:
readin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
read
- Specified by:
readin interfaceAnyObjectLogicOp
-
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:
searchin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
create
- Specified by:
createin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
groups
-
update
- Specified by:
updatein interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
delete
- Specified by:
deletein interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
updateChecks
-
unlink
- Specified by:
unlinkin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
link
- Specified by:
linkin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
unassign
public ProvisioningResult<AnyObjectTO> unassign(String key, Collection<String> resources, boolean nullPriorityAsync) - Specified by:
unassignin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
assign
public ProvisioningResult<AnyObjectTO> assign(String key, Collection<String> resources, boolean changepwd, String password, boolean nullPriorityAsync) - Specified by:
assignin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
deprovision
public ProvisioningResult<AnyObjectTO> deprovision(String key, List<String> resources, boolean nullPriorityAsync) - Specified by:
deprovisionin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
provision
public ProvisioningResult<AnyObjectTO> provision(String key, List<String> resources, boolean changePwd, String password, boolean nullPriorityAsync) - Specified by:
provisionin interfaceAnyCRUDLogicOp<AnyObjectTO,AnyObjectCR, AnyObjectUR>
-
resolveReference
protected AnyObjectTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReferencein classAbstractLogic<AnyObjectTO>- Throws:
UnresolvedReferenceException
-
getActions
-
beforeCreate
protected org.apache.syncope.core.logic.AbstractAnyLogic.BeforeResult<AnyObjectCR> beforeCreate(AnyObjectCR input) -
beforeUpdate
protected org.apache.syncope.core.logic.AbstractAnyLogic.BeforeResult<AnyObjectUR> beforeUpdate(AnyObjectUR input, String realmPath) -
beforeDelete
protected org.apache.syncope.core.logic.AbstractAnyLogic.BeforeResult<AnyObjectTO> beforeDelete(AnyObjectTO input) -
afterCreate
protected ProvisioningResult<AnyObjectTO> afterCreate(AnyObjectTO input, List<PropagationStatus> statuses, List<LogicActions> actions) -
afterUpdate
protected ProvisioningResult<AnyObjectTO> afterUpdate(AnyObjectTO input, List<PropagationStatus> statuses, List<LogicActions> actions) -
afterDelete
protected ProvisioningResult<AnyObjectTO> afterDelete(AnyObjectTO input, List<PropagationStatus> statuses, List<LogicActions> actions)
-