|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalPageStore
This is the store for PortalPage objects
Method Summary | |
---|---|
PortalPage |
adjustFavouriteCount(SharedEntity portalPage,
int incrementValue)
Updates the favourite count of the PortalPage in the database. |
PortalPage |
create(PortalPage portalPage)
Creates a PortalPage in the database |
void |
delete(Long portalPageId)
Deletes the PortalPage with the specified portalPageId |
CloseableIterable |
get(SharedEntityAccessor.RetrievalDescriptor descriptor)
Get a CloseableIterable of PortalPages for the specified List of ids. |
CloseableIterable |
getAll()
Get a CloseableIterable of all PortalPages in the database. |
Collection |
getAllOwnedPortalPages(User owner)
Gets all the PortalPage's owned by the specified User |
PortalPage |
getPortalPage(Long portalPageId)
Gets the PortalPage with the specified portalPageId |
PortalPage |
getPortalPageByOwnerAndName(User owner,
String portalPageName)
Gets the specified PortalPage that is owned by the User and has the specified portalPageName |
PortalPage |
getSystemDefaultPortalPage()
Goes to the database and fetches the system default dashboard configuration. |
PortalPage |
update(PortalPage portalPage)
Updates the PortalPage in the database. |
Method Detail |
---|
PortalPage getSystemDefaultPortalPage()
CloseableIterable get(SharedEntityAccessor.RetrievalDescriptor descriptor)
CloseableIterable
of PortalPages for the specified List of ids.
Make sure any CloseableIterator
constructed has its close method called after iterating.
descriptor
- retrieval descriptor
CloseableIterable getAll()
CloseableIterable
of all PortalPages in the database.
Make sure any CloseableIterator
constructed has its close method called after iterating.
Collection getAllOwnedPortalPages(User owner)
owner
- the user who is the owner of the PortalPage's
PortalPage getPortalPageByOwnerAndName(User owner, String portalPageName)
owner
- the User how is the owner of the PortalPageportalPageName
- the name of the PortalPage
PortalPage getPortalPage(Long portalPageId)
portalPageId
- the id of the PortalPage to locate
PortalPage create(PortalPage portalPage)
portalPage
- the PortalPage to create
PortalPage update(PortalPage portalPage)
portalPage
- the PortalPage to update
PortalPage adjustFavouriteCount(SharedEntity portalPage, int incrementValue)
portalPage
- the portal page to change.incrementValue
- the value to increase the favourite count by. Can be a number < 0 to decrease the favourite count.
void delete(Long portalPageId)
portalPageId
- the id of the PortalPage to delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |