org.zkoss.zest.sys
Interface ViewInfo


public interface ViewInfo

The information of the view.

Since:
1.1.0
Author:
tomyeh

Nested Class Summary
static class ViewInfo.ViewType
          The types of the view.
 
Method Summary
 int getErrorCode()
          Returns the error code.
 java.lang.String getErrorMessage()
          Returns the error message, or null if not associated with a custom error message.
 java.lang.String getURI()
          Returns the URI to forward or redirect to.
 ViewInfo.ViewType getViewType()
          Returns the type of the view.
 

Method Detail

getViewType

ViewInfo.ViewType getViewType()
Returns the type of the view.


getURI

java.lang.String getURI()
Returns the URI to forward or redirect to.


getErrorCode

int getErrorCode()
Returns the error code. It is meaningful only if getViewType() is ERROR.


getErrorMessage

java.lang.String getErrorMessage()
Returns the error message, or null if not associated with a custom error message. It is meaningful only if getViewType() is ERROR.



Copyright © 2005-2010 Potix Corporation. All Rights Reserved.