lumis.portal.channel.tree
Class ChannelTreeDaoJdbc
java.lang.Object
lumis.portal.channel.tree.ChannelTreeDaoJdbc
- All Implemented Interfaces:
- IChannelTreeDao
public class ChannelTreeDaoJdbc
- extends java.lang.Object
- implements IChannelTreeDao
Dao Jdbc for channel tree.
- Since:
- 4.0.0
Method Summary |
java.util.List<lumis.portal.channel.tree.Channel> |
getBasicData(java.lang.String channelId,
boolean hideChannelTemplates,
ITransaction transaction)
Get the basic tree data of the channel. |
java.util.List<lumis.portal.channel.tree.Channel> |
getBasicDataWithRootChannel(java.lang.String channelId,
java.lang.String rootChannelId,
boolean hideChannelTemplates,
ITransaction transaction)
Get the basic tree data of the channel (with a given root channel). |
java.util.List<lumis.portal.channel.tree.Channel> |
getChildrenData(java.lang.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 java.util.List<lumis.portal.channel.tree.Channel> getBasicData(java.lang.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 java.util.List<lumis.portal.channel.tree.Channel> getBasicDataWithRootChannel(java.lang.String channelId,
java.lang.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 java.util.List<lumis.portal.channel.tree.Channel> getChildrenData(java.lang.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.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.