Class ReportServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.AbstractExecutableService
org.apache.syncope.core.rest.cxf.service.ReportServiceImpl
- All Implemented Interfaces:
ExecutableService,JAXRSService,ReportService
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfoFields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new report.voidDeletes report with matching key.exportExecutionResult(String executionKey) Exports the report execution with matching key in the requested format.protected AbstractExecutableLogic<?> list()Returns a list of all existing reports.Returns report with matching key.voidUpdates report with matching key.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractExecutableService
actionJob, deleteExecution, deleteExecutions, execute, getJob, listExecutions, listJobs, listRecentExecutionsMethods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sortMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.syncope.common.rest.api.service.ExecutableService
actionJob, deleteExecution, deleteExecutions, execute, getJob, listExecutions, listJobs, listRecentExecutions
-
Field Details
-
logic
-
-
Constructor Details
-
ReportServiceImpl
-
-
Method Details
-
getExecutableLogic
- Specified by:
getExecutableLogicin classAbstractExecutableService
-
create
Description copied from interface:ReportServiceCreates a new report.- Specified by:
createin interfaceReportService- Parameters:
reportTO- report to be created- Returns:
- Response object featuring Location header of created report
-
update
Description copied from interface:ReportServiceUpdates report with matching key.- Specified by:
updatein interfaceReportService- Parameters:
reportTO- report to be stored
-
list
Description copied from interface:ReportServiceReturns a list of all existing reports.- Specified by:
listin interfaceReportService- Returns:
- paged list of existing reports matching the given query
-
read
Description copied from interface:ReportServiceReturns report with matching key.- Specified by:
readin interfaceReportService- Parameters:
key- key of report to be read- Returns:
- report with matching key
-
exportExecutionResult
Description copied from interface:ReportServiceExports the report execution with matching key in the requested format.- Specified by:
exportExecutionResultin interfaceReportService- Parameters:
executionKey- key of execution report to be selected- Returns:
- a stream for content download
-
delete
Description copied from interface:ReportServiceDeletes report with matching key.- Specified by:
deletein interfaceReportService- Parameters:
key- Deletes report with matching key
-