|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="5.5", sinceVersion="4.0") public interface IPageLinkManager
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 getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction)
method with null as the destination channelId. |
PageLinkConfig |
getByTypeWebsiteAndChannelId(SessionConfig sessionConfig,
int type,
String website,
String channelId,
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. |
Method Detail |
---|
String add(SessionConfig sessionConfig, PageLinkConfig pageLinkConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- pageLinkConfig
- transaction
-
ManagerException
PortalException
PageLinkConfig get(SessionConfig sessionConfig, String pageLinkId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- pageLinkId
- transaction
-
ManagerException
PortalException
Collection<String> getByPageId(SessionConfig sessionConfig, String pageId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- pageId
- transaction
-
ManagerException
PortalException
PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig, int type, String website, ITransaction transaction) throws ManagerException, PortalException
getByTypeWebsiteAndChannelId(SessionConfig, int, String, String, ITransaction)
method with null as the destination channelId.
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
PageLinkConfig getByTypeWebsiteAndChannelId(SessionConfig sessionConfig, int type, String website, String channelId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- the session identifier of the current user.type
- the page link type.website
- the website that the user is accessing.channelId
- The destination channel identifier.transaction
- the current transaction.
ManagerException
PortalException
void update(SessionConfig sessionConfig, PageLinkConfig pageLinkConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- pageLinkConfig
- transaction
-
ManagerException
PortalException
void delete(SessionConfig sessionConfig, String pageLinkId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- pageLinkId
- transaction
-
ManagerException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |