Package org.apache.syncope.core.logic
Class AttrRepoLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<AttrRepoTO>
-
- org.apache.syncope.core.logic.AttrRepoLogic
-
public class AttrRepoLogic extends AbstractTransactionalLogic<AttrRepoTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected AttrRepoDAO
attrRepoDAO
protected AttrRepoDataBinder
binder
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description AttrRepoLogic(AttrRepoDataBinder binder, AttrRepoDAO attrRepoDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttrRepoTO
create(AttrRepoTO attrRepoTO)
AttrRepoTO
delete(String key)
List<AttrRepoTO>
list()
AttrRepoTO
read(String key)
protected AttrRepoTO
resolveReference(Method method, Object... args)
AttrRepoTO
update(AttrRepoTO attrRepoTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final AttrRepoDataBinder binder
-
attrRepoDAO
protected final AttrRepoDAO attrRepoDAO
-
-
Constructor Detail
-
AttrRepoLogic
public AttrRepoLogic(AttrRepoDataBinder binder, AttrRepoDAO attrRepoDAO)
-
-
Method Detail
-
create
@PreAuthorize("hasRole(\'ATTR_REPO_CREATE\')") public AttrRepoTO create(AttrRepoTO attrRepoTO)
-
update
@PreAuthorize("hasRole(\'ATTR_REPO_UPDATE\')") public AttrRepoTO update(AttrRepoTO attrRepoTO)
-
list
@PreAuthorize("hasRole(\'ATTR_REPO_LIST\') or hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<AttrRepoTO> list()
-
read
@PreAuthorize("hasRole(\'ATTR_REPO_READ\')") @Transactional(readOnly=true) public AttrRepoTO read(String key)
-
delete
@PreAuthorize("hasRole(\'ATTR_REPO_DELETE\')") public AttrRepoTO delete(String key)
-
resolveReference
protected AttrRepoTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<AttrRepoTO>
- Throws:
UnresolvedReferenceException
-
-