Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.objecttype
Class MoveContentProvider.MoveValidationResult

java.lang.Object
  extended by com.jivesoftware.community.objecttype.MoveContentProvider.MoveValidationResult
Enclosing interface:
MoveContentProvider<T extends JiveContentObject>

public static class MoveContentProvider.MoveValidationResult
extends Object


Constructor Summary
MoveContentProvider.MoveValidationResult(boolean valid, String validationMessageKey)
           
 
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
 

Constructor Detail

MoveContentProvider.MoveValidationResult

public MoveContentProvider.MoveValidationResult(boolean valid,
                                                String validationMessageKey)
Method Detail

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

Jive Product Page

Copyright © 1999-2007 Jive Software.