lumis.portal.channel.tree
Class ChannelTreeDaoJdbc
java.lang.Object
lumis.portal.channel.tree.ChannelTreeDaoJdbc
- All Implemented Interfaces:
- IChannelTreeDao
public class ChannelTreeDaoJdbc
- extends Object
- implements IChannelTreeDao
Dao Jdbc for channel tree.
- Since:
- 4.0.0
Method Summary |
List<lumis.portal.channel.tree.Channel> |
getBasicData(String channelId,
boolean hideChannelTemplates,
ITransaction transaction)
Get the basic tree data of the channel. |
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). |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelTreeDaoJdbc
public ChannelTreeDaoJdbc()
getBasicData
public List<lumis.portal.channel.tree.Channel> getBasicData(String channelId,
boolean hideChannelTemplates,
ITransaction transaction)
throws DaoException,
PortalException
- Description copied from interface:
IChannelTreeDao
- Get the basic tree data of the channel. This method returns all the
parents (entire ancestry) of the given channel. This is the minimum
information required to render a channel within its tree.
- Specified by:
getBasicData
in interface IChannelTreeDao
- Returns:
-
- Throws:
DaoException
PortalException
getBasicDataWithRootChannel
public List<lumis.portal.channel.tree.Channel> getBasicDataWithRootChannel(String channelId,
String rootChannelId,
boolean hideChannelTemplates,
ITransaction transaction)
throws PortalException
- Description copied from interface:
IChannelTreeDao
- Get the basic tree data of the channel (with a given root channel). This method returns all the parents (entire ancestry) of the
given channel. This is the minimum information required to render a channel within its tree.
- Specified by:
getBasicDataWithRootChannel
in interface IChannelTreeDao
- Parameters:
channelId
- the channel id.rootChannelId
- the root channel id.hideChannelTemplates
- hides the channel templates.transaction
- the transaction to be used.
- Returns:
- the basic tree data of the channel (with a given root channel)
- Throws:
PortalException
getChildrenData
public List<lumis.portal.channel.tree.Channel> getChildrenData(String channelId,
int hideChannels,
int hidePages,
int hidePageTemplates,
int hideChannelTemplates,
ITransaction transaction)
throws DaoException,
PortalException
- Description copied from interface:
IChannelTreeDao
- Get the tree childen's data of the channel.
- Specified by:
getChildrenData
in interface IChannelTreeDao
- Returns:
-
- Throws:
DaoException
PortalException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.