public interface

SharesListHelper

com.atlassian.jira.web.action.util.sharing.SharesListHelper
Known Indirect Subclasses

Class Overview

An interface to ensure that object that use the 'share-list.jsp' to render share permissions implement the necessary methods.

Summary

Public Methods
Long getId()
Return the ID of the entity that owns the shares.
Collection getSharePermissions()
Returns the share permissions associated with the entity.
boolean isPrivate()
Tells the caller whether or not the entity is has any shares or not.

Public Methods

public Long getId ()

Return the ID of the entity that owns the shares. Needs to be unique on a page.

Returns
  • the ID of the entity that owns the shared. Needs to be unique on a page.

public Collection getSharePermissions ()

Returns the share permissions associated with the entity.

Returns
  • a collection of shares associated with the entity.

public boolean isPrivate ()

Tells the caller whether or not the entity is has any shares or not.

Returns
  • true if the entity is shared privately or false otherwise.