|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.moremotion.page.CurrentPage
| Constructor Summary | |
CurrentPage(MoreMotionRequest request,
java.lang.String pageName)
|
|
| Method Summary | |
void |
flushNextPages()
Saves "Pages-To-Be-Displayed-Next" list into the "nextpage" ADOM |
CommandDefinition |
getCommandDefinition(java.lang.String command)
Returns the CommandDefinition object associated with the specified command |
java.lang.String |
getContextRelativeURL()
Returns the Part of the current URL relative to the Context URL. |
CommandDefinition |
getCurrentCommandDefinition()
Returns the Current CommandDefinition object associated with the specified command |
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 |
getNextPages()
|
PageInfo |
getPageInfo()
Returns the PageInfo object attached to the current page |
java.lang.String |
getPageName()
|
java.lang.String |
getPageName(boolean withVariant)
|
java.lang.String |
getVariant()
Returns the name of the variant if current page is a variant page, null otherwise. |
boolean |
hasCommandDefinitions()
Returns true if current page has andy command definition, false otherwise. |
void |
insertNextPage(java.lang.String pageName)
Inserts the given page name into the "Pages-To-Be-Displayed-Next" list |
void |
pushSelfName()
Inserts this page into the "Pages-To-Be-Displayed-Next" list |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CurrentPage(MoreMotionRequest request,
java.lang.String pageName)
throws PageGenerationException
| Method Detail |
public java.lang.String getEncoding()
throws ConfigParameterException
ConfigParameterExceptionpublic java.lang.String getPageName()
public java.lang.String getPageName(boolean withVariant)
throws PageGenerationException
PageGenerationExceptionpublic java.lang.String getNextPages()
public CommandDefinition getCurrentCommandDefinition()
throws PageGenerationException
PageGenerationException
public CommandDefinition getCommandDefinition(java.lang.String command)
throws PageGenerationException
command - The name of the command
PageGenerationException
public boolean hasCommandDefinitions()
throws PageGenerationException
true if current page has andy command definition, false otherwise.
PageGenerationExceptionpublic 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 void insertNextPage(java.lang.String pageName)
public void pushSelfName()
public void flushNextPages()
public PageInfo getPageInfo()
throws PageGenerationException
PageGenerationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||