public class PortalPageDisplayBean extends Object implements SharesListHelper
PortalPage
. Does a lot of the calculations that need to be done.Constructor and Description |
---|
PortalPageDisplayBean(JiraAuthenticationContext authCtx,
PortalPage portalPage,
FavouritesService favouriteService,
GlobalPermissionManager permissionManager,
ShareTypeFactory shareTypeFactory,
UserFormats userFormatManager,
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() |
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.
|
boolean |
isCurrentOwner() |
boolean |
isFavourite()
Is this shared entity a favourite of the current user
|
boolean |
isPrivate()
Is this shared entity privately shared?
|
boolean |
isSystemDashboard() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getSharePermissions, isPrivate
public PortalPageDisplayBean(JiraAuthenticationContext authCtx, PortalPage portalPage, FavouritesService favouriteService, GlobalPermissionManager permissionManager, ShareTypeFactory shareTypeFactory, UserFormats userFormatManager, ShareManager shareManager)
public boolean isSystemDashboard()
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-2021 Atlassian. All Rights Reserved.