Class Page
java.lang.Object
fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
fr.paris.lutece.plugins.wiki.business.item.impl.Page
- 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 resource typeMethods inherited from class fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
getBreadcrumb, getChildren, getChildType, 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
-
Page
public Page()Constructor -
Page
Copy constructor- Parameters:
page- the page to copy
-
-
Method Details
-
getResourceType
Get the resource type- Specified by:
getResourceTypein classAbstractWikiItem- Returns:
- the resource type
-
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
-