Package org.apache.syncope.core.logic
Class ApplicationLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<ApplicationTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<ApplicationTO>
org.apache.syncope.core.logic.ApplicationLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ApplicationDAO
protected final ApplicationDataBinder
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionApplicationLogic
(ApplicationDataBinder binder, ApplicationDAO applicationDAO) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ApplicationTO applicationTO) list()
readPrivilege
(String key) protected ApplicationTO
resolveReference
(Method method, Object... args) update
(ApplicationTO applicationTO) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
binder
-
applicationDAO
-
-
Constructor Details
-
ApplicationLogic
-
-
Method Details
-
read
@PreAuthorize("hasRole(\'APPLICATION_READ\')") @Transactional(readOnly=true) public ApplicationTO read(String key) -
readPrivilege
@PreAuthorize("hasRole(\'APPLICATION_READ\')") @Transactional(readOnly=true) public PrivilegeTO readPrivilege(String key) -
list
@PreAuthorize("hasRole(\'APPLICATION_LIST\')") @Transactional(readOnly=true) public List<ApplicationTO> list() -
create
@PreAuthorize("hasRole(\'APPLICATION_CREATE\')") public ApplicationTO create(ApplicationTO applicationTO) -
update
@PreAuthorize("hasRole(\'APPLICATION_UPDATE\')") public ApplicationTO update(ApplicationTO applicationTO) -
delete
-
resolveReference
protected ApplicationTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<ApplicationTO>
- Throws:
UnresolvedReferenceException
-