public interface CustomOperationService extends CRUDService<CustomOperationDTO,CustomOperationData,java.lang.Void>
| Modifier and Type | Method and Description |
|---|---|
RunCustomOperationData |
getRunAdData(CustomOperationVO customOperation,
BasicAdVO ad)
Returns data to run a custom operation over an specific ad.
|
RunCustomOperationData |
getRunData(CustomOperationVO customOperation)
Returns data to run a custom operation with one of the following scopes:
CustomOperationScope.SYSTEM
CustomOperationScope.INTERNAL
CustomOperationScope.MENU |
java.util.List<CustomOperationVO> |
getRunnableOperationsForAd(BasicAdVO ad)
Lists the user custom operations scope =
CustomOperationScope.ADVERTISEMENT the logged user can run over
the given
advertisement |
java.util.List<CustomOperationVO> |
getRunnableOperationsForRecord(RecordVO record)
Lists the user custom operations scope =
CustomOperationScope.RECORD the logged user can run over the
given
record |
java.util.List<CustomOperationVO> |
getRunnableOperationsForSystem()
Lists the custom operations with scope =
CustomOperationScope.SYSTEM the logged user can run |
java.util.List<CustomOperationVO> |
getRunnableOperationsForUser(UserLocatorVO locator)
Lists the user custom operations scope =
CustomOperationScope.USER the logged user can run over the given
user (or self if null) |
RunCustomOperationData |
getRunRecordData(CustomOperationVO customOperation,
RecordVO record)
Returns data to run a custom operation over an specific record.
|
RunCustomOperationData |
getRunUserData(CustomOperationVO customOperation,
UserLocatorVO user)
Returns data to run a custom operation over an specific user.
|
java.util.List<CustomOperationResultVO> |
list()
Lists all available custom operations
|
RunCustomOperationResult |
run(RunCustomOperationDTO params)
Runs a custom operation, returning the result with all type information
|
java.lang.String |
runExternalRedirectCallback(RunExternalRedirectCallbackParams params)
Runs the callback for a custom operation of type external redirect
|
void |
saveOrder(java.util.List<java.lang.Long> ids)
Saves the order according to the given operation ids
|
getData, getDataForNew, load, remove, removeAll, saveRunCustomOperationData getRunAdData(@NotNull CustomOperationVO customOperation, @NotNull BasicAdVO ad) throws FrameworkException
CustomOperationScope.ADVERTISEMENTFrameworkExceptionRunCustomOperationData getRunData(@NotNull CustomOperationVO customOperation) throws FrameworkException
CustomOperationScope.SYSTEMCustomOperationScope.INTERNALCustomOperationScope.MENUFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForAd(BasicAdVO ad) throws FrameworkException
CustomOperationScope.ADVERTISEMENT the logged user can run over
the given
advertisementFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForRecord(RecordVO record) throws FrameworkException
CustomOperationScope.RECORD the logged user can run over the
given
recordFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForSystem() throws FrameworkException
CustomOperationScope.SYSTEM the logged user can runFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForUser(UserLocatorVO locator) throws FrameworkException
CustomOperationScope.USER the logged user can run over the given
user (or self if null)FrameworkExceptionRunCustomOperationData getRunRecordData(@NotNull CustomOperationVO customOperation, @NotNull RecordVO record) throws FrameworkException
CustomOperationScope.RECORDFrameworkExceptionRunCustomOperationData getRunUserData(@NotNull CustomOperationVO customOperation, UserLocatorVO user) throws FrameworkException
CustomOperationScope.USERFrameworkExceptionjava.util.List<CustomOperationResultVO> list() throws FrameworkException
FrameworkExceptionRunCustomOperationResult run(@NotNull RunCustomOperationDTO params) throws FrameworkException
FrameworkExceptionjava.lang.String runExternalRedirectCallback(@NotNull
RunExternalRedirectCallbackParams params)
throws FrameworkException
FrameworkExceptionvoid saveOrder(@NotNull
java.util.List<java.lang.Long> ids)
throws FrameworkException
FrameworkException