Package org.apache.syncope.core.logic
Class DynRealmLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<DynRealmTO>
-
- org.apache.syncope.core.logic.DynRealmLogic
-
public class DynRealmLogic extends AbstractTransactionalLogic<DynRealmTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected DynRealmDataBinder
binder
protected DynRealmDAO
dynRealmDAO
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description DynRealmLogic(DynRealmDataBinder binder, DynRealmDAO dynRealmDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynRealmTO
create(DynRealmTO dynRealmTO)
DynRealmTO
delete(String key)
List<DynRealmTO>
list()
DynRealmTO
read(String key)
protected DynRealmTO
resolveReference(Method method, Object... args)
DynRealmTO
update(DynRealmTO dynRealmTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final DynRealmDataBinder binder
-
dynRealmDAO
protected final DynRealmDAO dynRealmDAO
-
-
Constructor Detail
-
DynRealmLogic
public DynRealmLogic(DynRealmDataBinder binder, DynRealmDAO dynRealmDAO)
-
-
Method Detail
-
read
@PreAuthorize("hasRole(\'DYNREALM_READ\')") @Transactional(readOnly=true) public DynRealmTO read(String key)
-
list
@Transactional(readOnly=true) public List<DynRealmTO> list()
-
create
@PreAuthorize("hasRole(\'DYNREALM_CREATE\')") public DynRealmTO create(DynRealmTO dynRealmTO)
-
update
@PreAuthorize("hasRole(\'DYNREALM_UPDATE\')") public DynRealmTO update(DynRealmTO dynRealmTO)
-
delete
@PreAuthorize("hasRole(\'DYNREALM_DELETE\')") public DynRealmTO delete(String key)
-
resolveReference
protected DynRealmTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<DynRealmTO>
- Throws:
UnresolvedReferenceException
-
-