org.opencms.gwt.shared
Class CmsResourceCategoryInfo

java.lang.Object
  extended by org.opencms.gwt.shared.CmsResourceCategoryInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsResourceCategoryInfo
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

Category information for a specific resource.


Constructor Summary
protected CmsResourceCategoryInfo()
          Constructor, for serialization only.
  CmsResourceCategoryInfo(CmsUUID structureId, CmsListInfoBean resourceInfo, java.util.List<java.lang.String> currentCategories, java.util.List<CmsCategoryTreeEntry> categoryTree)
          Constructor.
 
Method Summary
 java.util.List<CmsCategoryTreeEntry> getCategoryTree()
          Returns the category tree.
 java.util.List<java.lang.String> getCurrentCategories()
          Returns the current resource categories.
 CmsListInfoBean getResourceInfo()
          Returns the resource info bean.
 CmsUUID getStructureId()
          Returns the resource structure id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsResourceCategoryInfo

public CmsResourceCategoryInfo(CmsUUID structureId,
                               CmsListInfoBean resourceInfo,
                               java.util.List<java.lang.String> currentCategories,
                               java.util.List<CmsCategoryTreeEntry> categoryTree)
Constructor.

Parameters:
structureId - the resource structure id
resourceInfo - the resource info bean
currentCategories - the current resource categories
categoryTree - the category tree

CmsResourceCategoryInfo

protected CmsResourceCategoryInfo()
Constructor, for serialization only.

Method Detail

getCategoryTree

public java.util.List<CmsCategoryTreeEntry> getCategoryTree()
Returns the category tree.

Returns:
the category tree

getCurrentCategories

public java.util.List<java.lang.String> getCurrentCategories()
Returns the current resource categories.

Returns:
the current resource categories

getResourceInfo

public CmsListInfoBean getResourceInfo()
Returns the resource info bean.

Returns:
the resource info bean

getStructureId

public CmsUUID getStructureId()
Returns the resource structure id.

Returns:
the resource structure id