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 ImplementationDataBinderbinderprotected ImplementationDAOimplementationDAOprotected NotificationDAOnotificationDAOprotected PlainSchemaDAOplainSchemaDAOprotected PolicyDAOpolicyDAOprotected RealmDAOrealmDAOprotected ReportDAOreportDAOprotected ExternalResourceDAOresourceDAOprotected TaskDAOtaskDAO- 
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 voidcheckType(String type)ImplementationTOcreate(ImplementationTO implementationTO)voiddelete(String type, String key)List<ImplementationTO>list(String type)ImplementationTOread(String type, String key)protected ImplementationTOresolveReference(Method method, Object... args)ImplementationTOupdate(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:
 resolveReferencein classAbstractLogic<ImplementationTO>- Throws:
 UnresolvedReferenceException
 
 - 
 
 -