java.lang.Object
fr.paris.lutece.plugins.wiki.business.item.AbstractWikiItem
fr.paris.lutece.plugins.wiki.business.item.impl.Chapter
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource, Serializable, Cloneable

public class Chapter extends AbstractWikiItem
See Also:
  • Field Details

  • Constructor Details

    • Chapter

      public Chapter()
      Constructor
    • Chapter

      public Chapter(Chapter chapter)
      Copy constructor
      Parameters:
      chapter - the chapter to copy
  • Method Details

    • getResourceType

      public String getResourceType()
      Get the resource type
      Specified by:
      getResourceType in class AbstractWikiItem
      Returns:
      the resource type
    • getOrder

      public int getOrder()
      Get the order
      Overrides:
      getOrder in class AbstractWikiItem
      Returns:
      the order
    • setOrder

      public void setOrder(int order)
      Set the order
      Overrides:
      setOrder in class AbstractWikiItem
      Parameters:
      order - the order
    • hasOrder

      public boolean hasOrder()
      Check if the wiki item has an order
      Overrides:
      hasOrder in class AbstractWikiItem
      Returns:
      true if has order, false otherwise
    • getChildType

      public WikiItemType getChildType()
      Get the child item type
      Overrides:
      getChildType in class AbstractWikiItem
      Returns:
      the child item type or null if no children
    • getAllowedChildTypes

      public Set<WikiItemType> getAllowedChildTypes()
      Get all allowed child item types
      Specified by:
      getAllowedChildTypes in class AbstractWikiItem
      Returns:
      the set of allowed child item types, empty set if no children allowed
    • getAllowedParentTypes

      public Set<WikiItemType> getAllowedParentTypes()
      Get all allowed parent item types
      Specified by:
      getAllowedParentTypes in class AbstractWikiItem
      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:
      supportsContent in class AbstractWikiItem
      Returns:
      true if content is supported, false otherwise
    • clone

      public Chapter clone()
      Clone the wiki item
      Overrides:
      clone in class AbstractWikiItem
      Returns:
      a copy of the wiki item