public interface CustomOperationService extends CRUDService<CustomOperationDTO,CustomOperationData,java.lang.Void>
| Modifier and Type | Method and Description |
|---|---|
PasswordInputDTO |
getConfirmationPasswordInputForRun(RunCustomOperationDataParams params)
Returns the
PasswordInputDTO for the confirmation password that would be required if executing the given
custom operation. |
RunCustomOperationData |
getRunData(@NotNull RunCustomOperationDataParams params)
Returns data to run a custom operation.
|
java.util.List<RunnableCustomOperationVO> |
getRunnableOperationsForAd(BasicAdVO ad)
Lists the user custom operations scope =
CustomOperationScope.ADVERTISEMENT the logged user can run over
the given
advertisement |
java.util.List<RunnableCustomOperationVO> |
getRunnableOperationsForContact(ContactVO contact)
Lists the user custom operations scope =
CustomOperationScope.CONTACT the logged user can run over the
given contact |
java.util.List<RunnableCustomOperationVO> |
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<RunnableCustomOperationVO> |
getRunnableOperationsForRecord(RecordVO record)
Lists the user custom operations scope =
CustomOperationScope.RECORD the logged user can run over the
given record |
java.util.List<RunnableCustomOperationVO> |
getRunnableOperationsForSystem()
Lists the custom operations with scope =
CustomOperationScope.SYSTEM the logged user can run |
java.util.List<RunnableCustomOperationVO> |
getRunnableOperationsForTransfer(TransferVO transfer)
Lists the custom operations with scope =
CustomOperationScope.TRANSFER the logged user can run over the
given transfer |
java.util.List<RunnableCustomOperationVO> |
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
|
RunCustomOperationResult |
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, savePasswordInputDTO getConfirmationPasswordInputForRun(RunCustomOperationDataParams params)
PasswordInputDTO for the confirmation password that would be required if executing the given
custom operation.RunCustomOperationData 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<RunnableCustomOperationVO> getRunnableOperationsForAd(BasicAdVO ad) throws FrameworkException
CustomOperationScope.ADVERTISEMENT the logged user can run over
the given
advertisementFrameworkExceptionjava.util.List<RunnableCustomOperationVO> getRunnableOperationsForContact(ContactVO contact) throws FrameworkException
CustomOperationScope.CONTACT the logged user can run over the
given contactFrameworkExceptionjava.util.List<RunnableCustomOperationVO> getRunnableOperationsForContactInfo(ContactInfoVO contactInfo) throws FrameworkException
CustomOperationScope.CONTACT_INFO the logged user can run over
the given additional contact informationFrameworkExceptionjava.util.List<RunnableCustomOperationVO> getRunnableOperationsForRecord(RecordVO record) throws FrameworkException
CustomOperationScope.RECORD the logged user can run over the
given recordFrameworkExceptionjava.util.List<RunnableCustomOperationVO> getRunnableOperationsForSystem() throws FrameworkException
CustomOperationScope.SYSTEM the logged user can runFrameworkExceptionjava.util.List<RunnableCustomOperationVO> getRunnableOperationsForTransfer(TransferVO transfer) throws FrameworkException
CustomOperationScope.TRANSFER the logged user can run over the
given transferFrameworkExceptionjava.util.List<RunnableCustomOperationVO> 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
FrameworkExceptionRunCustomOperationResult runExternalRedirectCallback(@NotNull @NotNull RunExternalRedirectCallbackParams params) throws FrameworkException
CustomOperationResultType.NOTIFICATION.FrameworkExceptionvoid saveOrder(@NotNull
@NotNull java.util.List<java.lang.Long> ids)
throws FrameworkException
FrameworkException