All Implemented Interfaces:

public class File extends Element
Models files nested within SemanticCMS pages and elements.
  • Constructor Details

    • File

      public File()
  • Method Details

    • getElementIdTemplate

      protected String getElementIdTemplate()
      Does not include the size on the ID template, also strips any file extension if it will not leave the filename empty.
      getElementIdTemplate in class Element
    • getLabel

      public String getLabel()
      The label is always the filename.
      Specified by:
      getLabel in class Node
    • getPageRef

      public PageRef getPageRef()
    • setPageRef

      public void setPageRef(PageRef pageRef)
    • isHidden

      public boolean isHidden()
      isHidden in class Element
    • setHidden

      public void setHidden(boolean hidden)
    • getDefaultIdPrefix

      protected String getDefaultIdPrefix()
      Specified by:
      getDefaultIdPrefix in class Element