lumis.portal.channel.tree
Interface IChannelTreeManager

Package class diagram package IChannelTreeManager
All Known Implementing Classes:
ChannelTreeManager

public interface IChannelTreeManager

Since:
4.0.0

Method Summary
 String getBasicData(SessionConfig sessionConfig, IChannelChildProvider channelChildProvider, String channelId, boolean hidePages, boolean hidePageTemplates, boolean hideChannelTemplates, ITransaction transaction)
          Get the basic tree data of the channel.
 String getChildrenData(SessionConfig sessionConfig, IChannelChildProvider channelChildProvider, String channelId, int hideChannels, int hidePages, int hidePageTemplates, int hideChannelTemplates, ITransaction transaction)
          Get the children's tree data of the channel.
 

Method Detail

getBasicData

String getBasicData(SessionConfig sessionConfig,
                    IChannelChildProvider channelChildProvider,
                    String channelId,
                    boolean hidePages,
                    boolean hidePageTemplates,
                    boolean hideChannelTemplates,
                    ITransaction transaction)
                    throws ManagerException,
                           PortalException
Get the basic tree data of the channel. Given a channelId, this method returns this channels immediate children and the immediate children of all the channels in its parent path. To access this method, the user needs the PERMISSION_TYPE_VIEW_CHANNEL permission.

Parameters:
sessionConfig -
channelId -
hidePages -
hidePageTemplates -
hideChannelTemplates -
transaction -
Returns:
Returns the list of channel's Id.
Throws:
ManagerException
PortalException

getChildrenData

String getChildrenData(SessionConfig sessionConfig,
                       IChannelChildProvider channelChildProvider,
                       String channelId,
                       int hideChannels,
                       int hidePages,
                       int hidePageTemplates,
                       int hideChannelTemplates,
                       ITransaction transaction)
                       throws ManagerException,
                              PortalException
Get the children's tree data of the channel. Given a channelId, this method returns the immediate children of the channel. To access this method, the user needs the PERMISSION_TYPE_VIEW_CHANNEL permission.

Parameters:
sessionConfig -
channelId -
hideChannels -
hidePages -
hidePageTemplates -
hideChannelTemplates -
transaction -
Returns:
Returns the channel's Id.
Throws:
ManagerException
PortalException


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