|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.action.util.SearchRequestDisplayBean
public class SearchRequestDisplayBean
Utility class for displaying a search request. Does a lot of the calculations that need to be done. E.g. is it a favourite, how many issues it contains, how many subscriptions.
Nested Class Summary | |
---|---|
static class |
SearchRequestDisplayBean.Factory
|
Constructor Summary | |
---|---|
SearchRequestDisplayBean(JiraAuthenticationContext authCtx,
SearchRequest request,
SearchProvider searchProvider,
FavouritesService favouriteService,
PermissionManager permissionManager,
FilterSubscriptionService subscriptionService,
ShareTypeFactory shareTypeFactory,
UserFormatManager userFormatManager)
|
Method Summary | |
---|---|
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? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchRequestDisplayBean(JiraAuthenticationContext authCtx, SearchRequest request, SearchProvider searchProvider, FavouritesService favouriteService, PermissionManager permissionManager, FilterSubscriptionService subscriptionService, ShareTypeFactory shareTypeFactory, UserFormatManager userFormatManager)
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |