Class Book
java.lang.Object
fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
fr.paris.lutece.plugins.wiki.business.item.impl.Book
- 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 typeMethods 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, supportsContent
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
-
Constructor Details
-
Book
public Book()Constructor -
Book
Copy constructor- Parameters:
book- the book 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
-
clone
Clone the wiki item- Overrides:
clonein classAbstractWikiItem- Returns:
- a copy of the wiki item
-