public abstract class AbstractAnyLogic<TO extends AnyTO,P extends AnyPatch> extends AbstractResourceAssociator<TO>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
protected Map<String,LogicActions> |
perContextActions |
Constructor and Description |
---|
AbstractAnyLogic() |
Modifier and Type | Method and Description |
---|---|
protected 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<TO,List<LogicActions>> |
beforeCreate(TO input) |
protected Pair<TO,List<LogicActions>> |
beforeDelete(TO input) |
protected Pair<P,List<LogicActions>> |
beforeUpdate(P input,
String realmPath) |
abstract ProvisioningResult<TO> |
delete(String key,
boolean nullPriorityAsync) |
protected List<LogicActions> |
getActions(Realm realm) |
abstract TO |
read(String key) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected abstract T |
resolveReference(Method method,
Object... args) |
abstract Pair<Integer,List<TO>> |
search(SearchCond searchCond,
int page,
int size,
List<OrderByClause> orderBy,
String realm,
boolean details) |
abstract ProvisioningResult<TO> |
update(P anyPatch,
boolean nullPriorityAsync) |
assign, deprovision, link, provision, unassign, unlink
protected final Map<String,LogicActions> perContextActions
protected static final org.slf4j.Logger LOG
protected List<LogicActions> getActions(Realm realm)
protected Pair<TO,List<LogicActions>> beforeCreate(TO input)
protected Pair<TO,List<LogicActions>> beforeDelete(TO input)
protected ProvisioningResult<TO> afterCreate(TO input, List<PropagationStatus> statuses, List<LogicActions> actions)
protected ProvisioningResult<TO> afterUpdate(TO input, List<PropagationStatus> statuses, List<LogicActions> actions)
protected ProvisioningResult<TO> afterDelete(TO input, List<PropagationStatus> statuses, List<LogicActions> actions)
public abstract Pair<Integer,List<TO>> search(SearchCond searchCond, int page, int size, List<OrderByClause> orderBy, String realm, boolean details)
public abstract ProvisioningResult<TO> update(P anyPatch, boolean nullPriorityAsync)
public abstract ProvisioningResult<TO> delete(String key, boolean nullPriorityAsync)
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
method
- method.args
- method arguments.UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.protected abstract T resolveReference(Method method, Object... args) throws UnresolvedReferenceException
UnresolvedReferenceException
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.