Package org.apache.syncope.core.logic
Class ReportLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<ReportTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<ReportTO>
org.apache.syncope.core.logic.AbstractExecutableLogic<ReportTO>
org.apache.syncope.core.logic.ReportLogic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ReportDataBinderprotected final EntityFactoryprotected final JobManagerprotected final JobStatusDAOprotected final ReportDAOprotected final ReportExecDAOprotected final SyncopeTaskSchedulerFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionReportLogic(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO, ReportDAO reportDAO, ReportExecDAO reportExecDAO, ReportDataBinder binder, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteExecution(String executionKey) deleteExecutions(String key, OffsetDateTime before, OffsetDateTime after) protected voiddoActionJob(String jobName, JobAction action) doListJobs(boolean includeCustom) voidexportExecutionResult(OutputStream os, String executionKey) getFilename(String executionKey) getReference(String jobName) list()org.springframework.data.domain.Page<ExecTO> listExecutions(String key, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) listJobs()listRecentExecutions(int max) protected ReportTOresolveReference(Method method, Object... args) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
reportDAO
-
reportExecDAO
-
binder
-
entityFactory
-
jobManager
-
scheduler
-
jobStatusDAO
-
-
Constructor Details
-
ReportLogic
public ReportLogic(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO, ReportDAO reportDAO, ReportExecDAO reportExecDAO, ReportDataBinder binder, EntityFactory entityFactory)
-
-
Method Details
-
create
-
update
-
list
@PreAuthorize("hasRole(\'REPORT_LIST\')") @Transactional(readOnly=true) public List<ReportTO> list() -
read
@PreAuthorize("hasRole(\'REPORT_READ\')") @Transactional(readOnly=true) public ReportTO read(String key) -
execute
- Specified by:
executein classAbstractExecutableLogic<ReportTO>
-
getFilename
@PreAuthorize("hasRole(\'REPORT_READ\')") @Transactional(readOnly=true) public String getFilename(String executionKey) -
exportExecutionResult
@PreAuthorize("hasRole(\'REPORT_READ\')") @Transactional(readOnly=true) public void exportExecutionResult(OutputStream os, String executionKey) -
delete
-
listExecutions
@PreAuthorize("hasRole(\'REPORT_READ\')") public org.springframework.data.domain.Page<ExecTO> listExecutions(String key, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) - Specified by:
listExecutionsin classAbstractExecutableLogic<ReportTO>
-
listRecentExecutions
- Specified by:
listRecentExecutionsin classAbstractExecutableLogic<ReportTO>
-
deleteExecution
- Specified by:
deleteExecutionin classAbstractExecutableLogic<ReportTO>
-
deleteExecutions
@PreAuthorize("hasRole(\'REPORT_DELETE\')") public List<BatchResponseItem> deleteExecutions(String key, OffsetDateTime before, OffsetDateTime after) - Specified by:
deleteExecutionsin classAbstractExecutableLogic<ReportTO>
-
getReference
-
listJobs
- Specified by:
listJobsin classAbstractExecutableLogic<ReportTO>
-
getJob
- Specified by:
getJobin classAbstractExecutableLogic<ReportTO>
-
actionJob
- Specified by:
actionJobin classAbstractExecutableLogic<ReportTO>
-
resolveReference
protected ReportTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReferencein classAbstractLogic<ReportTO>- Throws:
UnresolvedReferenceException
-
getJobTO
-
doListJobs
-
doActionJob
-