|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.portal.PortalPage
public final class PortalPage
This class represents a Dashboard page in JIRA. It includes dashboard meta data (name, description) as well as information about favouriting and share permissions.
It no longer has a link to the PortletConfigurations (Gadgets) displayed on a dashboard. To get this information one should consult thePortalPageService
directly.
Use the supplied PortalPage.Builder
class to construct new instances of a
PortalPage. This class is used to represent both System and User owned dashboards. The only restriction is that
system dashboards may not have an owner.
Nested Class Summary | |
---|---|
static class |
PortalPage.Builder
|
Nested classes/interfaces inherited from interface com.atlassian.jira.sharing.SharedEntity |
---|
SharedEntity.Identifier, SharedEntity.SharePermissions, SharedEntity.TypeDescriptor<S extends SharedEntity> |
Field Summary | |
---|---|
static SharedEntity.TypeDescriptor<PortalPage> |
ENTITY_TYPE
This is the SharedEntity type, eg "PortalPage" |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDescription()
A general description of the entity. |
SharedEntity.TypeDescriptor<PortalPage> |
getEntityType()
The type of entity it is. |
Long |
getFavouriteCount()
The number of users who have marked this entity as one of their favourites. |
Long |
getId()
The id of the entity. |
com.atlassian.gadgets.dashboard.Layout |
getLayout()
|
String |
getName()
The name of the entity. |
String |
getOwnerUserName()
The user name of the owner of the entity. |
SharedEntity.SharePermissions |
getPermissions()
The permissions for this entity. |
Long |
getVersion()
|
int |
hashCode()
|
static PortalPage.Builder |
id(Long id)
|
boolean |
isSystemDefaultPortalPage()
|
static PortalPage.Builder |
name(String name)
|
static PortalPage.Builder |
portalPage(PortalPage page)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SharedEntity.TypeDescriptor<PortalPage> ENTITY_TYPE
SharedEntity
type, eg "PortalPage"
Method Detail |
---|
public Long getId()
SharedEntity
getId
in interface SharedEntity
public Long getVersion()
public boolean isSystemDefaultPortalPage()
public String getName()
SharedEntity
getName
in interface SharedEntity
public String getDescription()
SharedEntity
getDescription
in interface SharedEntity
public com.atlassian.gadgets.dashboard.Layout getLayout()
public Long getFavouriteCount()
Favourite
getFavouriteCount
in interface Favourite
public final SharedEntity.TypeDescriptor<PortalPage> getEntityType()
SharedEntity
getEntityType
in interface SharedEntity
public String getOwnerUserName()
SharedEntity
getOwnerUserName
in interface SharedEntity
public SharedEntity.SharePermissions getPermissions()
SharedEntity
getPermissions
in interface SharedEntity
public static PortalPage.Builder portalPage(PortalPage page)
public static PortalPage.Builder id(Long id)
public static PortalPage.Builder name(String name)
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |