Class Category
java.lang.Object
fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
fr.paris.lutece.plugins.wiki.business.item.impl.Category
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource,Serializable,Cloneable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone the wiki itemGet all allowed child item typesGet all allowed parent item typesGet the child item typeGet the resource typebooleanCheck if this wiki item type supports content in revisionsMethods inherited from class fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
getBreadcrumb, getChildren, getCode, getCurrentRevision, getDateCreation, getEditRole, getIcon, getId, getIdParent, getOrder, getParent, getParentViewUrl, getResourceId, getResourceTypeCode, getType, getViewRole, getViewUrl, hasOrder, isPublished, setChildren, setCode, setCurrentRevision, setDateCreation, setDateModification, setEditRole, setIcon, setId, setIdParent, setIsPublished, setOrder, setType, setViewRole
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
-
Constructor Details
-
Category
public Category()Constructor -
Category
Copy constructor- Parameters:
category- the category to copy
-
-
Method Details
-
getResourceType
Get the resource type- Specified by:
getResourceTypein classAbstractWikiItem- Returns:
- the resource type
-
getChildType
Get the child item type- Overrides:
getChildTypein classAbstractWikiItem- Returns:
- the child item type or null if no children
-
getAllowedChildTypes
Get all allowed child item types- Specified by:
getAllowedChildTypesin classAbstractWikiItem- Returns:
- the set of allowed child item types, empty set if no children allowed
-
getAllowedParentTypes
Get all allowed parent item types- Specified by:
getAllowedParentTypesin classAbstractWikiItem- Returns:
- the set of allowed parent item types, empty set if no parent allowed
-
supportsContent
public boolean supportsContent()Check if this wiki item type supports content in revisions- Overrides:
supportsContentin classAbstractWikiItem- Returns:
- true if content is supported, false otherwise
-
clone
Clone the wiki item- Overrides:
clonein classAbstractWikiItem- Returns:
- a copy of the wiki item
-