|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.jsf2.pages.PageDefinition
public class PageDefinition
Constructor Summary | |
---|---|
PageDefinition(String path,
Class<? extends Page> pageBeanClass)
Constructs a page definition |
|
PageDefinition(String path,
Class<? extends Page> pageBeanClass,
PageDefinition parent)
Constructs a page definition |
|
PageDefinition(String path,
Class<? extends Page> pageBeanClass,
PageDefinition parent,
String pageBeanName)
Constructs a page definition |
|
PageDefinition(String path,
Class<? extends Page> pageBeanClass,
String pageBeanName)
Constructs a page definition |
Method Summary | |
---|---|
static String |
decodeActionParam(String param)
|
String |
getFileExtension()
|
PageOutcome |
getOutcome()
|
PageOutcome |
getOutcome(String action)
|
Class<? extends Page> |
getPageBeanClass()
|
String |
getPageBeanName()
|
protected String |
getPageBeanNameFromPath(String path,
String extension)
|
PageDefinition |
getParent()
|
String |
getPath()
|
PageOutcome |
getRedirect()
|
PageOutcome |
getRedirect(String action)
|
PageOutcome |
getRedirectWithViewParams()
|
PageOutcome |
getRedirectWithViewParams(String action)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageDefinition(String path, Class<? extends Page> pageBeanClass, PageDefinition parent, String pageBeanName)
path
- the path of the view associated with this pagepageBeanClass
- the page bean class associated with this pageparent
- the parent page (if any). May be nullpageBeanName
- the page bean name. If null this will be calculated from the pathpublic PageDefinition(String path, Class<? extends Page> pageBeanClass, String pageBeanName)
path
- the path of the view associated with this pagepageBeanClass
- the page bean class associated with this pagepageBeanName
- the page bean name. If null this will be calculated from the pathpublic PageDefinition(String path, Class<? extends Page> pageBeanClass, PageDefinition parent)
path
- the path of the view associated with this pagepageBeanClass
- the page bean class associated with this pageparent
- the parent page (if any). May be nullpublic PageDefinition(String path, Class<? extends Page> pageBeanClass)
path
- the path of the view associated with this pagepageBeanClass
- the page bean class associated with this pageMethod Detail |
---|
public static String decodeActionParam(String param)
protected String getPageBeanNameFromPath(String path, String extension)
public String getPath()
public String getFileExtension()
public String getPageBeanName()
public Class<? extends Page> getPageBeanClass()
public PageDefinition getParent()
public PageOutcome getOutcome()
public PageOutcome getOutcome(String action)
public PageOutcome getRedirect()
public PageOutcome getRedirect(String action)
public PageOutcome getRedirectWithViewParams()
public PageOutcome getRedirectWithViewParams(String action)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |