lumis.portal.page.link
Class PageLinkManager

Package class diagram package PageLinkManager
java.lang.Object
  extended by lumis.portal.page.link.PageLinkManager
All Implemented Interfaces:
IPageLinkManager

public class PageLinkManager
extends Object
implements IPageLinkManager


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)
          If a matching pagelink is not found for the given type and website, the return should be null.
 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

PageLinkManager

public PageLinkManager()
Method Detail

add

public String add(SessionConfig sessionConfig,
                  PageLinkConfig pageLinkConfig,
                  ITransaction transaction)
           throws ManagerException,
                  PortalException
Description copied from interface: IPageLinkManager
Add a page link.

Specified by:
add in interface IPageLinkManager
Returns:
a String.
Throws:
ManagerException
PortalException

get

public PageLinkConfig get(SessionConfig sessionConfig,
                          String pageLinkId,
                          ITransaction transaction)
                   throws ManagerException,
                          PortalException
Description copied from interface: IPageLinkManager
Get the page link configuraton.

Specified by:
get in interface IPageLinkManager
Returns:
a PageLinkConfig.
Throws:
ManagerException
PortalException

getByPageId

public Collection<String> getByPageId(SessionConfig sessionConfig,
                                      String pageId,
                                      ITransaction transaction)
                               throws ManagerException,
                                      PortalException
Description copied from interface: IPageLinkManager
Get the page link ids associated to a page

Specified by:
getByPageId in interface IPageLinkManager
Returns:
Throws:
ManagerException
PortalException

getByTypeAndWebsite

public PageLinkConfig getByTypeAndWebsite(SessionConfig sessionConfig,
                                          int type,
                                          String website,
                                          ITransaction transaction)
                                   throws ManagerException,
                                          PortalException
Description copied from interface: IPageLinkManager
If a matching pagelink is not found for the given type and website, the return should be null.

Specified by:
getByTypeAndWebsite in interface IPageLinkManager
Returns:
a PageLinkConfig.
Throws:
ManagerException
PortalException

update

public void update(SessionConfig sessionConfig,
                   PageLinkConfig pageLinkConfig,
                   ITransaction transaction)
            throws ManagerException,
                   PortalException
Description copied from interface: IPageLinkManager
Update the page link.

Specified by:
update in interface IPageLinkManager
Throws:
ManagerException
PortalException

delete

public void delete(SessionConfig sessionConfig,
                   String pageLinkId,
                   ITransaction transaction)
            throws ManagerException,
                   PortalException
Description copied from interface: IPageLinkManager
Delete a page link.

Specified by:
delete in interface IPageLinkManager
Throws:
ManagerException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.