org.alfresco.web.config
Class NavigationResult

java.lang.Object
  extended by org.alfresco.web.config.NavigationResult

public class NavigationResult
extends java.lang.Object

Represents the result of a navigation config result. This object holds the string result which can either represent an outcome or a view id.


Constructor Summary
NavigationResult(java.lang.String viewId, java.lang.String outcome)
          Default constructor
 
Method Summary
 java.lang.String getResult()
          Returns the result
 boolean isOutcome()
          Determines whether the result is an outcome
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavigationResult

public NavigationResult(java.lang.String viewId,
                        java.lang.String outcome)
Default constructor

Parameters:
viewId - The to-view-id value
outcome - The to-outcome value
Method Detail

getResult

public java.lang.String getResult()
Returns the result

Returns:
The result

isOutcome

public boolean isOutcome()
Determines whether the result is an outcome

Returns:
true if the result represents an outcome, false if it represents a view id

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.