public interface IPageDao
Modifier and Type | Method and Description |
---|---|
void |
add(PageConfig pageConfig,
ITransaction transaction)
Add the page.
|
void |
addCss(String pageId,
String cssId,
int position,
ITransaction transaction) |
boolean |
delete(String pageId,
ITransaction transaction)
Delete the page.
|
void |
deleteCss(String pageId,
String cssId,
ITransaction transaction)
Delete the CSS from the page.
|
void |
evict(String pageId,
ITransaction transaction)
Removes the specified page from this DAO's cache.
|
PageConfig |
get(String pageId,
ITransaction transaction)
Get the page.
|
List<IChannelChild> |
getChannelsChildren(String parentChannelIds,
boolean hidePages,
boolean hidePageTemplates,
IResource resource,
Locale locale,
ITransaction transaction) |
List<IChannelChild> |
getChildrenData(String channelId,
int hidePages,
int hidePageTemplates,
IResource resource,
Locale locale,
ITransaction transaction) |
PageConfig |
getCommitted(String pageId,
ITransaction transaction)
Get the lastest committed version of the page.
|
List<String> |
getCssIds(String pageId,
ITransaction transaction)
Get the ids of the page's CSS.
|
String |
getFirstIdByChannelId(String channelId,
ITransaction transaction)
Get the id of the first child page.
|
String |
getIdByUserId(String userId,
ITransaction transaction)
Get the id of the user's home page.
|
List<String> |
getIdsByChannelId(String channelId,
ITransaction transaction)
Get the list of page's ids given the channel's id.
|
Collection<String> |
getIdsByParentTemplateId(String parentTemplateId,
ITransaction transaction)
Add the CSS to the page.
|
Collection<String> |
getIdsByServiceInstanceId(String serviceInstanceId,
ITransaction transaction) |
boolean |
hasDependentPages(String pageTemplateId,
ITransaction transaction) |
void |
update(PageConfig pageConfig,
ITransaction transaction)
Update the page.
|
void add(PageConfig pageConfig, ITransaction transaction) throws DaoException, PortalException
pageConfig
- transaction
- DaoException
PortalException
PageConfig get(String pageId, ITransaction transaction) throws DaoException, PortalException
pageId
- transaction
- DaoException
PortalException
PageConfig getCommitted(String pageId, ITransaction transaction) throws PortalException
pageId
- the page id.transaction
- the transaction for persistence access.PortalException
#get(String, ITransaction)}
void update(PageConfig pageConfig, ITransaction transaction) throws DaoException, PortalException
pageConfig
- transaction
- DaoException
PortalException
boolean delete(String pageId, ITransaction transaction) throws DaoException, PortalException
pageId
- transaction
- DaoException
PortalException
void evict(String pageId, ITransaction transaction) throws PortalException
pageId
- the page id.transaction
- the transaction for persistence access.PortalException
String getFirstIdByChannelId(String channelId, ITransaction transaction) throws DaoException, PortalException
channelId
- transaction
- DaoException
PortalException
String getIdByUserId(String userId, ITransaction transaction) throws DaoException, PortalException
userId
- transaction
- DaoException
PortalException
List<String> getIdsByChannelId(String channelId, ITransaction transaction) throws DaoException, PortalException
channelId
- transaction
- DaoException
PortalException
Collection<String> getIdsByParentTemplateId(String parentTemplateId, ITransaction transaction) throws DaoException, PortalException
pageId
- cssId
- position
- transaction
- DaoException
PortalException
Collection<String> getIdsByServiceInstanceId(String serviceInstanceId, ITransaction transaction) throws DaoException, PortalException
serviceInstanceId
- the id of the service instance.transaction
- the transaction for persistence access.DaoException
PortalException
boolean hasDependentPages(String pageTemplateId, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
void addCss(String pageId, String cssId, int position, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
void deleteCss(String pageId, String cssId, ITransaction transaction) throws DaoException, PortalException
pageId
- cssId
- transaction
- DaoException
PortalException
List<String> getCssIds(String pageId, ITransaction transaction) throws DaoException, PortalException
pageId
- transaction
- DaoException
PortalException
List<IChannelChild> getChannelsChildren(String parentChannelIds, boolean hidePages, boolean hidePageTemplates, IResource resource, Locale locale, ITransaction transaction) throws PortalException
PortalException
List<IChannelChild> getChildrenData(String channelId, int hidePages, int hidePageTemplates, IResource resource, Locale locale, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.