java.lang.Object | |
↳ | com.atlassian.jira.portal.DefaultPortalPageManager |
The base class for PortalPageManager implementations
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adjusts the favourite counts for a given entity.
| |||||||||||
Creates the specified PortalPage in the database
| |||||||||||
Creates a PortalPage in the database by cloning its Portlet content from the specified clonePortalPage
| |||||||||||
Deletes the PortalPage with the specified portalPageId
| |||||||||||
Used to get
sharable entities from a search result. | |||||||||||
Used to get
sharable entities from a search result. | |||||||||||
Get all PortalPages.
| |||||||||||
Get all
sharable entities this accessor can see for use in indexing. | |||||||||||
Returns a Collection of PortalPage objects that are owned by the specified User
| |||||||||||
Returns the PortalPage with the specified portalPageId, IF the user is allowed to see it.
| |||||||||||
Gets a PortalPage by id regardless of owner
| |||||||||||
Returns a PortalPage by searching for it by owner and pageName.
| |||||||||||
Returns a sorted immutable list of lists of portletconfigurations for a particular portal page.
| |||||||||||
This will call back to ask for a
SharedEntity based on id. | |||||||||||
This is called to get
SharedEntity by id If the user is allows to see it | |||||||||||
Returns the system default PortalPage.
| |||||||||||
Returns the type that this object can work with.
| |||||||||||
This can be called to save a
PortletConfiguration object
inside a PortalPage object to the underlying database store. | |||||||||||
Search for the PortalPages that match the passed SearchParameters.
| |||||||||||
Updates the specified PortalPage in the database
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.portal.PortalPageManager
| |||||||||||
From interface com.atlassian.jira.sharing.SharedEntityAccessor |
Adjusts the favourite counts for a given entity. This resulting value must always be greater or equal to one.
entity | the entity to adjust |
---|---|
adjustmentValue | the value to adjust by. |
Creates the specified PortalPage in the database
portalPage | the PortalPage to create |
---|
Creates a PortalPage in the database by cloning its Portlet content from the specified clonePortalPage
pageOwner | the User who will own the cloned portal page |
---|---|
portalPage | the PortalPage to create |
clonePortalPage | the PortalPage to clone Portlet content from |
Deletes the PortalPage with the specified portalPageId
portalPageId | the id of the PortalPage to delete |
---|
Used to get sharable entities
from a search result.
The entities returned may be modified by the user parameter (e.g. permissions or clause sanitisation).
user | the user performing the search |
---|---|
ids | retrieval descriptor |
EnclosedIterable
of SharedEntity
's
Used to get sharable entities
from a search result.
descriptor | retrieval descriptor |
---|
EnclosedIterable
of SharedEntity
's
Get all PortalPages.
EnclosedIterable
of PortalPages
Get all sharable entities
this accessor can see for use in indexing.
EnclosedIterable
of SharedEntity
's
Returns a Collection of PortalPage objects that are owned by the specified User
owner | the User who owns the PortalPage's |
---|
Returns the PortalPage with the specified portalPageId, IF the user is allowed to see it.
user | the User in play |
---|---|
id | the id of the PortalPage to return |
Gets a PortalPage by id regardless of owner
portalPageId | the id of the PortalPage to retrieve |
---|
Returns a PortalPage by searching for it by owner and pageName.
owner | the owner in play |
---|---|
pageName | the name of the PortalPage |
Returns a sorted immutable list of lists of portletconfigurations for a particular portal page. The outer list represents columns and the inner lists represent rows within a column. This method will return portlet configs sorted correctly as returned by the underlying persistance layer.
portalPageId | The portal page id to fetch portlet configs for |
---|
This will call back to ask for a SharedEntity
based on id.
entityId | the id of the SharedEntity |
---|
SharedEntity
or null if it cant be found
This is called to get SharedEntity
by id If the user is allows to see it
user | the user in play |
---|---|
entityId | the id of the SharedEntity |
SharedEntity
if it exists and the user can see it and null otherwise
Returns the system default PortalPage. This has no owner and is used when a User has no PortalPage objects defined for them
Returns the type that this object can work with.
This can be called to save a PortletConfiguration
object
inside a PortalPage
object to the underlying database store.
portletConfiguration | The portletConfiguration to save. |
---|
Search for the PortalPages that match the passed SearchParameters. The result can be paged so that a subset of the results can be returned.
searchParameters | the SearchParameters to query. |
---|---|
user | the user performing the search. |
pagePosition | the page to return. |
pageWidth | the number of results per page. |
Updates the specified PortalPage in the database
portalPage | the PortalPage to update |
---|