lumis.portal.page.link
Class PageLinkDaoJdbc

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

public class PageLinkDaoJdbc
extends Object
implements IPageLinkDao

IPageLinkDao JDBC implementation

Since:
4.0.0

Constructor Summary
PageLinkDaoJdbc()
           
 
Method Summary
 void add(PageLinkConfig pageLinkConfig, ITransaction transaction)
          Add the page link.
 void delete(String pageLinkId, ITransaction transaction)
          Delete the page link.
 PageLinkConfig get(String pageLinkId, ITransaction transaction)
          Get the page link.
 Collection<String> getByPageId(String pageId, ITransaction transaction)
          Get page links associated with one page
 PageLinkConfig getByTypeAndWebsite(int type, String website, ITransaction transaction)
          Get the page link given type and website.
 void update(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

PageLinkDaoJdbc

public PageLinkDaoJdbc()
Method Detail

add

public void add(PageLinkConfig pageLinkConfig,
                ITransaction transaction)
         throws DaoException,
                PortalException
Description copied from interface: IPageLinkDao
Add the page link.

Specified by:
add in interface IPageLinkDao
Throws:
DaoException
PortalException

get

public PageLinkConfig get(String pageLinkId,
                          ITransaction transaction)
                   throws DaoException,
                          PortalException
Description copied from interface: IPageLinkDao
Get the page link.

Specified by:
get in interface IPageLinkDao
Returns:
Throws:
DaoException
PortalException

getByTypeAndWebsite

public PageLinkConfig getByTypeAndWebsite(int type,
                                          String website,
                                          ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Description copied from interface: IPageLinkDao
Get the page link given type and website.

Specified by:
getByTypeAndWebsite in interface IPageLinkDao
Returns:
Throws:
DaoException
PortalException

update

public void update(PageLinkConfig pageLinkConfig,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IPageLinkDao
Update the page link.

Specified by:
update in interface IPageLinkDao
Throws:
DaoException
PortalException

delete

public void delete(String pageLinkId,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IPageLinkDao
Delete the page link.

Specified by:
delete in interface IPageLinkDao
Throws:
DaoException
PortalException

getByPageId

public Collection<String> getByPageId(String pageId,
                                      ITransaction transaction)
                               throws DaoException,
                                      PortalException
Description copied from interface: IPageLinkDao
Get page links associated with one page

Specified by:
getByPageId in interface IPageLinkDao
Returns:
Throws:
DaoException
PortalException


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