Enum Class PublicLinkAccess

java.lang.Object
java.lang.Enum<PublicLinkAccess>
org.exoplatform.documents.constant.PublicLinkAccess
All Implemented Interfaces:
Serializable, Comparable<PublicLinkAccess>, Constable

public enum PublicLinkAccess extends Enum<PublicLinkAccess>
What a public link grants an anonymous visitor, decided on one read of the link and of its document's space
  • Enum Constant Details

    • NONE

      public static final PublicLinkAccess NONE
      No link, or a link of a document whose space keeps its documents inside
    • EXPIRED

      public static final PublicLinkAccess EXPIRED
      The link has expired
    • INVALID_PASSWORD

      public static final PublicLinkAccess INVALID_PASSWORD
      The link asks for a password the visitor did not give
    • GRANTED

      public static final PublicLinkAccess GRANTED
      The link serves its document
  • Method Details

    • values

      public static PublicLinkAccess[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PublicLinkAccess valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null