|
||||||||||
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.PortalPageDisplayBean
public class PortalPageDisplayBean
Utility class for displaying a PortalPage
. Does a lot of the calculations that need to be done.
Constructor Summary | |
---|---|
PortalPageDisplayBean(JiraAuthenticationContext authCtx,
PortalPage portalPage,
FavouritesService favouriteService,
PermissionManager permissionManager,
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 pages |
Collection<SharePermission> |
getAllSharePermissions()
|
long |
getAlternateFavouriteCount()
How many times has this page been favourited altered by whether it will disabled or enabled |
String |
getDescription()
|
Long |
getFavouriteCount()
How many times has this page been favourited |
Long |
getId()
Return the ID of the entity that owns the shares. |
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 page. |
String |
getSimpleDescription(SharePermission sharePermission)
Return a simple description of the passed in permission. |
boolean |
isCurrentOwner()
|
boolean |
isFavourite()
Is this page a favourite of the current user |
boolean |
isPrivate()
Is this privately shared? |
boolean |
isSystemDashboard()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortalPageDisplayBean(JiraAuthenticationContext authCtx, PortalPage portalPage, FavouritesService favouriteService, PermissionManager permissionManager, 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 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 share permission to render.
public String getSimpleDescription(SharePermission sharePermission)
sharePermission
- The permission to describe.
public boolean isSystemDashboard()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |