Package org.apache.syncope.core.logic
Class DelegationLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<DelegationTO>
-
- org.apache.syncope.core.logic.DelegationLogic
-
public class DelegationLogic extends AbstractTransactionalLogic<DelegationTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected DelegationDataBinder
binder
protected DelegationDAO
delegationDAO
protected UserDAO
userDAO
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description DelegationLogic(DelegationDataBinder binder, DelegationDAO delegationDAO, UserDAO userDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegationTO
create(DelegationTO delegationTO)
DelegationTO
delete(String key)
List<DelegationTO>
list()
DelegationTO
read(String key)
protected DelegationTO
resolveReference(Method method, Object... args)
protected void
securityChecks(String delegating, String entitlement)
DelegationTO
update(DelegationTO delegationTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final DelegationDataBinder binder
-
delegationDAO
protected final DelegationDAO delegationDAO
-
userDAO
protected final UserDAO userDAO
-
-
Constructor Detail
-
DelegationLogic
public DelegationLogic(DelegationDataBinder binder, DelegationDAO delegationDAO, UserDAO userDAO)
-
-
Method Detail
-
read
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public DelegationTO read(String key)
-
list
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public List<DelegationTO> list()
-
create
@PreAuthorize("isAuthenticated()") public DelegationTO create(DelegationTO delegationTO)
-
update
@PreAuthorize("isAuthenticated()") public DelegationTO update(DelegationTO delegationTO)
-
delete
@PreAuthorize("isAuthenticated()") public DelegationTO delete(String key)
-
resolveReference
protected DelegationTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<DelegationTO>
- Throws:
UnresolvedReferenceException
-
-