Package org.apache.syncope.core.logic
Class AuditLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AuditConfTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<AuditConfTO>
org.apache.syncope.core.logic.AuditLogic
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final AuditConfDAOprotected final AuditEventDAOprotected final AuditManagerprotected final AuditDataBinderprotected final EntityFactoryprotected final ImplementationLookupprotected final ExternalResourceDAOFields inherited from class org.apache.syncope.core.logic.AbstractLogicLOG
- 
Constructor SummaryConstructorsConstructorDescriptionAuditLogic(AuditConfDAO auditConfDAO, AuditEventDAO auditEventDAO, ExternalResourceDAO resourceDAO, EntityFactory entityFactory, ImplementationLookup implementationLookup, AuditDataBinder binder, AuditManager auditManager) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected static voidaddForOutcomes(Set<OpEvent> events, OpEvent.CategoryType type, String category, String subcategory, String op) confs()voidcreate(AuditEventTO eventTO) voiddeleteConf(String key) events()protected AuditConfTOresolveReference(Method method, Object... args) org.springframework.data.domain.Page<AuditEventTO> search(String entityKey, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome result, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) voidsetConf(AuditConfTO auditTO) Methods inherited from class org.apache.syncope.core.logic.AbstractLogicresolveBeanReference
- 
Field Details- 
EVENTS
- 
auditConfDAO
- 
auditEventDAO
- 
resourceDAO
- 
entityFactory
- 
implementationLookup
- 
binder
- 
auditManager
 
- 
- 
Constructor Details- 
AuditLogicpublic AuditLogic(AuditConfDAO auditConfDAO, AuditEventDAO auditEventDAO, ExternalResourceDAO resourceDAO, EntityFactory entityFactory, ImplementationLookup implementationLookup, AuditDataBinder binder, AuditManager auditManager) 
 
- 
- 
Method Details- 
addForOutcomes
- 
confs@PreAuthorize("hasRole(\'AUDIT_LIST\')") @Transactional(readOnly=true) public List<AuditConfTO> confs()
- 
getConf@PreAuthorize("hasRole(\'AUDIT_READ\')") @Transactional(readOnly=true) public AuditConfTO getConf(String key) 
- 
setConf
- 
deleteConf
- 
events@PreAuthorize("hasRole(\'AUDIT_LIST\') or hasRole(\'NOTIFICATION_LIST\')") public List<OpEvent> events()
- 
search@PreAuthorize("hasRole(\'AUDIT_SEARCH\')") @Transactional(readOnly=true) public org.springframework.data.domain.Page<AuditEventTO> search(String entityKey, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome result, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) 
- 
create
- 
resolveReferenceprotected AuditConfTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
- resolveReferencein class- AbstractLogic<AuditConfTO>
- Throws:
- UnresolvedReferenceException
 
 
-