All Implemented Interfaces:
GomCheckable, GomElement, GomFormElement, GomHideable, GomLangInfoProvider, GomProjectProvider, GomSearchRelevancy, LineBreakable, Serializable

@Deprecated(since="5.0") @NonExtendable public class GomPageRef extends AbstractGomFormElement implements GomProjectProvider
Deprecated.
since 5.0, use FS_REFERENCE instead
GOM element implementation for page references.
See Also:
  • Field Details

  • Constructor Details

    • GomPageRef

      public GomPageRef()
      Deprecated.
  • Method Details

    • getDefaultTag

      protected String getDefaultTag()
      Deprecated.
      Description copied from class: AbstractGomElement
      Return the default tag for a gom element.
      Specified by:
      getDefaultTag in class AbstractGomElement
      Returns:
      The elements default tag.
    • getMediaStore

      public YesNo getMediaStore()
      Deprecated.
      Indicates if it is allowed to reference media
      Since:
      2.0
    • setMediaStore

      public void setMediaStore(YesNo mediaStore)
      Deprecated.
      Sets if it is allowed to reference media
      Since:
      2.0
    • getSections

      public PageRefMode getSections()
      Deprecated.
      Determines which kind of references are allowed
      Since:
      2.0
    • setSections

      public void setSections(PageRefMode sections)
      Deprecated.
      Sets which kind of references are allowed
      Since:
      2.0
    • getFolders

      @Deprecated(since="4.0") public String getFolders()
      Deprecated.
      since 4.0 - no replacement
      Folder restrictions
      Since:
      2.0
    • setFolders

      @Deprecated(since="4.0") public void setFolders(String csv)
      Deprecated.
      since 4.0 - no replacement
      Set folder-restrictions according to a comma-separated list
      Parameters:
      csv - the comma-separated list containing the folder-restrictions
      Since:
      2.0
    • getSources

      @Deprecated(since="4.2") public GomSiteOrMediaStoreFolderList getSources()
      Deprecated.
      since 4.2 - use getProjects()
      Restrict access to specific folders (including sub-folders)
      Since:
      4.0
    • getProjects

      public GomSiteOrMediaStoreProjectList getProjects()
      Deprecated.
      Description copied from interface: GomProjectProvider
      Projects to be used as sources
      Specified by:
      getProjects in interface GomProjectProvider
    • getHFill

      public YesNo getHFill()
      Deprecated.
      Description copied from class: AbstractGomFormElement
      Indicates, whether to horizontally fill a form by this form element.
      Overrides:
      getHFill in class AbstractGomFormElement
      Returns:
      YES, if set to fill horizontally. Default is no.
    • getSortOrder

      public SortOrder getSortOrder()
      Deprecated.
      Describes the sort order for section selection combobox
      Since:
      4.0
    • setSortOrder

      public void setSortOrder(SortOrder sortOrder)
      Deprecated.
      Sets the sort order for section selection combobox
      Since:
      4.0
    • allowsMedia

      public boolean allowsMedia()
      Deprecated.
      Convenience API for getMediaStore() returning a boolean value
      Since:
      4.0
    • sections

      @NotNull public @NotNull PageRefMode sections()
      Deprecated.
      Convenience API for getSections() returning a non-null value.
      Returns:
      the value of getSections() or PageRefMode.PAGE if unset
      Since:
      4.0
    • sortOrder

      @NotNull public @NotNull SortOrder sortOrder()
      Deprecated.
      Convenience API for getSortOrder() returning a non-null value.
      Returns:
      the value of getSortOrder() or SortOrder.KEEP_ORDER if unset
      Since:
      4.0
    • sources

      public List<String> sources()
      Deprecated.
      Convenience API returning the source names as a list of strings.
      Since:
      4.0
    • projectConstraints

      public List<ProjectConstraint> projectConstraints()
      Deprecated.
      Description copied from interface: GomProjectProvider
      Get the list of defined constraints.
      Specified by:
      projectConstraints in interface GomProjectProvider
      Returns:
      The list of project constraints.