com.ibm.workplace.wcm.api.extensions.operation
Interface OperationCheckResult


public interface OperationCheckResult

The return value from a call to the extension point OperationCheckPlugin.checkOperation(). This result flags whether the operation should be aborted and messages shown to the user.

If the operation continues then all messages will be ignored.

Since:
8.5 CF9

Method Summary
 boolean canContinue()
          Flag whether the operation that was checked should continue to execute.
 ErrorMessageContainer messages()
          Return localized messages to the caller.
 

Method Detail

canContinue

boolean canContinue()
Flag whether the operation that was checked should continue to execute.

Returns:
true if the operation can continue otherwise returning false will abort the operation.

messages

ErrorMessageContainer messages()
Return localized messages to the caller. If null is returned no message will be shown.

Returns:
ErrorMessageContainer message or null if no validation message is required