public class SearchRequestDisplayBean extends Object implements SharesListHelper
Modifier and Type | Class and Description |
---|---|
static class |
SearchRequestDisplayBean.Factory |
Constructor and Description |
---|
SearchRequestDisplayBean(JiraAuthenticationContext authCtx,
SearchRequest request,
SearchProvider searchProvider,
FavouritesService favouriteService,
PermissionManager permissionManager,
FilterSubscriptionService subscriptionService,
ShareTypeFactory shareTypeFactory,
UserFormatManager userFormatManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEditColumns()
Is it possible to edit columns in this version of JIRA
|
boolean |
canShare()
Is it possible to share filters
|
Collection<SharePermission> |
getAllSharePermissions() |
long |
getAlternateFavouriteCount()
How many times has this filter been favourited altered by by wether it will disabled or enabled
|
String |
getDescription() |
Long |
getFavouriteCount()
How many times has this filter been favourited
|
Long |
getId()
Return the ID of the entity that owns the shares.
|
long |
getIssueCount()
How many user visible issues does this filter match?
|
String |
getName() |
String |
getOwnerFullName() |
String |
getOwnerUserName() |
Collection<SharePermission> |
getSharePermissions()
Returns the share permissions associated with the entity.
|
String |
getShareView(SharePermission sharePermission)
Return HTML view of the current sharing status of the filter.
|
String |
getSimpleDescription(SharePermission sharePermission)
Return a simple description of the passed in permission.
|
long |
getSubscriptionCount()
How many subscriptions does this filter have? Only counts those subscriptions a user can see.
|
boolean |
isCurrentOwner() |
boolean |
isFavourite()
Is this filter a favourite of the current user
|
boolean |
isPrivate()
Is this filter privately shared?
|
public SearchRequestDisplayBean(JiraAuthenticationContext authCtx, SearchRequest request, SearchProvider searchProvider, FavouritesService favouriteService, PermissionManager permissionManager, FilterSubscriptionService subscriptionService, ShareTypeFactory shareTypeFactory, UserFormatManager userFormatManager)
public Long getId()
SharesListHelper
getId
in interface SharesListHelper
public String getOwnerUserName()
public String getOwnerFullName()
public String getName()
public boolean isCurrentOwner()
public String getDescription()
public long getIssueCount()
public long getSubscriptionCount()
public boolean isPrivate()
isPrivate
in interface SharesListHelper
public boolean isFavourite()
public Long getFavouriteCount()
public long getAlternateFavouriteCount()
public boolean canShare()
public boolean canEditColumns()
public Collection<SharePermission> getSharePermissions()
SharesListHelper
getSharePermissions
in interface SharesListHelper
public Collection<SharePermission> getAllSharePermissions()
public String getShareView(SharePermission sharePermission)
sharePermission
- the permision to generate HTML for.public String getSimpleDescription(SharePermission sharePermission)
sharePermission
- The permission to describe.Copyright © 2002-2015 Atlassian. All Rights Reserved.