public interface CustomOperationService extends CRUDService<CustomOperationDTO,CustomOperationData,java.lang.Void>
| Modifier and Type | Method and Description |
|---|---|
RunCustomOperationData |
getRunData(@NotNull RunCustomOperationDataParams params)
Returns data to run a custom operation.
|
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> |
getRunnableOperationsForContact(ContactVO contact)
Lists the user custom operations scope =
CustomOperationScope.CONTACT the logged user can run over the
given contact |
java.util.List<CustomOperationVO> |
getRunnableOperationsForContactInfo(ContactInfoVO contactInfo)
Lists the user custom operations scope =
CustomOperationScope.CONTACT_INFO the logged user can run over
the given additional contact information |
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> |
getRunnableOperationsForTransfer(TransferVO transfer)
Lists the custom operations with scope =
CustomOperationScope.TRANSFER the logged user can run over the
given transfer |
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) |
java.util.List<CustomOperationResultVO> |
list()
Lists all available custom operations
|
RunCustomOperationResult |
run(@NotNull RunCustomOperationDTO params)
Runs a custom operation, returning the result with all type information
|
java.lang.String |
runExternalRedirectCallback(@NotNull RunExternalRedirectCallbackParams params)
Runs the callback for a custom operation of type external redirect
|
void |
saveOrder(@NotNull java.util.List<java.lang.Long> ids)
Saves the order according to the given operation ids
|
getData, getDataForNew, load, remove, removeAll, saveRunCustomOperationData getRunData(@NotNull @NotNull RunCustomOperationDataParams params) throws FrameworkException
RunCustomOperationDataParams with the specific parmeters set (for example, a
RunRecordCustomOperationDataParams with the record set if the scope is
CustomOperationScope.RECORD)
The result will also be a subclass of RunCustomOperationData depending on the custom operation scope, for
example a RunRecordCustomOperationData.FrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForAd(BasicAdVO ad) throws FrameworkException
CustomOperationScope.ADVERTISEMENT the logged user can run over
the given
advertisementFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForContact(ContactVO contact) throws FrameworkException
CustomOperationScope.CONTACT the logged user can run over the
given contactFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForContactInfo(ContactInfoVO contactInfo) throws FrameworkException
CustomOperationScope.CONTACT_INFO the logged user can run over
the given additional contact informationFrameworkExceptionjava.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> getRunnableOperationsForTransfer(TransferVO transfer) throws FrameworkException
CustomOperationScope.TRANSFER the logged user can run over the
given transferFrameworkExceptionjava.util.List<CustomOperationVO> getRunnableOperationsForUser(UserLocatorVO locator) throws FrameworkException
CustomOperationScope.USER the logged user can run over the given
user (or self if null)FrameworkExceptionjava.util.List<CustomOperationResultVO> list() throws FrameworkException
FrameworkExceptionRunCustomOperationResult run(@NotNull @NotNull RunCustomOperationDTO params) throws FrameworkException
FrameworkExceptionjava.lang.String runExternalRedirectCallback(@NotNull
@NotNull RunExternalRedirectCallbackParams params)
throws FrameworkException
FrameworkExceptionvoid saveOrder(@NotNull
@NotNull java.util.List<java.lang.Long> ids)
throws FrameworkException
FrameworkException