|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalPageManager
This is the manager for the PortalPageService
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.sharing.SharedEntityAccessor |
---|
SharedEntityAccessor.Factory, SharedEntityAccessor.RetrievalDescriptor |
Method Summary | |
---|---|
PortalPage |
create(PortalPage portalPage)
Creates the specified PortalPage in the database |
PortalPage |
createBasedOnClone(com.atlassian.crowd.embedded.api.User pageOwner,
PortalPage portalPage,
PortalPage clonePortalPage)
Creates a PortalPage in the database by cloning its Portlet content from the specified clonePortalPage |
PortalPage |
createBasedOnClone(User pageOwner,
PortalPage portalPage,
PortalPage clonePortalPage)
Creates a PortalPage in the database by cloning its Portlet content from the specified clonePortalPage |
void |
delete(Long portalPageId)
Deletes the PortalPage with the specified portalPageId |
Collection<PortalPage> |
getAllOwnedPortalPages(com.atlassian.crowd.embedded.api.User owner)
Returns a Collection of PortalPage objects that are owned by the specified User |
Collection<PortalPage> |
getAllOwnedPortalPages(User owner)
Returns a Collection of PortalPage objects that are owned by the specified User |
PortalPage |
getPortalPage(com.atlassian.crowd.embedded.api.User user,
Long portalPageId)
Returns the PortalPage with the specified portalPageId, IF the user is allowed to see it. |
PortalPage |
getPortalPage(User user,
Long portalPageId)
Returns the PortalPage with the specified portalPageId, IF the user is allowed to see it. |
PortalPage |
getPortalPageById(Long portalPageId)
Gets a PortalPage by id regardless of owner |
PortalPage |
getPortalPageByName(com.atlassian.crowd.embedded.api.User owner,
String pageName)
Returns a PortalPage by searching for it by owner and pageName. |
PortalPage |
getPortalPageByName(User owner,
String pageName)
Returns a PortalPage by searching for it by owner and pageName. |
List<List<PortletConfiguration>> |
getPortletConfigurations(Long portalPageId)
Returns a sorted immutable list of lists of portletconfigurations for a particular portal page. |
PortalPage |
getSystemDefaultPortalPage()
Returns the system default PortalPage. |
void |
saveLegacyPortletConfiguration(PortletConfiguration portletConfiguration)
This can be called to save a PortletConfiguration object
inside a PortalPage object to the underlying database store. |
SharedEntitySearchResult<PortalPage> |
search(SharedEntitySearchParameters searchParameters,
com.atlassian.crowd.embedded.api.User user,
int pagePosition,
int pageWidth)
Search for the PortalPages that match the passed SearchParameters. |
SharedEntitySearchResult<PortalPage> |
search(SharedEntitySearchParameters searchParameters,
User user,
int pagePosition,
int pageWidth)
Search for the PortalPages that match the passed SearchParameters. |
PortalPage |
update(PortalPage portalPage)
Updates the specified PortalPage in the database |
Methods inherited from interface com.atlassian.jira.sharing.SharedEntityAccessor |
---|
adjustFavouriteCount, get, get, getAll, getAllIndexableSharedEntities, getSharedEntity, getSharedEntity, getType, hasPermissionToUse |
Method Detail |
---|
PortalPage getPortalPage(com.atlassian.crowd.embedded.api.User user, Long portalPageId)
user
- the User in playportalPageId
- the id of the PortalPage to return
PortalPage getPortalPage(User user, Long portalPageId)
user
- the User in playportalPageId
- the id of the PortalPage to return
Collection<PortalPage> getAllOwnedPortalPages(com.atlassian.crowd.embedded.api.User owner)
owner
- the User who owns the PortalPage's
Collection<PortalPage> getAllOwnedPortalPages(User owner)
owner
- the User who owns the PortalPage's
PortalPage getPortalPageById(Long portalPageId)
portalPageId
- the id of the PortalPage to retrieve
PortalPage getPortalPageByName(com.atlassian.crowd.embedded.api.User owner, String pageName)
owner
- the owner in playpageName
- the name of the PortalPage
PortalPage getPortalPageByName(User owner, String pageName)
owner
- the owner in playpageName
- the name of the PortalPage
PortalPage getSystemDefaultPortalPage()
PortalPage create(PortalPage portalPage)
portalPage
- the PortalPage to create
PortalPage createBasedOnClone(com.atlassian.crowd.embedded.api.User pageOwner, PortalPage portalPage, PortalPage clonePortalPage)
pageOwner
- the User who will own the cloned portal pageportalPage
- the PortalPage to createclonePortalPage
- the PortalPage to clone Portlet content from
PortalPage createBasedOnClone(User pageOwner, PortalPage portalPage, PortalPage clonePortalPage)
pageOwner
- the User who will own the cloned portal pageportalPage
- the PortalPage to createclonePortalPage
- the PortalPage to clone Portlet content from
PortalPage update(PortalPage portalPage)
portalPage
- the PortalPage to update
void delete(Long portalPageId)
portalPageId
- the id of the PortalPage to deletevoid saveLegacyPortletConfiguration(PortletConfiguration portletConfiguration)
PortletConfiguration
object
inside a PortalPage
object to the underlying database store.
portletConfiguration
- The portletConfiguration to save.SharedEntitySearchResult<PortalPage> search(SharedEntitySearchParameters searchParameters, com.atlassian.crowd.embedded.api.User user, int pagePosition, int pageWidth)
searchParameters
- the SearchParameters to query.user
- the user performing the search.pagePosition
- the page to return.pageWidth
- the number of results per page.
SharedEntitySearchResult<PortalPage> search(SharedEntitySearchParameters searchParameters, User user, int pagePosition, int pageWidth)
searchParameters
- the SearchParameters to query.user
- the user performing the search.pagePosition
- the page to return.pageWidth
- the number of results per page.
List<List<PortletConfiguration>> getPortletConfigurations(Long portalPageId)
portalPageId
- The portal page id to fetch portlet configs for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |