Class GomSiteOrMediaStoreRemoteProjectEntry

java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomSiteOrMediaStoreRemoteProjectEntry
All Implemented Interfaces:
GomCheckable, GomElement, GomProjectEntry, GomRemoteProjectProviding, GomSingleProjectEntry, Serializable

@Deprecated(since="5.2.241303") @NonExtendable public class GomSiteOrMediaStoreRemoteProjectEntry extends AbstractGomElement implements GomSingleProjectEntry, GomCheckable, GomRemoteProjectProviding
Deprecated.
since 5.2.241303 - no replacement
A remote project representation for sitestore- and mediastore-based folder restrictions
Since:
4.2.5
See Also:
  • Field Details

  • Constructor Details

    • GomSiteOrMediaStoreRemoteProjectEntry

      public GomSiteOrMediaStoreRemoteProjectEntry()
      Deprecated.
  • Method Details

    • on

      public static GomSiteOrMediaStoreRemoteProjectEntry on(String remote)
      Deprecated.
      Creates an instance for the remote project with the given name
      Parameters:
      remote - the name of the remote project
      Since:
      4.2.5
    • 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.
    • getName

      public String getName()
      Deprecated.
      Description copied from interface: GomSingleProjectEntry
      The name of this entry.
      Specified by:
      getName in interface GomSingleProjectEntry
      Returns:
      The name of the project.
    • setName

      public void setName(String text)
      Deprecated.
      Sets the symbolic name of the remote project
      Since:
      4.2.5
    • getRemoteProjectName

      @Nullable public @Nullable String getRemoteProjectName()
      Deprecated.
      Description copied from interface: GomRemoteProjectProviding
      The name of a remote project configuration the uid references points to.
      Specified by:
      getRemoteProjectName in interface GomRemoteProjectProviding
      Returns:
      The associated remote project configuration name, or null for the local project.
    • getUploadFolder

      public String getUploadFolder()
      Deprecated.
      Description copied from interface: GomSingleProjectEntry
      Get the upload folder to be used for this project.
      Specified by:
      getUploadFolder in interface GomSingleProjectEntry
      Returns:
      The name of the upload folder.
    • setUploadFolder

      public void setUploadFolder(String uploadFolder)
      Deprecated.
      Description copied from interface: GomSingleProjectEntry
      Set the upload folder for this project.
      Specified by:
      setUploadFolder in interface GomSingleProjectEntry
      Parameters:
      uploadFolder - The name of the upload folder.
    • getAutoReleaseAfterUpload

      public YesNo getAutoReleaseAfterUpload()
      Deprecated.
      Indicates if an automatic release should be performed after uploading the media
      Since:
      4.2.9
    • setAutoReleaseAfterUpload

      public void setAutoReleaseAfterUpload(YesNo autoRelease)
      Deprecated.
      Indicates if an automatic release should be performed after uploading the media
      Since:
      4.2.9
    • getSources

      public GomSiteOrMediaStoreFolderList getSources()
      Deprecated.
      Restrict access to specific folders (including sub-folders and store roots)
      Since:
      4.2.9
    • asConstraint

      public ProjectConstraint asConstraint()
      Deprecated.
      Description copied from interface: GomProjectEntry
      Get a constraint representation of this entry.
      Specified by:
      asConstraint in interface GomProjectEntry
      Returns:
      The entry's constraint representation.
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • isLocal

      public boolean isLocal()
      Deprecated.
      Description copied from interface: GomSingleProjectEntry
      Indicates the local project.
      Specified by:
      isLocal in interface GomSingleProjectEntry
      Returns:
      true iff this entry represents the local project.
    • autoReleaseAfterUpload

      public boolean autoReleaseAfterUpload()
      Deprecated.
      Convenience API for getAutoReleaseAfterUpload() returning a boolean value
      Since:
      4.2.9
    • verify

      public void verify() throws IllegalStateException
      Deprecated.
      Description copied from interface: GomCheckable
      Verify the element to be fulfill its syntactic constraints.
      Specified by:
      verify in interface GomCheckable
      Throws:
      IllegalStateException - If the element is not correctly set up.
    • validate

      public void validate(GomCheckable.Context context) throws GomValidationError
      Deprecated.
      Description copied from interface: GomCheckable
      Validate the element against the given context.
      Specified by:
      validate in interface GomCheckable
      Parameters:
      context - The context to validate for, must not be null.
      Throws:
      GomValidationError - If the element is not plausible wrt. its context.