public interface CustomOperationServiceLocal extends CRUDServiceLocal<CustomOperation,CustomOperationDTO,CustomOperationData,java.lang.Void>, CustomOperationService
CustomOperationService| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_AD
Script attribute: the
BasicAd |
static java.lang.String |
ATTR_CURRENT_PAGE
Script attribute: the current page, used when the result type is page results
|
static java.lang.String |
ATTR_CUSTOM_OPERATION
Script attribute: the
CustomOperation |
static java.lang.String |
ATTR_EXTERNAL_REDIRECT_EXECUTION
Script attribute: the
ExternalRedirectExecution backing an
CustomOperationResultType.EXTERNAL_REDIRECT |
static java.lang.String |
ATTR_FORM_PARAMETERS
Script attribute: the form parameters (custom field values)
|
static java.lang.String |
ATTR_INPUT_FILE
Script attribute: the
FileInfo for the uploaded file |
static java.lang.String |
ATTR_PAGE_CONTEXT
Script attribute: the
CustomOperationPageContext |
static java.lang.String |
ATTR_PAGE_SIZE
Script attribute: the page size, used when the result type is page results
|
static java.lang.String |
ATTR_PARAMETER_STORAGE
Script attribute: the
ObjectParameterStorage used on operations of type external redirect, both on first
execution and on the callback |
static java.lang.String |
ATTR_REQUEST
Script attribute: the
RequestInfo used on external redirect callback |
static java.lang.String |
ATTR_RETURN_URL
Script attribute: the URL for the external service to call Cyclos and complete the operation, for
CustomOperationResultType.EXTERNAL_REDIRECT |
static java.lang.String |
ATTR_USER
Script attribute: the
User |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CustomOperationVO> |
getRunnableCustomOperations(BasicAd ad)
Returns the custom operations that can be run by the logged user over the given ad
|
java.util.List<CustomOperation> |
listAllowedToRun()
Lists all custom operations the logged user is allowed to run
|
java.util.List<CustomOperation> |
listByScope(CustomOperationScope... scopes)
Lists the custom operations for the given scopes
|
java.util.List<CustomOperation> |
listOperationsRedirectingTo(CustomOperation internal)
Lists the custom operations that redirect to the given internal operation
|
find, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetRunData, list, listSystemToRun, listUserToRun, run, runExternalRedirectCallback, runForContent, runForCSV, runForFile, runForPage, runForPDF, runForStringgetData, getDataForNew, load, remove, removeAll, savestatic final java.lang.String ATTR_CUSTOM_OPERATION
CustomOperationstatic final java.lang.String ATTR_USER
Userstatic final java.lang.String ATTR_AD
BasicAdstatic final java.lang.String ATTR_INPUT_FILE
FileInfo for the uploaded filestatic final java.lang.String ATTR_FORM_PARAMETERS
static final java.lang.String ATTR_REQUEST
RequestInfo used on external redirect callbackstatic final java.lang.String ATTR_PARAMETER_STORAGE
ObjectParameterStorage used on operations of type external redirect, both on first
execution and on the callbackstatic final java.lang.String ATTR_RETURN_URL
CustomOperationResultType.EXTERNAL_REDIRECTstatic final java.lang.String ATTR_EXTERNAL_REDIRECT_EXECUTION
ExternalRedirectExecution backing an
CustomOperationResultType.EXTERNAL_REDIRECTstatic final java.lang.String ATTR_CURRENT_PAGE
static final java.lang.String ATTR_PAGE_SIZE
static final java.lang.String ATTR_PAGE_CONTEXT
CustomOperationPageContextjava.util.List<CustomOperationVO> getRunnableCustomOperations(BasicAd ad)
java.util.List<CustomOperation> listAllowedToRun()
java.util.List<CustomOperation> listByScope(CustomOperationScope... scopes)
java.util.List<CustomOperation> listOperationsRedirectingTo(CustomOperation internal)