Package org.orcid.jaxb.model.message
Enum Class ScopePathType
- All Implemented Interfaces:
Serializable,Comparable<ScopePathType>,Constable
Java class for scope-path-type.
The following schema fragment specifies the expected content contained within
this class.
<simpleType name="scope-path-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="/authorize"/>
<enumeration value="/authenticate"/>
<enumeration value="/read-public"/>
<enumeration value="/webhook"/>
<enumeration value="/orcid-bio/read-limited"/>
<enumeration value="/orcid-profile/read-limited"/>
<enumeration value="/orcid-works/read-limited"/>
<enumeration value="/funding/read-limited"/>
<enumeration value="/orcid-patents/read-limited"/>
<enumeration value="/orcid-works/update"/>
<enumeration value="/funding/update"/>
<enumeration value="/orcid-patents/update"/>
<enumeration value="/orcid-bio/external-identifiers/create"/>
<enumeration value="/orcid-bio/update"/>
<enumeration value="/orcid-works/create"/>
<enumeration value="/funding/create"/>
<enumeration value="/orcid-patents/create"/>
<enumeration value="/orcid-profile/create"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioncombined()static ScopePathTypestatic StringgetScopesAsStrings(Collection<ScopePathType> scopes) getScopesAsStrings(ScopePathType... scopes) static Set<ScopePathType>getScopesFromSpaceSeparatedString(String scopesString) static Set<ScopePathType>getScopesFromStrings(Collection<String> scopes) booleanbooleanhasScope(ScopePathType scope) static booleanhasStringScope(String scope, ScopePathType required) booleanbooleanbooleanbooleanvalue()static ScopePathTypeReturns the enum constant of this class with the specified name.static ScopePathType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_PUBLIC
-
AUTHENTICATE
-
ORCID_BIO_EXTERNAL_IDENTIFIERS_CREATE
-
ORCID_BIO_READ_LIMITED
-
ORCID_BIO_UPDATE
-
AFFILIATIONS_CREATE
-
AFFILIATIONS_READ_LIMITED
-
AFFILIATIONS_UPDATE
-
FUNDING_CREATE
-
FUNDING_READ_LIMITED
-
FUNDING_UPDATE
-
ORCID_PATENTS_CREATE
-
ORCID_PATENTS_READ_LIMITED
-
ORCID_PATENTS_UPDATE
-
PEER_REVIEW_CREATE
-
PEER_REVIEW_READ_LIMITED
-
PEER_REVIEW_UPDATE
-
ORCID_WORKS_CREATE
-
ORCID_WORKS_READ_LIMITED
-
ORCID_WORKS_UPDATE
-
PERSON_READ_LIMITED
-
PERSON_UPDATE
-
ACTIVITIES_READ_LIMITED
-
ACTIVITIES_UPDATE
-
READ_LIMITED
-
ORCID_PROFILE_READ_LIMITED
-
EMAIL_READ_PRIVATE
-
WEBHOOK
-
GROUP_ID_RECORD_READ
-
GROUP_ID_RECORD_UPDATE
-
OPENID
-
ORCID_PROFILE_CREATE
-
BASIC_NOTIFICATION
-
PREMIUM_NOTIFICATION
-
INTERNAL
-
INTERNAL_PERSON_LAST_MODIFIED
-
IDENTIFIER_TYPES_CREATE
-
SALESFORCE_MEMBER_LIST_READ
-
SALESFORCE_MEMBER_LIST_WRITE
-
SALESFORCE_MEMBER_LIST_FULL_ACCESS
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
-
getContent
-
fromValue
-
combined
- Returns:
- A set containing this scope and all its inherited scopes
-
isReadOnlyScope
public boolean isReadOnlyScope() -
isClientCreditalScope
public boolean isClientCreditalScope() -
isUserGrantWriteScope
public boolean isUserGrantWriteScope() -
isInternalScope
public boolean isInternalScope() -
getCombinedAsStrings
- Returns:
- A set containing the external identifiers for this scope and all its inherited scopes
-
hasScope
-
hasScope
-
hasStringScope
-
getScopesFromStrings
-
getCombinedScopesFromStringsAsStrings
-
getScopesFromSpaceSeparatedString
-
getScopesAsStrings
-
getScopesAsSingleString
-
getScopesAsStrings
-