com.jivesoftware.community.objecttype
Class MoveContentProvider.MoveValidationResult
java.lang.Object
com.jivesoftware.community.objecttype.MoveContentProvider.MoveValidationResult
- Enclosing interface:
- MoveContentProvider<T extends JiveContentObject>
public static class MoveContentProvider.MoveValidationResult
- extends Object
|
Method Summary |
String |
getValidationErrorMessageKey()
Returns the i18n key of a message to show if the validation invoked by canMoveContent returns false. |
boolean |
isValid()
Returns the boolean result of the validation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveContentProvider.MoveValidationResult
public MoveContentProvider.MoveValidationResult(boolean valid,
String validationMessageKey)
isValid
public boolean isValid()
- Returns the boolean result of the validation
- Returns:
- true if the validation succeeds, false otherwise
getValidationErrorMessageKey
public String getValidationErrorMessageKey()
- Returns the i18n key of a message to show if the validation invoked by
canMoveContent returns false.
- Returns:
- an i18n key
- See Also:
com.jivesoftware.community.action.MoveContentAction
Copyright © 1999-2007 Jive Software.