02/28/2005
 

com.epicentric.template
Class TemplateUtils

java.lang.Object
  |
  +--com.epicentric.template.TemplateUtils

public class TemplateUtils
extends Object

Some convenience methods for dealing with Templates and Styles.


Field Summary
static int CONSOLE_VIEW
           
static String DEFAULT_CHROME_TEMPLATE_FRIENDLY_ID
           
static String DEFAULT_GRID_TEMPLATE_FRIENDLY_ID
           
static String DEFAULT_JSP_INCLUDE_TEMPLATE_FRIENDLY_ID
           
static String DEFAULT_SYSTEM_GRID_TEMPLATE_FRIENDLY_ID
           
static int END_USER_VIEW
           
protected static String TD_DEFAULT_RELATIVE_DIR_PROPERTY
           
protected static String TEMPLATE_DEFAULT_RELATIVE_DIR
           
 
Constructor Summary
protected TemplateUtils()
           
 
Method Summary
static Style getCurrentGrid(PortalContext portalContext)
          returns grid used in this request
static Template getDefaultJspIncludeTemplate()
          Returns the default standard jsp include template that all new JSP Include Page style instances created through the admin UI should be assigned to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_GRID_TEMPLATE_FRIENDLY_ID

public static final String DEFAULT_GRID_TEMPLATE_FRIENDLY_ID

DEFAULT_CHROME_TEMPLATE_FRIENDLY_ID

public static final String DEFAULT_CHROME_TEMPLATE_FRIENDLY_ID

DEFAULT_JSP_INCLUDE_TEMPLATE_FRIENDLY_ID

public static final String DEFAULT_JSP_INCLUDE_TEMPLATE_FRIENDLY_ID

TD_DEFAULT_RELATIVE_DIR_PROPERTY

protected static final String TD_DEFAULT_RELATIVE_DIR_PROPERTY

TEMPLATE_DEFAULT_RELATIVE_DIR

protected static String TEMPLATE_DEFAULT_RELATIVE_DIR

DEFAULT_SYSTEM_GRID_TEMPLATE_FRIENDLY_ID

public static final String DEFAULT_SYSTEM_GRID_TEMPLATE_FRIENDLY_ID

END_USER_VIEW

public static final int END_USER_VIEW

CONSOLE_VIEW

public static final int CONSOLE_VIEW
Constructor Detail

TemplateUtils

protected TemplateUtils()
Method Detail

getDefaultJspIncludeTemplate

public static Template getDefaultJspIncludeTemplate()
                                             throws TemplateStoreException
Returns the default standard jsp include template that all new JSP Include Page style instances created through the admin UI should be assigned to
Returns:
the default standard jsp include template instance

getCurrentGrid

public static Style getCurrentGrid(PortalContext portalContext)
returns grid used in this request
Returns:
current grid

02/28/2005
 

Copyright and Trademark Notices