Class AbstractGomContentReferenceElement

All Implemented Interfaces:
GomCheckable, GomElement, GomFormElement, GomHideable, GomIndexTreatment, GomLangInfoProvider, GomSearchRelevancy, GomTableTemplateProvider, LineBreakable, Serializable
Direct Known Subclasses:
GomObjectChooser, GomTabList

@NonExtendable public abstract class AbstractGomContentReferenceElement extends AbstractGomTableTemplateElement
Abstract base implementation for content reference elements
Since:
3.0
See Also:
  • Constructor Details

    • AbstractGomContentReferenceElement

      public AbstractGomContentReferenceElement()
  • Method Details

    • getAllowChoose

      public YesNo getAllowChoose()
      Indicates if it is allowed to choose existing data entries
      Since:
      3.0
    • setAllowChoose

      public void setAllowChoose(YesNo allowChoose)
      Set if it is allowed to choose existing data entries
      Since:
      3.0
    • getAllowNew

      public YesNo getAllowNew()
      Indicates if it is allowed to create new data entries
      Since:
      3.0
    • setAllowNew

      public void setAllowNew(YesNo allowNew)
      Sets if it is allowed to create new data entries
      Since:
      3.0
    • getAllowEdit

      public YesNo getAllowEdit()
      Indicates if it is allowed to edit data entries
      Since:
      3.0
    • setAllowEdit

      public void setAllowEdit(YesNo allowEdit)
      Sets if it is allowed to edit data entries
      Since:
      3.0
    • getLangInfos

      public GomExpressionLangInfos getLangInfos()
      Description copied from class: AbstractGomFormElement
      Provides language dependent information on this form element, like a label and description for multiple languages.
      Specified by:
      getLangInfos in interface GomLangInfoProvider
      Overrides:
      getLangInfos in class AbstractGomFormElement
      Returns:
      A language information container.
    • allowsNew

      public boolean allowsNew()
      Convenience API for getAllowNew() returning a boolean value
      Since:
      3.0
    • allowsChoosing

      public boolean allowsChoosing()
      Convenience API for getAllowChoose() returning a boolean value
      Since:
      3.0
    • allowsEdit

      public boolean allowsEdit()
      Convenience API for getAllowEdit() returning a boolean value
      Since:
      3.0
    • expressions

      @NotNull public @NotNull Map<String,String> expressions()
      Returns a map from the language names to expressions
      Since:
      4.0
    • getTemplateRef

      @Deprecated(since="4.0") public TableTemplateReference getTemplateRef()
      Deprecated.
      since 4.0 - no replacement
      Reference to the table template
      Since:
      3.0
    • setTemplateRef

      @Deprecated(since="5.2.241303") public void setTemplateRef(TableTemplateReference reference)
      Deprecated.
      since 5.2.241303 - no replacement
      Sets the reference to the table template
      Since:
      3.0