|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.link.PageLinkManager
public class PageLinkManager
Page Link Manager.
Constructor Summary | |
---|---|
PageLinkManager()
|
Method Summary | |
---|---|
String |
add(SessionConfig sessionConfig,
PageLinkConfig pageLinkConfig,
ITransaction transaction)
Add a page link. |
void |
delete(SessionConfig sessionConfig,
String pageLinkId,
ITransaction transaction)
Delete a page link. |
PageLinkConfig |
get(SessionConfig sessionConfig,
String pageLinkId,
ITransaction transaction)
Get the page link configuraton. |
Collection<String> |
getByPageId(SessionConfig sessionConfig,
String pageId,
ITransaction transaction)
Get the page link ids associated to a page |
PageLinkConfig |
getByTypeAndWebsite(SessionConfig sessionConfig,
int type,
String website,
ITransaction transaction)
This method calls the IPageLinkManager.getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction)
method with null as the destination channelId. |
PageLinkConfig |
getByTypeWebsiteAndChannelId(SessionConfig sessionConfig,
int type,
String website,
String requestedChannelId,
ITransaction transaction)
The most appropriate page link is identified based on the type, website and destination channelId. |
void |
update(SessionConfig sessionConfig,
PageLinkConfig pageLinkConfig,
ITransaction transaction)
Update the page link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageLinkManager()
Method Detail |
---|
public String add(SessionConfig sessionConfig, PageLinkConfig pageLinkConfig, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
add
in interface IPageLinkManager
ManagerException
PortalException
public PageLinkConfig get(SessionConfig sessionConfig, String pageLinkId, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
get
in interface IPageLinkManager
ManagerException
PortalException
public Collection<String> getByPageId(SessionConfig sessionConfig, String pageId, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
getByPageId
in interface IPageLinkManager
ManagerException
PortalException
public PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig, int type, String website, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
IPageLinkManager.getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction)
method with null as the destination channelId.
getByTypeAndWebsite
in interface IPageLinkManager
sessionConfig
- the session identifier of the current user.type
- the page link type.website
- the website that the user is accessing.transaction
- the current transaction.
PageLinkConfig
ManagerException
PortalException
public PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig, int type, String website, String requestedChannelId, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
getByTypeWebsiteAndChannelId
in interface IPageLinkManager
sessionConfig
- the session identifier of the current user.type
- the page link type.website
- the website that the user is accessing.requestedChannelId
- The destination channel identifier.transaction
- the current transaction.
ManagerException
PortalException
public void update(SessionConfig sessionConfig, PageLinkConfig pageLinkConfig, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
update
in interface IPageLinkManager
ManagerException
PortalException
public void delete(SessionConfig sessionConfig, String pageLinkId, ITransaction transaction) throws ManagerException, PortalException
IPageLinkManager
delete
in interface IPageLinkManager
ManagerException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |