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,
GlobalPermissionManager permissionManager,
FilterSubscriptionService subscriptionService,
ShareTypeFactory shareTypeFactory,
UserFormats userFormats,
ShareManager shareManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEdit() |
boolean |
canEditColumns()
Is it possible to edit columns in this version of JIRA
|
boolean |
canShare()
Is it possible to share pages
|
Collection<SharePermission> |
getAllSharePermissions() |
long |
getAlternateFavouriteCount()
How many times has this shared entity been favourited altered by by wether it will disabled or enabled
|
String |
getDescription() |
Long |
getFavouriteCount()
How many times has this shared entity been favourited
|
Long |
getId() |
long |
getIssueCount()
How many user visible issues does this filter match?
|
String |
getName() |
String |
getOwnerFullName() |
String |
getOwnerUserName() |
Collection<SharePermission> |
getSharePermissions() |
String |
getShareView(SharePermission sharePermission)
Return HTML view of the current sharing status of the page.
|
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 shared entity a favourite of the current user
|
boolean |
isPrivate()
Is this shared entity privately shared?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getSharePermissions, isPrivate
public SearchRequestDisplayBean(JiraAuthenticationContext authCtx, SearchRequest request, SearchProvider searchProvider, FavouritesService favouriteService, GlobalPermissionManager permissionManager, FilterSubscriptionService subscriptionService, ShareTypeFactory shareTypeFactory, UserFormats userFormats, ShareManager shareManager)
public long getIssueCount()
public long getSubscriptionCount()
public Long getId()
public String getOwnerUserName()
public String getOwnerFullName()
public String getName()
public boolean isCurrentOwner()
public boolean canEdit()
public String getDescription()
public boolean isPrivate()
public boolean isFavourite()
public Long getFavouriteCount()
public long getAlternateFavouriteCount()
public boolean canShare()
public boolean canEditColumns()
public Collection<SharePermission> getSharePermissions()
public Collection<SharePermission> getAllSharePermissions()
public String getShareView(SharePermission sharePermission)
sharePermission
- the share permission to render.public String getSimpleDescription(SharePermission sharePermission)
sharePermission
- The permission to describe.Copyright © 2002-2018 Atlassian. All Rights Reserved.