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

Quick Search    Search Deep

com.obinary.cms.core
Class Container  view Container download Container.java

java.lang.Object
  extended bycom.obinary.cms.core.ContentHandler
      extended bycom.obinary.cms.core.Content
          extended bycom.obinary.cms.core.ContainerList
              extended bycom.obinary.cms.core.Container
All Implemented Interfaces:
java.lang.Cloneable

public class Container
extends ContainerList

User: sameercharles Date: Apr 15, 2003 Time: 11:00:20 AM

Version:
1.0

Field Summary
private  Content container
           
private  java.lang.String name
           
private  Node workingNode
           
 
Fields inherited from class com.obinary.cms.core.ContainerList
 
Fields inherited from class com.obinary.cms.core.Content
 
Fields inherited from class com.obinary.cms.core.ContentHandler
node, SORT_BY_DATE, SORT_BY_NAME, SORT_BY_SEQUENCE
 
Constructor Summary
  Container()
          constructor
  Container(Node node)
          constructor use to typecast node to Container
(package private) Container(Node workingNode, java.lang.String containerName)
          Package private constructor
(package private) Container(Node workingNode, java.lang.String containerName, boolean createNew)
          Package private constructor
 
Method Summary
 java.util.Collection getChildren()
          gets a Collection containing all clild Atoms at the current level
 java.lang.String getTemplate()
           
 java.lang.String getX()
           
 boolean hasChildren()
           
 
Methods inherited from class com.obinary.cms.core.Content
addObjectClass, copyTo, createAtom, createAtom, createContainer, createContainerList, deleteAtom, deleteContainer, deleteContainerList, getAtom, getContainer, getContainerList, getJCRNode, getMetaData, getMetaData, getName, init, moveTo, order, toStream, updateMetaData
 
Methods inherited from class com.obinary.cms.core.ContentHandler
clone, getAncestor, getAncestor0, getAncestor1, getAncestor2, getAncestor3, getAncestor4, getAncestor5, getAncestor6, getAncestor7, getAncestor8, getAncestor9, getAncestors, getChildren, getChildren, getHandle, getHandleWithDefaultExtension, getLevel, getParent, getTitle, isGranted, isHasChildren, sortByDate, sortBySequence
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workingNode

private Node workingNode

name

private java.lang.String name

container

private Content container
Constructor Detail

Container

public Container()
constructor


Container

Container(Node workingNode,
          java.lang.String containerName)
    throws ElementNotFoundException,
           RepositoryException
Package private constructor


Container

public Container(Node node)
          throws ElementNotFoundException,
                 RepositoryException
constructor use to typecast node to Container


Container

Container(Node workingNode,
          java.lang.String containerName,
          boolean createNew)
    throws ElementNotFoundException,
           RepositoryException
Package private constructor

Method Detail

getChildren

public java.util.Collection getChildren()

gets a Collection containing all clild Atoms at the current level

Overrides:
getChildren in class ContainerList

hasChildren

public boolean hasChildren()
Overrides:
hasChildren in class ContainerList

getTemplate

public java.lang.String getTemplate()
Overrides:
getTemplate in class ContentHandler

getX

public java.lang.String getX()