|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.link.PageLinkDaoJdbc
public class PageLinkDaoJdbc
IPageLinkDao
JDBC implementation
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 |
List<PageLinkConfig> |
getByTypeAndWebsite(int type,
String websiteId,
ITransaction transaction)
Returns a list of page links given a type and website. |
PageLinkConfig |
getByTypeWebsiteAndChannelId(int type,
String websiteId,
String channelId,
ITransaction transaction)
Get the page link given type, website and channelId. |
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 |
---|
public PageLinkDaoJdbc()
Method Detail |
---|
public void add(PageLinkConfig pageLinkConfig, ITransaction transaction) throws DaoException, PortalException
IPageLinkDao
add
in interface IPageLinkDao
DaoException
PortalException
public PageLinkConfig get(String pageLinkId, ITransaction transaction) throws DaoException, PortalException
IPageLinkDao
get
in interface IPageLinkDao
DaoException
PortalException
public PageLinkConfig getByTypeWebsiteAndChannelId(int type, String websiteId, String channelId, ITransaction transaction) throws PortalException
IPageLinkDao
getByTypeWebsiteAndChannelId
in interface IPageLinkDao
type
- The page link type.websiteId
- The page link website identifier.channelId
- The page link channelId.transaction
- The transaction to use.
PortalException
public List<PageLinkConfig> getByTypeAndWebsite(int type, String websiteId, ITransaction transaction) throws DaoException, PortalException
IPageLinkDao
getByTypeAndWebsite
in interface IPageLinkDao
type
- The page link type.transaction
- The transaction to use.
PortalException
DaoException
public void update(PageLinkConfig pageLinkConfig, ITransaction transaction) throws DaoException, PortalException
IPageLinkDao
update
in interface IPageLinkDao
DaoException
PortalException
public void delete(String pageLinkId, ITransaction transaction) throws DaoException, PortalException
IPageLinkDao
delete
in interface IPageLinkDao
DaoException
PortalException
public Collection<String> getByPageId(String pageId, ITransaction transaction) throws DaoException, PortalException
IPageLinkDao
getByPageId
in interface IPageLinkDao
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |