|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.moremotion.page.Page
public class Page
| Constructor Summary | |
|---|---|
Page(MoreMotionRequest request)
|
|
Page(MoreMotionRequest request,
java.lang.String pageName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCommandName()
|
java.lang.String |
getContextRelativeURL()
Returns the Part of the current URL relative to the Context URL. |
java.lang.String |
getEncoding()
Returns the encoding of the current page |
java.lang.String |
getHostRelativeURL()
Returns the Part of the current URL relative to the Context URL. |
java.lang.String |
getNextPage()
Returns the names of the next pages if available |
java.lang.String |
getPageId()
|
PageInfo |
getPageInfo()
Returns the PageInfo object attached to the current page |
java.lang.String |
getPageName()
Returns the name of the current page |
java.lang.String |
getPageName(boolean withVariant)
Returns the name of the current page. |
static PageTableEntry |
getPageTableEntry(java.lang.String id)
|
java.lang.String |
getVariant()
Returns the name of the variant if current page is a variant page, null otherwise. |
static void |
setPageTable(java.util.HashMap table)
|
java.lang.String |
toString()
|
static java.lang.String |
translate(java.lang.String pageName)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Page(MoreMotionRequest request)
public Page(MoreMotionRequest request,
java.lang.String pageName)
throws PageGenerationException
PageGenerationException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String translate(java.lang.String pageName)
public java.lang.String getPageName()
public java.lang.String getPageId()
public java.lang.String getNextPage()
public java.lang.String getPageName(boolean withVariant)
throws PageGenerationException
withVariant - True if the page name should include the variant
PageGenerationException
public java.lang.String getEncoding()
throws ConfigParameterException
ConfigParameterExceptionpublic java.lang.String getVariant()
null otherwise.
public java.lang.String getContextRelativeURL()
http://www.xyz.com/contextA/showlist.doms?id=12 then showlist.doms?id=12 is returned
public java.lang.String getHostRelativeURL()
http://www.xyz.com/contextA/showlist.doms?id=12 then contextA/showlist.doms?id=12 is returned
public PageInfo getPageInfo()
throws PageGenerationException
PageGenerationExceptionpublic java.lang.String getCommandName()
public static void setPageTable(java.util.HashMap table)
public static PageTableEntry getPageTableEntry(java.lang.String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||