Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obinary.cms.beans
Class ParagraphInfo  view ParagraphInfo download ParagraphInfo.java

java.lang.Object
  extended bycom.obinary.cms.beans.ParagraphInfo

public class ParagraphInfo
extends java.lang.Object

User: sameercharles Date: Apr 28, 2003 Time: 11:20:59 AM

Version:
1.0

Field Summary
private  com.obinary.cms.core.ContainerList atoms
           
private static java.util.Hashtable cachedContent
           
private  java.lang.String description
           
private static java.lang.String DIALOGS_START_PAGE
           
private static com.obinary.cms.core.HierarchyManager hm
           
private  java.lang.String name
           
private  java.lang.String path
           
private static java.lang.String START_PAGE
           
private  java.lang.String template
           
private  java.lang.String title
           
private  java.lang.String type
           
 
Constructor Summary
ParagraphInfo()
          constructor
ParagraphInfo(boolean initialize)
          constructor
 
Method Summary
private static void cacheContent(com.obinary.cms.core.Content startPage)
          load content of this paragraph info page in a hash table caching at the system load, this will save lot of time on every request while matching paragraph info
 com.obinary.cms.core.ContainerList getAtomDefinitions()
           
 java.lang.String getDescription()
           
static ParagraphInfo getInfo(java.lang.String key)
          returns the cached content of the requested template
TemplateInfo properties :
1.
 java.lang.String getName()
           
 java.lang.String getPath()
           
 java.lang.String getTemplate()
           
 java.lang.String getTemplateType()
           
 java.lang.String getTitle()
           
private static java.lang.String getUUID()
           
static void init()
          load all paragraph definitions available as a collection of Content objects
private static void updateContainer(com.obinary.cms.core.Container container, ParagraphInfo pi)
          add uuid in paragraph container
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_PAGE

private static final java.lang.String START_PAGE
See Also:
Constant Field Values

DIALOGS_START_PAGE

private static final java.lang.String DIALOGS_START_PAGE
See Also:
Constant Field Values

cachedContent

private static java.util.Hashtable cachedContent

hm

private static com.obinary.cms.core.HierarchyManager hm

name

private java.lang.String name

title

private java.lang.String title

template

private java.lang.String template

type

private java.lang.String type

description

private java.lang.String description

path

private java.lang.String path

atoms

private com.obinary.cms.core.ContainerList atoms
Constructor Detail

ParagraphInfo

public ParagraphInfo()
constructor


ParagraphInfo

public ParagraphInfo(boolean initialize)
              throws ElementNotFoundException,
                     RepositoryException
constructor

Method Detail

init

public static void init()
                 throws ElementNotFoundException,
                        RepositoryException

load all paragraph definitions available as a collection of Content objects


cacheContent

private static void cacheContent(com.obinary.cms.core.Content startPage)

load content of this paragraph info page in a hash table caching at the system load, this will save lot of time on every request while matching paragraph info


getName

public java.lang.String getName()

getTitle

public java.lang.String getTitle()

getTemplate

public java.lang.String getTemplate()

getTemplateType

public java.lang.String getTemplateType()

getDescription

public java.lang.String getDescription()

getPath

public java.lang.String getPath()

getAtomDefinitions

public com.obinary.cms.core.ContainerList getAtomDefinitions()

getInfo

public static ParagraphInfo getInfo(java.lang.String key)
                             throws java.lang.Exception

returns the cached content of the requested template
TemplateInfo properties :
1. title - title describing template
2. type - jsp / servlet
3. path - jsp / servlet path
4. description - description of a template


updateContainer

private static void updateContainer(com.obinary.cms.core.Container container,
                                    ParagraphInfo pi)

add uuid in paragraph container


getUUID

private static java.lang.String getUUID()