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 577 2010-03-15 11:28:00Z 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
 PageConfigEntry[] getEntries()
           
 PageConfigEntry[] getEntries(java.lang.String type)
           
 java.lang.String getLanguage()
          Returns the language code
 java.lang.String getName()
           
 java.util.ArrayList getProcessCommandInfos()
          Returns the process command information
 ConditionalList getProcessTemplateCalls()
          Returns the Template Process Calls of the page.
 boolean isProtectedPage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

isProtectedPage

public boolean isProtectedPage()

getEntries

public PageConfigEntry[] getEntries()

getEntries

public PageConfigEntry[] getEntries(java.lang.String type)

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

getProcessCommandInfos

public java.util.ArrayList getProcessCommandInfos()
                                           throws PageGenerationException
Returns the process command information

Throws:
PageGenerationException


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