@AlfrescoPublicApi public enum AuthorityType extends Enum<AuthorityType>
Available types are:
Enum Constant and Description |
---|
ADMIN |
EVERYONE |
GROUP |
GUEST |
OWNER |
ROLE |
USER |
WILDCARD |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(String authority) |
static AuthorityType |
getAuthorityType(String authority) |
abstract String |
getFixedString() |
abstract int |
getOrderPosition() |
abstract String |
getPrefixString() |
abstract boolean |
isFixedString() |
abstract boolean |
isPrefixed() |
static AuthorityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorityType ADMIN
public static final AuthorityType EVERYONE
public static final AuthorityType OWNER
public static final AuthorityType GUEST
public static final AuthorityType GROUP
public static final AuthorityType ROLE
public static final AuthorityType USER
public static final AuthorityType WILDCARD
public static AuthorityType[] values()
for (AuthorityType c : AuthorityType.values()) System.out.println(c);
public static AuthorityType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean isFixedString()
public abstract String getFixedString()
public abstract boolean isPrefixed()
public abstract String getPrefixString()
public abstract int getOrderPosition()
public boolean equals(String authority)
public static AuthorityType getAuthorityType(String authority)
Copyright © 2005–2020 Alfresco Software. All rights reserved.