lumis.portal.channel.tree
Class ChannelTreeDaoJdbc

Package class diagram package ChannelTreeDaoJdbc
java.lang.Object
  extended by lumis.portal.channel.tree.ChannelTreeDaoJdbc
All Implemented Interfaces:
IChannelTreeDao

public class ChannelTreeDaoJdbc
extends Object
implements IChannelTreeDao


Field Summary
 
Fields inherited from interface lumis.portal.channel.tree.IChannelTreeDao
HIDE_TYPE_ALWAYS, HIDE_TYPE_IF_HIDDEN_SPECIFIED, HIDE_TYPE_NEVER
 
Constructor Summary
ChannelTreeDaoJdbc()
           
 
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> 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
 

Constructor Detail

ChannelTreeDaoJdbc

public ChannelTreeDaoJdbc()
Method Detail

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

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  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.