org.opencms.gwt.shared
Class CmsCategoryTreeEntry

java.lang.Object
  extended by org.opencms.gwt.shared.CmsCategoryBean
      extended by org.opencms.gwt.shared.CmsCategoryTreeEntry
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, I_CmsHasPath, I_CmsHasTitle

public class CmsCategoryTreeEntry
extends CmsCategoryBean

Recursive category tree entry.

Since:
8.0.0

Constructor Summary
protected CmsCategoryTreeEntry()
          Constructor for serialization.
  CmsCategoryTreeEntry(CmsCategory category)
          Clone constructor.
 
Method Summary
 void addChild(CmsCategoryTreeEntry child)
          Adds a child entry.
 java.util.List<CmsCategoryTreeEntry> getChildren()
          Returns the children.
 void setChildren(java.util.List<CmsCategoryTreeEntry> children)
          Sets the children.
 
Methods inherited from class org.opencms.gwt.shared.CmsCategoryBean
getBasePath, getDescription, getId, getPath, getRootPath, getSitePath, getTitle, matchesFilter, setDescription, setPath, setSitePath, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsCategoryTreeEntry

public CmsCategoryTreeEntry(CmsCategory category)
                     throws java.lang.Exception
Clone constructor.

Parameters:
category - the category to clone
Throws:
java.lang.Exception - will never happen

CmsCategoryTreeEntry

protected CmsCategoryTreeEntry()
Constructor for serialization.

Method Detail

addChild

public void addChild(CmsCategoryTreeEntry child)
Adds a child entry.

Parameters:
child - the child to add

getChildren

public java.util.List<CmsCategoryTreeEntry> getChildren()
Returns the children.

Returns:
the children

setChildren

public void setChildren(java.util.List<CmsCategoryTreeEntry> children)
Sets the children.

Parameters:
children - the children to set