Package org.apache.syncope.core.logic
Class ImplementationLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<ImplementationTO>
-
- org.apache.syncope.core.logic.ImplementationLogic
-
public class ImplementationLogic extends AbstractTransactionalLogic<ImplementationTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected ImplementationDataBinder
binder
protected ImplementationDAO
implementationDAO
protected NotificationDAO
notificationDAO
protected PlainSchemaDAO
plainSchemaDAO
protected PolicyDAO
policyDAO
protected RealmDAO
realmDAO
protected ReportDAO
reportDAO
protected ExternalResourceDAO
resourceDAO
protected TaskDAO
taskDAO
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description ImplementationLogic(ImplementationDataBinder binder, ImplementationDAO implementationDAO, ReportDAO reportDAO, PolicyDAO policyDAO, ExternalResourceDAO resourceDAO, TaskDAO taskDAO, RealmDAO realmDAO, PlainSchemaDAO plainSchemaDAO, NotificationDAO notificationDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkType(String type)
ImplementationTO
create(ImplementationTO implementationTO)
void
delete(String type, String key)
List<ImplementationTO>
list(String type)
ImplementationTO
read(String type, String key)
protected ImplementationTO
resolveReference(Method method, Object... args)
ImplementationTO
update(ImplementationTO implementationTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final ImplementationDataBinder binder
-
implementationDAO
protected final ImplementationDAO implementationDAO
-
reportDAO
protected final ReportDAO reportDAO
-
policyDAO
protected final PolicyDAO policyDAO
-
resourceDAO
protected final ExternalResourceDAO resourceDAO
-
taskDAO
protected final TaskDAO taskDAO
-
realmDAO
protected final RealmDAO realmDAO
-
plainSchemaDAO
protected final PlainSchemaDAO plainSchemaDAO
-
notificationDAO
protected final NotificationDAO notificationDAO
-
-
Constructor Detail
-
ImplementationLogic
public ImplementationLogic(ImplementationDataBinder binder, ImplementationDAO implementationDAO, ReportDAO reportDAO, PolicyDAO policyDAO, ExternalResourceDAO resourceDAO, TaskDAO taskDAO, RealmDAO realmDAO, PlainSchemaDAO plainSchemaDAO, NotificationDAO notificationDAO)
-
-
Method Detail
-
checkType
protected void checkType(String type)
-
list
@PreAuthorize("hasRole(\'IMPLEMENTATION_LIST\')") @Transactional(readOnly=true) public List<ImplementationTO> list(String type)
-
read
@PreAuthorize("hasRole(\'IMPLEMENTATION_READ\')") @Transactional(readOnly=true) public ImplementationTO read(String type, String key)
-
create
@PreAuthorize("hasRole(\'IMPLEMENTATION_CREATE\')") public ImplementationTO create(ImplementationTO implementationTO)
-
update
@PreAuthorize("hasRole(\'IMPLEMENTATION_UPDATE\')") public ImplementationTO update(ImplementationTO implementationTO)
-
delete
@PreAuthorize("hasRole(\'IMPLEMENTATION_DELETE\')") public void delete(String type, String key)
-
resolveReference
protected ImplementationTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<ImplementationTO>
- Throws:
UnresolvedReferenceException
-
-