public interface RepositoryPermission
RepositoryPermission allows to evaluate permissions that have
been defined on the repository level and which consequently are not bound
to a particular item.| Modifier and Type | Field and Description |
|---|---|
static RepositoryPermission |
ALL
RepositoryPermission instance that always returns true. |
static RepositoryPermission |
EMPTY
RepositoryPermission instance that always returns false. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGranted(long repositoryPermissions)
Returns
true if the specified repository level permissions are
granted; false otherwise. |
static final RepositoryPermission EMPTY
RepositoryPermission instance that always returns false.static final RepositoryPermission ALL
RepositoryPermission instance that always returns true.boolean isGranted(long repositoryPermissions)
true if the specified repository level permissions are
granted; false otherwise.repositoryPermissions - Any valid repository level permission such as
for example:
true if the specified repository level permissions are
granted; false otherwisePermissions.isRepositoryPermission(long)Copyright © 2010 - 2020 Adobe. All Rights Reserved