Jive API (4.5.7.0) Core Javadocs

com.jivesoftware.community.objecttype
Class MoveObjectProvider.MoveValidationResult

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

public static class MoveObjectProvider.MoveValidationResult
extends java.lang.Object


Constructor Summary
MoveObjectProvider.MoveValidationResult(boolean valid, java.lang.String validationMessageKey)
           
 
Method Summary
 java.lang.String getValidationErrorMessageKey()
          Returns the i18n key of a message to show if the validation invoked by canMove 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

MoveObjectProvider.MoveValidationResult

public MoveObjectProvider.MoveValidationResult(boolean valid,
                                               java.lang.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 java.lang.String getValidationErrorMessageKey()
Returns the i18n key of a message to show if the validation invoked by canMove returns false.

Returns:
an i18n key
See Also:
MoveContentAction

Jive Product Page

Copyright © 1999-2007 Jive Software.