public class ChannelTreeDaoJdbc extends Object implements IChannelTreeDao
HIDE_TYPE_ALWAYS, HIDE_TYPE_IF_HIDDEN_SPECIFIED, HIDE_TYPE_NEVER
Constructor and Description |
---|
ChannelTreeDaoJdbc() |
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.
|
public org.json.simple.JSONObject getChannelTree(String channelId, boolean includeParents, boolean localizeNames, ITransaction transaction) throws DaoException, PortalException
getChannelTree
in interface IChannelTreeDao
DaoException
PortalException
public org.json.simple.JSONArray getChannelChildren(String channelId, ITransaction transaction) throws DaoException, PortalException
getChannelChildren
in interface IChannelTreeDao
DaoException
PortalException
public Map<String,List<lumis.portal.channel.tree.Channel>> getBasicData(String channelId, boolean hideChannelTemplates, ITransaction transaction) throws DaoException, PortalException
IChannelTreeDao
getBasicData
in interface IChannelTreeDao
DaoException
PortalException
public Map<String,List<lumis.portal.channel.tree.Channel>> getBasicDataWithRootChannel(String channelId, String rootChannelId, boolean hideChannelTemplates, ITransaction transaction) throws PortalException
IChannelTreeDao
getBasicDataWithRootChannel
in interface IChannelTreeDao
channelId
- the channel id.rootChannelId
- the root channel id.hideChannelTemplates
- hides the channel templates.transaction
- the transaction to be used.PortalException
public Map<String,List<lumis.portal.channel.tree.Channel>> getBasicDataWithAreaTags(String channelId, String rootChannelId, boolean hideChannelTemplates, Collection<String> areaTags, ITransaction transaction) throws PortalException
IChannelTreeDao
getBasicDataWithAreaTags
in interface IChannelTreeDao
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.public Map<String,List<lumis.portal.channel.tree.Channel>> getChildrenData(String channelId, int hideChannels, int hidePages, int hidePageTemplates, int hideChannelTemplates, ITransaction transaction) throws DaoException, PortalException
IChannelTreeDao
getChildrenData
in interface IChannelTreeDao
DaoException
PortalException
public Map<String,List<lumis.portal.channel.tree.Channel>> getBasicData(String channelId, boolean hideChannelTemplates, String primaryServiceInstanceId, ITransaction transaction) throws DaoException, PortalException
IChannelTreeDao
getBasicData
in interface IChannelTreeDao
channelId
- the current channel id.hideChannelTemplates
- if is to hide or not channel templates.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.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.