org.moremotion.page
Class PageConfig

java.lang.Object
  extended by org.moremotion.page.PageConfig

public class PageConfig
extends java.lang.Object

Contains information about a page such as language, encoding, checkpoint, alternative pages, allowed commands, etc.

Version:
$Id: PageConfig.java 51 2008-03-10 11:46:54Z erkan $

Method Summary
 AccessControlDefinition getAccessControlDefinition(MoreMotionRequest request)
          Returns AccessControlDefinition object of the page
 boolean getAvoidCaching(MoreMotionRequest request)
          Returns true if Avoid Caching is specified in the page config, false otherwise
 ConditionalList getCommandDefinitions()
          Returns the command definitions
 PageDataRequestList getDataRequests()
          Returns the Data Requests of the page.
 java.lang.String getEncoding(MoreMotionRequest request)
          Returns the page encoding
 java.lang.String getLanguage()
          Returns the language code
 java.lang.String getName()
           
 ConditionalList getProcessTemplateCalls()
          Returns the Template Process Calls of the page.
 boolean isAjaxSourcePage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

isAjaxSourcePage

public boolean isAjaxSourcePage()

getDataRequests

public PageDataRequestList getDataRequests()
Returns the Data Requests of the page.


getProcessTemplateCalls

public ConditionalList getProcessTemplateCalls()
Returns the Template Process Calls of the page.


getAccessControlDefinition

public AccessControlDefinition getAccessControlDefinition(MoreMotionRequest request)
                                                   throws ConfigParameterException
Returns AccessControlDefinition object of the page

Throws:
ConfigParameterException

getLanguage

public java.lang.String getLanguage()
Returns the language code


getEncoding

public java.lang.String getEncoding(MoreMotionRequest request)
                             throws ConfigParameterException
Returns the page encoding

Throws:
ConfigParameterException

getAvoidCaching

public boolean getAvoidCaching(MoreMotionRequest request)
                        throws ConfigParameterException
Returns true if Avoid Caching is specified in the page config, false otherwise

Throws:
ConfigParameterException

getCommandDefinitions

public ConditionalList getCommandDefinitions()
                                      throws PageGenerationException
Returns the command definitions

Throws:
PageGenerationException


Copyright © 2002-2008 MOR YAZILIM. All Rights Reserved.