Class GomMediaStoreFolder

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

@NonExtendable public class GomMediaStoreFolder extends AbstractGomElement implements GomCheckable
Folder element for simple folder restrictions
Since:
4.2
See Also:
  • Field Details

  • Constructor Details

    • GomMediaStoreFolder

      public GomMediaStoreFolder(String name)
      Creates a new instance with the given name
      Since:
      4.2
  • Method Details

    • getName

      public String getName()
      The allowed upload folder to set for the defined store name
      Since:
      4.2
    • setName

      public void setName(String name)
      Sets the allowed upload folder to set for the defined store name
      Since:
      4.2
    • getStore

      @Deprecated(since="4.2.20") public String getStore()
      Deprecated.
      since 4.2.20 - Use Store.Type#MEDIASTORE#getName()
      The store name. Will always be 'mediastore'
      Since:
      4.2
    • setStore

      @Deprecated(since="4.2.20") public void setStore(String storeName)
      Deprecated.
      since 4.2.20 - no replacement
      Deprecated, does nothing.
      Since:
      4.2
    • getDefaultTag

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

      public void verify() throws IllegalStateException
      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
      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.