public interface IChannelTreeDao
Modifier and Type | Field and Description |
---|---|
static int |
HIDE_TYPE_ALWAYS |
static int |
HIDE_TYPE_IF_HIDDEN_SPECIFIED |
static int |
HIDE_TYPE_NEVER |
Modifier and Type | Method and Description |
---|---|
Map<String,List<lumis.portal.channel.tree.Channel>> |
getBasicData(String channelId,
boolean hideChannelTemplates,
ITransaction transaction)
Get the basic tree data of the channel.
|
Map<String,List<lumis.portal.channel.tree.Channel>> |
getBasicData(String channelId,
boolean hideChannelTemplates,
String primaryServiceInstanceId,
ITransaction transaction)
Get the basic tree data of the channel considering area tags from each channel.
|
Map<String,List<lumis.portal.channel.tree.Channel>> |
getBasicDataWithAreaTags(String channelId,
String rootChannelId,
boolean hideChannelTemplates,
Collection<String> areaTags,
ITransaction transaction)
Get the basic tree data of the channel (with a given root channel) considering area tags from each child channels.
|
Map<String,List<lumis.portal.channel.tree.Channel>> |
getBasicDataWithRootChannel(String channelId,
String rootChannelId,
boolean hideChannelTemplates,
ITransaction transaction)
Get the basic tree data of the channel (with a given root channel).
|
org.json.simple.JSONArray |
getChannelChildren(String channelId,
ITransaction transaction) |
org.json.simple.JSONObject |
getChannelTree(String channelId,
boolean includeParents,
boolean localizeNames,
ITransaction transaction) |
Map<String,List<lumis.portal.channel.tree.Channel>> |
getChildrenData(String channelId,
int hideChannels,
int hidePages,
int hidePageTemplates,
int hideChannelTemplates,
ITransaction transaction)
Get the tree childen's data of the channel.
|
static final int HIDE_TYPE_NEVER
static final int HIDE_TYPE_ALWAYS
static final int HIDE_TYPE_IF_HIDDEN_SPECIFIED
org.json.simple.JSONObject getChannelTree(String channelId, boolean includeParents, boolean localizeNames, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
org.json.simple.JSONArray getChannelChildren(String channelId, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
Map<String,List<lumis.portal.channel.tree.Channel>> getBasicData(String channelId, boolean hideChannelTemplates, ITransaction transaction) throws DaoException, PortalException
channelId
- hideChannelTemplates
- transaction
- DaoException
PortalException
Map<String,List<lumis.portal.channel.tree.Channel>> getChildrenData(String channelId, int hideChannels, int hidePages, int hidePageTemplates, int hideChannelTemplates, ITransaction transaction) throws DaoException, PortalException
channelId
- hideChannels
- hidePages
- hidePageTemplates
- hideChannelTemplates
- transaction
- DaoException
PortalException
Map<String,List<lumis.portal.channel.tree.Channel>> getBasicDataWithRootChannel(String channelId, String rootChannelId, boolean hideChannelTemplates, ITransaction transaction) throws PortalException
channelId
- the channel id.rootChannelId
- the root channel id.hideChannelTemplates
- hides the channel templates.transaction
- the transaction to be used.PortalException
Map<String,List<lumis.portal.channel.tree.Channel>> getBasicData(String channelId, boolean hideChannelTemplates, String primaryServiceInstanceId, ITransaction transaction) throws DaoException, PortalException
channelId
- the current channel id.hideChannelTemplates
- if is to hide or not channel templates.serviceInstancePrimary
- the service instance that have the channel the area tags that will define witch channel will be returned.transaction
- the transaction to be used during the process.DaoException
- if any error occurs during the data base query.PortalException
- if any other error occurs during the process.Map<String,List<lumis.portal.channel.tree.Channel>> getBasicDataWithAreaTags(String channelId, String rootChannelId, boolean hideChannelTemplates, Collection<String> areaTags, ITransaction transaction) throws PortalException
channelId
- the current channel id.rootChannelId
- the root channel that will be used as reference to start the query.hideChannelTemplates
- if is to hide or not channel templates.areaTags
- the list of area tags that the channels must have (at least one) to be returned.transaction
- the transaction to be used during the process.PortalException
- if any other error occurs during the process.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.