Package org.opencms.gwt.shared
Class CmsResourceCategoryInfo
- java.lang.Object
-
- 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
Constructors Modifier Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 idresourceInfo
- the resource info beancurrentCategories
- the current resource categoriescategoryTree
- 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
-
-