站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.6 API 英文版文档

Page (JBoss Seam API Documentation) - JBoss Seam 1.1.6 API 英文版文档


org.jboss.seam.pages
Class Page

java.lang.Object
  extended by org.jboss.seam.pages.Page

public final class Page
extends Object

Metadata about page actions, page parameters, action navigation, resource bundle, etc, for a particular JSF view id.


Constructor Summary
Page(String viewId)
           
 
Method Summary
 boolean enter(javax.faces.context.FacesContext facesContext)
          Call page actions, in order they appear in XML, and handle conversation begin/end
 List<Action> getActions()
           
 ConversationControl getConversationControl()
           
 Navigation getDefaultNavigation()
           
 String getDescription()
           
 List<Input> getInputs()
           
 Map<String,Navigation> getNavigations()
           
 String getNoConversationViewId()
           
 List<Param> getParameters()
           
 ResourceBundle getResourceBundle()
           
 String getResourceBundleName()
           
 String getRestriction()
           
 Integer getTimeout()
           
 String getViewId()
           
 boolean hasDescription()
           
 boolean isConversationRequired()
           
 boolean isRestricted()
           
 boolean isSwitchEnabled()
           
 String renderDescription()
           
 void setConversationRequired(boolean conversationRequired)
           
 void setDefaultNavigation(Navigation defaultActionOutcomeMapping)
           
 void setDescription(String description)
           
 void setNoConversationViewId(String noConversationViewId)
           
 void setResourceBundleName(String resourceBundleName)
           
 void setRestricted(boolean restricted)
           
 void setRestriction(String restriction)
           
 void setSwitchEnabled(boolean switchEnabled)
           
 void setTimeout(Integer timeout)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Page

public Page(String viewId)
Method Detail

getResourceBundle

public ResourceBundle getResourceBundle()

toString

public String toString()
Overrides:
toString in class Object

getViewId

public String getViewId()

renderDescription

public String renderDescription()

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

setTimeout

public void setTimeout(Integer timeout)

getTimeout

public Integer getTimeout()

setNoConversationViewId

public void setNoConversationViewId(String noConversationViewId)

getNoConversationViewId

public String getNoConversationViewId()

setResourceBundleName

public void setResourceBundleName(String resourceBundleName)

getResourceBundleName

public String getResourceBundleName()

setSwitchEnabled

public void setSwitchEnabled(boolean switchEnabled)

isSwitchEnabled

public boolean isSwitchEnabled()

getParameters

public List<Param> getParameters()

getNavigations

public Map<String,Navigation> getNavigations()

hasDescription

public boolean hasDescription()

isConversationRequired

public boolean isConversationRequired()

setConversationRequired

public void setConversationRequired(boolean conversationRequired)

getDefaultNavigation

public Navigation getDefaultNavigation()

setDefaultNavigation

public void setDefaultNavigation(Navigation defaultActionOutcomeMapping)

getConversationControl

public ConversationControl getConversationControl()

getActions

public List<Action> getActions()

enter

public boolean enter(javax.faces.context.FacesContext facesContext)
Call page actions, in order they appear in XML, and handle conversation begin/end


getInputs

public List<Input> getInputs()

isRestricted

public boolean isRestricted()

setRestricted

public void setRestricted(boolean restricted)

getRestriction

public String getRestriction()

setRestriction

public void setRestriction(String restriction)