All Implemented Interfaces:
GomCheckable, GomElement, GomFormElement, GomHideable, GomLangInfoProvider, GomProjectProvider, GomSearchRelevancy, LineBreakable, Serializable
Direct Known Subclasses:
GomImageMap, GomMultipleMediaChooser, GomPicture

@Deprecated(since="5.0") public class GomFile extends AbstractGomFormElement implements GomProjectProvider
Deprecated.
since 5.0, use FS_REFERENCE instead
GOM element implementing a file.
Since:
2.0
See Also:
  • Field Details

  • Constructor Details

    • GomFile

      public GomFile()
      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.
    • getUpload

      public YesNo getUpload()
      Deprecated.
      Indicates if it is allowed to upload media.
      Since:
      4.0
    • setUpload

      public void setUpload(YesNo upload)
      Deprecated.
      Sets if it is allowed to upload media.
      Since:
      4.0
    • getUploadFolder

      @Deprecated(since="4.2.5") public String getUploadFolder()
      Deprecated.
      since 4.2.5 - no replacement
      Store folder used for uploads, if upload is allowed
      Since:
      4.0
    • setUploadFolder

      @Deprecated(since="4.2.5") public void setUploadFolder(String uploadFolder)
      Deprecated.
      since 4.2.5 - no replacement
      Sets the store folder used for uploads, if upload is allowed
      Since:
      4.0
    • getAllowFolder

      public YesNo getAllowFolder()
      Deprecated.
      Indicates if folders are allowed as selection
      Since:
      3.0
    • setAllowFolder

      public void setAllowFolder(YesNo allowFolder)
      Deprecated.
      Sets if folders are allowed as selection
      Since:
      3.0
    • getSources

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

      public YesNo getAllowLanguageDependentUpload()
      Deprecated.
      Indicates if it is allowed to upload language-dependent media
      Since:
      3.1
    • setAllowLanguageDependentUpload

      public void setAllowLanguageDependentUpload(YesNo allowLanguageDependentUpload)
      Deprecated.
      Sets if it is allowed to upload language-dependent media
      Since:
      3.1
    • getRemote

      @Deprecated(since="4.2.5") public String getRemote()
      Deprecated.
      since 4.2.5 - no replacement
      Symbolic remote project name
      Since:
      3.1
    • setRemote

      @Deprecated(since="4.2.5") public void setRemote(String remote)
      Deprecated.
      since 4.2.5 - no replacement
      Sets the remote project name
      Since:
      3.1
    • getRemoteOnly

      @Deprecated(since="4.2.5") public YesNo getRemoteOnly()
      Deprecated.
      since 4.2.5 - no replacement
      Indicates if only the remote project should be shown as valid selection source
      Since:
      3.1
    • setRemoteOnly

      @Deprecated(since="4.2.5") public void setRemoteOnly(YesNo remoteOnly)
      Deprecated.
      since 4.2.5 - no replacement
      Sets if only the remote project should be shown as valid selection source
      Since:
      3.1
    • getRemoteUploadFolder

      @Deprecated(since="4.2.5") public String getRemoteUploadFolder()
      Deprecated.
      since 4.2.5 - no replacement
      Fixed folder for upload in the remote project
      Since:
      3.1
    • setRemoteUploadFolder

      @Deprecated(since="4.2.5") public void setRemoteUploadFolder(String remoteUploadFolder)
      Deprecated.
      since 4.2.5 - no replacement
      Sets the fixed folder for upload in the remote project
      Since:
      3.1
    • getAutoReleaseRemote

      @Deprecated(since="4.2.17") public YesNo getAutoReleaseRemote()
      Deprecated.
      since 4.2.17 - no replacement
      Indicates if the release behavior in the remote project is overridden to automatic release
      Since:
      3.1
    • setAutoReleaseRemote

      @Deprecated(since="4.2.17") public void setAutoReleaseRemote(YesNo autoReleaseRemote)
      Deprecated.
      since 4.2.17 - no replacement
      Sets if the release behavior in the remote project is overridden to automatic release
      Since:
      3.1
    • getProjects

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

      public boolean allowsFolder()
      Deprecated.
      Convenience API for getAllowFolder() returning a boolean value
      Since:
      3.0
    • allowsUpload

      public boolean allowsUpload()
      Deprecated.
      Convenience API for getUpload() returning a boolean value
      Since:
      3.0
    • allowsLanguageDependentUpload

      public boolean allowsLanguageDependentUpload()
      Deprecated.
      Convenience API for getAllowLanguageDependentUpload() returning a boolean value
      Since:
      3.1
    • sources

      @NotNull public @NotNull List<String> sources()
      Deprecated.
      Convenience API for getSources() returning a list of source names in the same iteration order
      Since:
      4.0
    • remoteOnly

      @Deprecated(since="4.2.5") public boolean remoteOnly()
      Deprecated.
      since 4.2.5 - no replacement
      Convenience API for getRemoteOnly() returning a boolean value
      Since:
      3.1
    • autoReleaseRemote

      @Deprecated(since="4.2.17") public boolean autoReleaseRemote()
      Deprecated.
      since 4.2.17 - no replacement
      Convenience API for getAutoReleaseRemote() returning a boolean value
      Since:
      3.1
    • 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.
    • getFolders

      @Deprecated(since="4.0") public String getFolders()
      Deprecated.
      since 4.0 - no replacement
      Folder-restriction from comma-separated list
      Since:
      2.0
    • setFolders

      @Deprecated(since="4.0") public void setFolders(String csv)
      Deprecated.
      since 4.0 - no replacement
      Parse folder-restrictions from CSV
      Since:
      2.0