@Immutable public static final class

SharedEntity.SharePermissions

extends Object
implements Iterable<T>
java.lang.Object
   ↳ com.atlassian.jira.sharing.SharedEntity.SharePermissions

Class Overview

Encapsulates the permissions that a SharedEntity has.

Summary

Fields
public static final SharedEntity.SharePermissions GLOBAL
public static final SharedEntity.SharePermissions PRIVATE
Public Constructors
SharePermissions(Set<? extends SharePermission> permissions)
Public Methods
boolean equals(Object obj)
Set<SharePermission> getPermissionSet()
int hashCode()
boolean isEmpty()
boolean isGlobal()
boolean isPrivate()
Iterator<SharePermission> iterator()
int size()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable

Fields

public static final SharedEntity.SharePermissions GLOBAL

public static final SharedEntity.SharePermissions PRIVATE

Public Constructors

public SharePermissions (Set<? extends SharePermission> permissions)

Public Methods

public boolean equals (Object obj)

public Set<SharePermission> getPermissionSet ()

public int hashCode ()

public boolean isEmpty ()

public boolean isGlobal ()

public boolean isPrivate ()

public Iterator<SharePermission> iterator ()

public int size ()

public String toString ()