public class PageLinkDaoJdbc extends Object implements IPageLinkDao
IPageLinkDao
JDBC implementationConstructor and Description |
---|
PageLinkDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.