public interface CustomOperationService extends CRUDService<CustomOperationDTO,CustomOperationData,java.lang.Void>
| Modifier and Type | Method and Description |
|---|---|
RunCustomOperationData |
getRunData(CustomOperationVO customOperation,
UserLocatorVO user)
Returns data to run a custom operation over an specific user.
|
java.util.List<CustomOperationVO> |
list()
Lists all available custom operations
|
CustomOperationContentResult |
runForContent(RunCustomOperationDTO params,
FileInfo inputFile)
Runs a content page custom operation
|
FileInfo |
runForCSV(RunCustomOperationDTO params,
FileInfo inputFile)
Runs a result page custom operation, returning the all in a CSV file
|
FileInfo |
runForFile(RunCustomOperationDTO params,
FileInfo inputFile)
Runs a custom operation.
|
CustomOperationPageResult |
runForPage(RunCustomOperationDTO params,
FileInfo inputFile)
Runs a result page custom operation
|
FileInfo |
runForPDF(RunCustomOperationDTO params,
FileInfo inputFile)
Runs a result page custom operation, returning the page results in a PDF file
|
java.lang.String |
runForString(RunCustomOperationDTO params,
FileInfo inputFile)
Runs a custom operation.
|
getData, getDataForNew, load, remove, removeAll, saveRunCustomOperationData getRunData(CustomOperationVO customOperation, UserLocatorVO user) throws FrameworkException
CustomOperationScope.SYSTEM, user must be null.
Otherwise, for CustomOperationScope.USER, user must be passed inFrameworkExceptionjava.util.List<CustomOperationVO> list() throws FrameworkException
FrameworkExceptionCustomOperationContentResult runForContent(RunCustomOperationDTO params, FileInfo inputFile) throws FrameworkException
ValidationException - If the operation has system scope but an user id was informed, or if the operation
didn't expect a file but one was
uploadedIllegalActionException - When the custom operation result type is not
CustomOperationResultType.RESULT_PAGEFrameworkExceptionFileInfo runForCSV(RunCustomOperationDTO params, FileInfo inputFile) throws FrameworkException
ValidationException - If the operation has system scope but an user id was informed, or if the operation
didn't expect a file but one was
uploadedIllegalActionException - When the custom operation result type is not
CustomOperationResultType.RESULT_PAGEFrameworkExceptionFileInfo runForFile(RunCustomOperationDTO params, FileInfo inputFile) throws FrameworkException
ValidationException - If the operation has system scope but an user id was informed, or if the operation
didn't expect a file but one was
uploadedIllegalActionException - When the custom operation result type is not
CustomOperationResultType.FILE_DOWNLOADFrameworkExceptionCustomOperationPageResult runForPage(RunCustomOperationDTO params, FileInfo inputFile) throws FrameworkException
ValidationException - If the operation has system scope but an user id was informed, or if the operation
didn't expect a file but one was
uploadedIllegalActionException - When the custom operation result type is not
CustomOperationResultType.RESULT_PAGEFrameworkExceptionFileInfo runForPDF(RunCustomOperationDTO params, FileInfo inputFile) throws FrameworkException
ValidationException - If the operation has system scope but an user id was informed, or if the operation
didn't expect a file but one was
uploadedIllegalActionException - When the custom operation result type is not
CustomOperationResultType.RESULT_PAGEFrameworkExceptionjava.lang.String runForString(RunCustomOperationDTO params, FileInfo inputFile) throws FrameworkException
ValidationException - If the operation has system scope but an user id was informed, or if the operation
didn't expect a file but one was
uploadedIllegalActionException - When the custom operation result type is not a stringFrameworkException