lumis.portal.channel.tree
Interface IChannelTreeDao

Package class diagram package IChannelTreeDao
All Known Implementing Classes:
ChannelTreeDaoJdbc

public interface IChannelTreeDao


Field Summary
static int HIDE_TYPE_ALWAYS
           
static int HIDE_TYPE_IF_HIDDEN_SPECIFIED
           
static int HIDE_TYPE_NEVER
           
 
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.
 

Field Detail

HIDE_TYPE_NEVER

static final int HIDE_TYPE_NEVER
See Also:
Constant Field Values

HIDE_TYPE_ALWAYS

static final int HIDE_TYPE_ALWAYS
See Also:
Constant Field Values

HIDE_TYPE_IF_HIDDEN_SPECIFIED

static final int HIDE_TYPE_IF_HIDDEN_SPECIFIED
See Also:
Constant Field Values
Method Detail

getBasicData

List<lumis.portal.channel.tree.Channel> getBasicData(String channelId,
                                                     boolean hideChannelTemplates,
                                                     ITransaction transaction)
                                                     throws DaoException,
                                                            PortalException
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.

Parameters:
channelId -
hideChannelTemplates -
transaction -
Returns:
Throws:
DaoException
PortalException

getChildrenData

List<lumis.portal.channel.tree.Channel> getChildrenData(String channelId,
                                                        int hideChannels,
                                                        int hidePages,
                                                        int hidePageTemplates,
                                                        int hideChannelTemplates,
                                                        ITransaction transaction)
                                                        throws DaoException,
                                                               PortalException
Get the tree childen's data of the channel.

Parameters:
channelId -
hideChannels -
hidePages -
hidePageTemplates -
hideChannelTemplates -
transaction -
Returns:
Throws:
DaoException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.