Package org.apache.syncope.core.logic
Class RelationshipTypeLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<RelationshipTypeTO>
-
- org.apache.syncope.core.logic.RelationshipTypeLogic
-
public class RelationshipTypeLogic extends AbstractTransactionalLogic<RelationshipTypeTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected RelationshipTypeDataBinderbinderprotected RelationshipTypeDAOrelationshipTypeDAO-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description RelationshipTypeLogic(RelationshipTypeDataBinder binder, RelationshipTypeDAO relationshipTypeDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipTypeTOcreate(RelationshipTypeTO relationshipTypeTO)RelationshipTypeTOdelete(String key)List<RelationshipTypeTO>list()RelationshipTypeTOread(String key)protected RelationshipTypeTOresolveReference(Method method, Object... args)RelationshipTypeTOupdate(RelationshipTypeTO relationshipTypeTO)-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final RelationshipTypeDataBinder binder
-
relationshipTypeDAO
protected final RelationshipTypeDAO relationshipTypeDAO
-
-
Constructor Detail
-
RelationshipTypeLogic
public RelationshipTypeLogic(RelationshipTypeDataBinder binder, RelationshipTypeDAO relationshipTypeDAO)
-
-
Method Detail
-
read
@PreAuthorize("hasRole(\'RELATIONSHIPTYPE_READ\')") @Transactional(readOnly=true) public RelationshipTypeTO read(String key)
-
list
@PreAuthorize("hasRole(\'RELATIONSHIPTYPE_LIST\')") @Transactional(readOnly=true) public List<RelationshipTypeTO> list()
-
create
@PreAuthorize("hasRole(\'RELATIONSHIPTYPE_CREATE\')") public RelationshipTypeTO create(RelationshipTypeTO relationshipTypeTO)
-
update
@PreAuthorize("hasRole(\'RELATIONSHIPTYPE_UPDATE\')") public RelationshipTypeTO update(RelationshipTypeTO relationshipTypeTO)
-
delete
@PreAuthorize("hasRole(\'RELATIONSHIPTYPE_DELETE\')") public RelationshipTypeTO delete(String key)
-
resolveReference
protected RelationshipTypeTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReferencein classAbstractLogic<RelationshipTypeTO>- Throws:
UnresolvedReferenceException
-
-