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 getBasicData(SessionConfig sessionConfig, IChannelChildProvider channelChildProvider, String channelId, String rootChannelId, boolean hidePages, boolean hidePageTemplates, boolean hideChannelTemplates, ITransaction portalTransaction)
          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

getBasicData

String getBasicData(SessionConfig sessionConfig,
                    IChannelChildProvider channelChildProvider,
                    String channelId,
                    String rootChannelId,
                    boolean hidePages,
                    boolean hidePageTemplates,
                    boolean hideChannelTemplates,
                    ITransaction portalTransaction)
                    throws ManagerException,
                           PortalException
Get the basic tree data of the channel. Given a channelId and a root channel id, 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 - the user's session.
channelChildProvider - the channel child provider.
channelId - the channel id.
rootChannelId - the root channel id.
hidePages - hides pages.
hidePageTemplates - hides page templates.
hideChannelTemplates - hides channel templates.
portalTransaction - the transaction.
Returns:
the basic tree data of the channel
Throws:
ManagerException
PortalException
Since:
6.1.0

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  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.