@Immutable public static final class SharedEntity.SharePermissions extends Object implements Iterable<SharePermission>
SharedEntity
has.Modifier and Type | Field and Description |
---|---|
static SharedEntity.SharePermissions |
GLOBAL |
static SharedEntity.SharePermissions |
PRIVATE |
Constructor and Description |
---|
SharePermissions(Set<? extends SharePermission> permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<SharePermission> |
getPermissionSet() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isGlobal() |
boolean |
isPrivate() |
Iterator<SharePermission> |
iterator() |
int |
size() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final SharedEntity.SharePermissions GLOBAL
public static final SharedEntity.SharePermissions PRIVATE
public SharePermissions(Set<? extends SharePermission> permissions)
public Iterator<SharePermission> iterator()
iterator
in interface Iterable<SharePermission>
public boolean isGlobal()
public boolean isPrivate()
public boolean isEmpty()
public int size()
public Set<SharePermission> getPermissionSet()
Copyright © 2002-2015 Atlassian. All Rights Reserved.