|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalPage
A PortalPage is a named page of Portlets. It is a SharedEntity
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.sharing.SharedEntity |
---|
SharedEntity.Indentifier, SharedEntity.SharePermissions, SharedEntity.TypeDescriptor |
Field Summary | |
---|---|
static SharedEntity.TypeDescriptor |
ENTITY_TYPE
This is the SharedEntity type, eg "PortalPage" |
Method Summary | |
---|---|
void |
addPortletConfig(PortletConfiguration portletConfiguration)
This adds a PortletConfiguration to the PortalPage. |
PortalPage |
copy()
Create a copy of the current portal page. |
void |
deletePortletConfig(Long portletConfigId)
Deletes the PortletConfiguration with the portletConfigId from this PortalPage |
void |
deletePortletConfigs()
Remove all the PortletConfiguration 's contained within this PortalPage |
List |
getColumn(int idx)
|
int |
getColumnCount()
|
List |
getColumns()
|
String |
getDescription()
A general description of the entity. |
Long |
getFavouriteCount()
Used as a rough guide to how many people favourited this object. |
Long |
getId()
The id of the entity. |
List |
getLeftPortletConfigs()
|
String |
getName()
The name of the entity. |
PortletConfiguration |
getPortletConfig(Long portletConfigId)
Returns the FIRST PortletConfiguration inside the PortalPage identified by portletConfigId |
List |
getPortletConfigurations()
Returns the list of PortletConfiguration objects inside the PortalPage |
List |
getPortletConfigurations(String portletKey)
Returns the ALL the PortletConfiguration 's inside the PortalPage which have a Portlet identified by portletKey |
List |
getRightPortletConfigs()
|
boolean |
isSystemDefaultPortalPage()
|
void |
movePortletPositionColumn(Long portletConfigId,
Integer column)
|
void |
movePortletPositionFirst(Long portletConfigId)
|
void |
movePortletPositionLast(Long portletConfigId)
|
void |
movePortletPositionRow(Long portletId,
boolean forward)
|
void |
setDescription(String description)
Sets the description of the PortalPage |
void |
setName(String name)
Sets the name of the PortalPage |
void |
setPermissions(SharedEntity.SharePermissions sharePermissions)
Sets the SharePermission objects associated with this object |
void |
setPortletConfigurations(List configs)
Set the portlets on the portalpage. |
Methods inherited from interface com.atlassian.jira.sharing.SharedEntity |
---|
getEntityType, getOwnerUserName, getPermissions |
Field Detail |
---|
static final SharedEntity.TypeDescriptor ENTITY_TYPE
SharedEntity
type, eg "PortalPage"
Method Detail |
---|
String getName()
SharedEntity
getName
in interface SharedEntity
void setName(String name)
name
- the name of the PortalPageString getDescription()
SharedEntity
getDescription
in interface SharedEntity
void setDescription(String description)
description
- the description of the PortalPageLong getFavouriteCount()
getFavouriteCount
in interface Favourite
void setPermissions(SharedEntity.SharePermissions sharePermissions)
sharePermissions
- the set of SharePermission'sLong getId()
SharedEntity
getId
in interface SharedEntity
boolean isSystemDefaultPortalPage()
List getPortletConfigurations()
PortletConfiguration
objects inside the PortalPage
PortletConfiguration
objects inside the PortalPagevoid setPortletConfigurations(List configs)
configs
- the portlets to be set on this page.PortletConfiguration getPortletConfig(Long portletConfigId)
PortletConfiguration
inside the PortalPage identified by portletConfigId
portletConfigId
- the if of the PortletConfiguration to retrieve
List getPortletConfigurations(String portletKey)
PortletConfiguration
's inside the PortalPage which have a Portlet
identified by portletKey
portletKey
- the key of the contained Portlet
PortletConfiguration
's inside the PortalPage or an empty list of its not therevoid deletePortletConfig(Long portletConfigId)
PortletConfiguration
with the portletConfigId from this PortalPage
portletConfigId
- the id of the PortletConfiguration
void deletePortletConfigs()
PortletConfiguration
's contained within this PortalPage
void addPortletConfig(PortletConfiguration portletConfiguration)
PortalPageService.addPortalPagePortletConfiguration(com.atlassian.jira.bc.JiraServiceContext, PortalPage, String, int, int)
method.
portletConfiguration
- the PortletConfiguration to addList getLeftPortletConfigs()
List getRightPortletConfigs()
void movePortletPositionColumn(Long portletConfigId, Integer column)
void movePortletPositionRow(Long portletId, boolean forward)
void movePortletPositionFirst(Long portletConfigId)
void movePortletPositionLast(Long portletConfigId)
int getColumnCount()
List getColumns()
List getColumn(int idx)
PortalPage copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |