public interface CustomOperationServiceLocal extends org.cyclos.impl.CRUDServiceLocal<CustomOperation,CustomOperationDTO,CustomOperationData,java.lang.Void>, CustomOperationService
CustomOperationService| Modifier and Type | Field and Description |
|---|---|
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_FORM_PARAMETERS
Script attribute: the form parameters (custom field values)
|
static java.lang.String |
ATTR_INPUT_FILE
Script attribute: the
SerializableInputStream for the uploaded file |
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_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
|
static java.lang.String |
ATTR_USER
Script attribute: the
User |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
externalRedirectCallback(java.lang.Long id,
RequestInfo request)
Runs the callback for a custom operation of type external redirect
|
java.util.List<CustomOperation> |
listAllowedToRun()
Lists all custom operations the logged user is allowed to run
|
java.util.List<CustomOperation> |
listByScope(CustomOperationScope scope)
Lists the custom operations for a given scope
|
find, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetRunData, list, runForCSV, runForFile, runForPage, 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_INPUT_FILE
SerializableInputStream 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_RETURN_URL
static final java.lang.String ATTR_CURRENT_PAGE
static final java.lang.String ATTR_PAGE_SIZE
java.lang.String externalRedirectCallback(java.lang.Long id,
RequestInfo request)
throws FrameworkException
FrameworkExceptionjava.util.List<CustomOperation> listAllowedToRun()
java.util.List<CustomOperation> listByScope(CustomOperationScope scope) throws FrameworkException
FrameworkException