Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

org.alfresco.service.cmr.security
Enum AuthorityType
java.lang.Object
  java.lang.Enum<AuthorityType>
      org.alfresco.service.cmr.security.AuthorityType
All Implemented Interfaces:
Comparable<AuthorityType>, Serializable

@org.alfresco.api.AlfrescoPublicApi
public enum AuthorityType
extends Enum<AuthorityType>
The types of authority that are available.

Available types are:

  1. USER - an authority that identifies a user
  2. GROUP - an authority that identifies a group
  3. OWNER - the special authority that applies to the owner of a node
  4. EVERYONE - the special authority that is interpreted as everyone
  5. GUEST - the special authority that applies to a GUEST (An unknown, unauthenticated user)
  6. WILDCARD - the set of all authorities (including the guest user)
Author:
Andy Hind

Enum Constant Summary
ADMIN
EVERYONE
GROUP
GUEST
OWNER
ROLE
USER
WILDCARD
Method Summary
boolean
equals(String authority)
getAuthorityType(String authority)
abstract String
getFixedString()
abstract int
getOrderPosition()
abstract String
getPrefixString()
abstract boolean
isFixedString()
abstract boolean
isPrefixed()
valueOf(String name)
static AuthorityType[]
values()
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail
ADMIN
public static final AuthorityType ADMIN

EVERYONE
public static final AuthorityType EVERYONE

OWNER
public static final AuthorityType OWNER

GUEST
public static final AuthorityType GUEST

GROUP
public static final AuthorityType GROUP

ROLE
public static final AuthorityType ROLE

USER
public static final AuthorityType USER

WILDCARD
public static final AuthorityType WILDCARD
Method Detail
values
public static AuthorityType[] values()

valueOf
public static AuthorityType valueOf(String name)

isFixedString
public abstract boolean isFixedString()

getFixedString
public abstract String getFixedString()

isPrefixed
public abstract boolean isPrefixed()

getPrefixString
public abstract String getPrefixString()

getOrderPosition
public abstract int getOrderPosition()

equals
public boolean equals(String authority)

getAuthorityType
public static AuthorityType getAuthorityType(String authority)

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.