Package org.apache.syncope.core.logic
Class AnyTypeLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<AnyTypeTO>
-
- org.apache.syncope.core.logic.AnyTypeLogic
-
public class AnyTypeLogic extends AbstractTransactionalLogic<AnyTypeTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyObjectDAO
anyObjectDAO
protected AnyTypeDAO
anyTypeDAO
protected AnyTypeDataBinder
binder
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description AnyTypeLogic(AnyTypeDataBinder binder, AnyTypeDAO anyTypeDAO, AnyObjectDAO anyObjectDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnyTypeTO
create(AnyTypeTO anyTypeTO)
AnyTypeTO
delete(String key)
List<AnyTypeTO>
list()
AnyTypeTO
read(String key)
protected AnyTypeTO
resolveReference(Method method, Object... args)
void
update(AnyTypeTO anyTypeTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final AnyTypeDataBinder binder
-
anyTypeDAO
protected final AnyTypeDAO anyTypeDAO
-
anyObjectDAO
protected final AnyObjectDAO anyObjectDAO
-
-
Constructor Detail
-
AnyTypeLogic
public AnyTypeLogic(AnyTypeDataBinder binder, AnyTypeDAO anyTypeDAO, AnyObjectDAO anyObjectDAO)
-
-
Method Detail
-
read
@PreAuthorize("hasRole(\'ANYTYPE_READ\')") @Transactional(readOnly=true) public AnyTypeTO read(String key)
-
list
@PreAuthorize("hasRole(\'ANYTYPE_LIST\')") @Transactional(readOnly=true) public List<AnyTypeTO> list()
-
create
@PreAuthorize("hasRole(\'ANYTYPE_CREATE\')") public AnyTypeTO create(AnyTypeTO anyTypeTO)
-
update
@PreAuthorize("hasRole(\'ANYTYPE_UPDATE\')") public void update(AnyTypeTO anyTypeTO)
-
delete
@PreAuthorize("hasRole(\'ANYTYPE_DELETE\')") public AnyTypeTO delete(String key)
-
resolveReference
protected AnyTypeTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<AnyTypeTO>
- Throws:
UnresolvedReferenceException
-
-