Package org.apache.syncope.core.logic
Class AnyTypeClassLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<AnyTypeClassTO>
-
- org.apache.syncope.core.logic.AnyTypeClassLogic
-
public class AnyTypeClassLogic extends AbstractTransactionalLogic<AnyTypeClassTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeClassDAO
anyTypeClassDAO
protected AnyTypeClassDataBinder
binder
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description AnyTypeClassLogic(AnyTypeClassDataBinder binder, AnyTypeClassDAO anyTypeClassDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnyTypeClassTO
create(AnyTypeClassTO anyTypeClassTO)
AnyTypeClassTO
delete(String key)
List<AnyTypeClassTO>
list()
AnyTypeClassTO
read(String key)
protected AnyTypeClassTO
resolveReference(Method method, Object... args)
AnyTypeClassTO
update(AnyTypeClassTO anyTypeClassTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final AnyTypeClassDataBinder binder
-
anyTypeClassDAO
protected final AnyTypeClassDAO anyTypeClassDAO
-
-
Constructor Detail
-
AnyTypeClassLogic
public AnyTypeClassLogic(AnyTypeClassDataBinder binder, AnyTypeClassDAO anyTypeClassDAO)
-
-
Method Detail
-
read
@PreAuthorize("hasRole(\'ANYTYPECLASS_READ\')") @Transactional(readOnly=true) public AnyTypeClassTO read(String key)
-
list
@PreAuthorize("hasRole(\'ANYTYPECLASS_LIST\')") @Transactional(readOnly=true) public List<AnyTypeClassTO> list()
-
create
@PreAuthorize("hasRole(\'ANYTYPECLASS_CREATE\')") public AnyTypeClassTO create(AnyTypeClassTO anyTypeClassTO)
-
update
@PreAuthorize("hasRole(\'ANYTYPECLASS_UPDATE\')") public AnyTypeClassTO update(AnyTypeClassTO anyTypeClassTO)
-
delete
@PreAuthorize("hasRole(\'ANYTYPECLASS_DELETE\')") public AnyTypeClassTO delete(String key)
-
resolveReference
protected AnyTypeClassTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<AnyTypeClassTO>
- Throws:
UnresolvedReferenceException
-
-