public interface IPageLinkDao
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 website,
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.
|
void add(PageLinkConfig pageLinkConfig, ITransaction transaction) throws DaoException, PortalException
pageLinkConfig
- transaction
- DaoException
PortalException
PageLinkConfig get(String pageLinkId, ITransaction transaction) throws DaoException, PortalException
pageLinkId
- transaction
- DaoException
PortalException
PageLinkConfig getByTypeWebsiteAndChannelId(int type, String websiteId, String channelId, ITransaction transaction) throws PortalException
type
- The page link type.websiteId
- The page link website identifier.channelId
- The page link channelId.transaction
- The transaction to use.PortalException
List<PageLinkConfig> getByTypeAndWebsite(int type, String website, ITransaction transaction) throws DaoException, PortalException
type
- The page link type.websiteId
- The page link website identifier.transaction
- The transaction to use.PortalException
DaoException
void update(PageLinkConfig pageLinkConfig, ITransaction transaction) throws DaoException, PortalException
pageLinkConfig
- transaction
- DaoException
PortalException
void delete(String pageLinkId, ITransaction transaction) throws DaoException, PortalException
pageLinkId
- transaction
- DaoException
PortalException
Collection<String> getByPageId(String pageId, ITransaction transaction) throws DaoException, PortalException
pageId
- transaction
- DaoException
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.