Package org.apache.syncope.core.logic
Class AbstractAnyLogic<TO extends AnyTO,C extends AnyCR,U extends AnyUR>
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<TO>
org.apache.syncope.core.logic.AbstractResourceAssociator<TO>
org.apache.syncope.core.logic.AbstractAnyLogic<TO,C,U>
- Direct Known Subclasses:
AnyObjectLogic
,GroupLogic
,UserLogic
public abstract class AbstractAnyLogic<TO extends AnyTO,C extends AnyCR,U extends AnyUR>
extends AbstractResourceAssociator<TO>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyTypeDAO
protected final Map
<String, LogicActions> protected final RealmSearchDAO
protected static final String
protected final TemplateUtils
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionAbstractAnyLogic
(RealmSearchDAO realmSearchDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils) -
Method Summary
Modifier and TypeMethodDescriptionprotected ProvisioningResult
<TO> afterCreate
(TO input, List<PropagationStatus> statuses, List<LogicActions> actions) protected ProvisioningResult
<TO> afterDelete
(TO input, List<PropagationStatus> statuses, List<LogicActions> actions) protected ProvisioningResult
<TO> afterUpdate
(TO input, List<PropagationStatus> statuses, List<LogicActions> actions) protected Pair
<C, List<LogicActions>> beforeCreate
(C input) protected Pair
<TO, List<LogicActions>> beforeDelete
(TO input) protected Pair
<U, List<LogicActions>> beforeUpdate
(U input, String realmPath) abstract ProvisioningResult
<TO> protected List
<LogicActions> getActions
(Realm realm) abstract TO
abstract org.springframework.data.domain.Page
<TO> search
(SearchCond searchCond, org.springframework.data.domain.Pageable pageable, String realm, boolean recursive, boolean details) abstract ProvisioningResult
<TO> Methods inherited from class org.apache.syncope.core.logic.AbstractResourceAssociator
assign, deprovision, link, provision, unassign, unlink
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference, resolveReference
-
Field Details
-
REST_CONTEXT
- See Also:
-
realmSearchDAO
-
anyTypeDAO
-
templateUtils
-
perContextActions
-
-
Constructor Details
-
AbstractAnyLogic
public AbstractAnyLogic(RealmSearchDAO realmSearchDAO, AnyTypeDAO anyTypeDAO, TemplateUtils templateUtils)
-
-
Method Details
-
getActions
-
beforeCreate
-
beforeUpdate
-
beforeDelete
-
afterCreate
protected ProvisioningResult<TO> afterCreate(TO input, List<PropagationStatus> statuses, List<LogicActions> actions) -
afterUpdate
protected ProvisioningResult<TO> afterUpdate(TO input, List<PropagationStatus> statuses, List<LogicActions> actions) -
afterDelete
protected ProvisioningResult<TO> afterDelete(TO input, List<PropagationStatus> statuses, List<LogicActions> actions) -
read
-
search
public abstract org.springframework.data.domain.Page<TO> search(SearchCond searchCond, org.springframework.data.domain.Pageable pageable, String realm, boolean recursive, boolean details) -
update
-
delete
-