lumis.portal.page.link
Interface IPageLinkDao

Package class diagram package IPageLinkDao
All Known Implementing Classes:
PageLinkDaoJdbc

public interface IPageLinkDao


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.
 

Method Detail

add

void add(PageLinkConfig pageLinkConfig,
         ITransaction transaction)
         throws DaoException,
                PortalException
Add the page link.

Parameters:
pageLinkConfig -
transaction -
Throws:
DaoException
PortalException

get

PageLinkConfig get(String pageLinkId,
                   ITransaction transaction)
                   throws DaoException,
                          PortalException
Get the page link.

Parameters:
pageLinkId -
transaction -
Returns:
Throws:
DaoException
PortalException

getByTypeAndWebsite

PageLinkConfig getByTypeAndWebsite(int type,
                                   String website,
                                   ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Get the page link given type and website.

Parameters:
type -
website -
transaction -
Returns:
Throws:
DaoException
PortalException

update

void update(PageLinkConfig pageLinkConfig,
            ITransaction transaction)
            throws DaoException,
                   PortalException
Update the page link.

Parameters:
pageLinkConfig -
transaction -
Throws:
DaoException
PortalException

delete

void delete(String pageLinkId,
            ITransaction transaction)
            throws DaoException,
                   PortalException
Delete the page link.

Parameters:
pageLinkId -
transaction -
Throws:
DaoException
PortalException

getByPageId

Collection<String> getByPageId(String pageId,
                               ITransaction transaction)
                               throws DaoException,
                                      PortalException
Get page links associated with one page

Parameters:
pageId -
transaction -
Returns:
Throws:
DaoException
PortalException


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