public interface

SharePermission

com.atlassian.jira.sharing.SharePermission
Known Indirect Subclasses

Class Overview

Represents a JIRA share from the database.

Summary

Public Methods
Long getId()
The identifier of the share.
String getParam1()
The first parameter of the permission.
String getParam2()
The second parameter of the permission.
ShareType.Name getType()
The type of the share (e.g.

Public Methods

public Long getId ()

The identifier of the share. Can be null if the share has not been stored.

Returns
  • the identifier of the share.

public String getParam1 ()

The first parameter of the permission. Its value can be null.

Returns
  • the value of the permissions first parameter.

public String getParam2 ()

The second parameter of the permission. Its value can be null. This parameter cannot have a value when {#getParam1} returns null.

Returns
  • the value of the permissions second parameter.

public ShareType.Name getType ()

The type of the share (e.g. group). Should never be null.

Returns
  • the type of the share.