com.atlassian.jira.sharing
Interface SharePermission

All Known Implementing Classes:
SharePermissionImpl

public interface SharePermission

Represents a JIRA share from the database.

Since:
v3.13

Method Summary
 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.
 

Method Detail

getId

Long getId()
The identifier of the share. Can be null if the share has not been stored.

Returns:
the identifier of the share.

getType

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

Returns:
the type of the share.

getParam1

String getParam1()
The first parameter of the permission. Its value can be null.

Returns:
the value of the permissions first parameter.

getParam2

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.


Copyright © 2002-2013 Atlassian. All Rights Reserved.