lumis.doui.contenttree
Class DouiContentTreeManager

Package class diagram package DouiContentTreeManager
java.lang.Object
  extended by lumis.doui.contenttree.DouiContentTreeManager
All Implemented Interfaces:
IDouiContentTreeManager

public class DouiContentTreeManager
extends Object
implements IDouiContentTreeManager

Manager responsible for returning content tree information.

Since:
4.0.0

Constructor Summary
DouiContentTreeManager()
           
 
Method Summary
 String getBasicData(SessionConfig sessionConfig, String interfaceInstanceId, String sourceId, String currentContentId, boolean useContentKeyAsId, ITransaction transaction)
          Returns the basic tree data of a content.
 String getBasicData(SessionConfig sessionConfig, String interfaceInstanceId, String sourceId, String currentContentId, ITransaction transaction)
          Get the basic tree data of the content.
 String getChildrenData(SessionConfig sessionConfig, String interfaceInstanceId, String sourceId, String currentContentId, boolean useContentKeyAsId, ITransaction transaction)
          Returns the children's tree data of a content.
 String getChildrenData(SessionConfig sessionConfig, String interfaceInstanceId, String sourceId, String currentContentId, ITransaction transaction)
          Get the children's tree data of the content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DouiContentTreeManager

public DouiContentTreeManager()
Method Detail

getBasicData

public String getBasicData(SessionConfig sessionConfig,
                           String interfaceInstanceId,
                           String sourceId,
                           String currentContentId,
                           ITransaction transaction)
                    throws PortalException
Description copied from interface: IDouiContentTreeManager
Get the basic tree data of the content. Given a contentId, this method returns this content immediate children and the immediate children of all the contents in its parent path.

Specified by:
getBasicData in interface IDouiContentTreeManager
Returns:
a String.
Throws:
ManagerException
PortalException

getBasicData

public String getBasicData(SessionConfig sessionConfig,
                           String interfaceInstanceId,
                           String sourceId,
                           String currentContentId,
                           boolean useContentKeyAsId,
                           ITransaction transaction)
                    throws ManagerException,
                           PortalException
Description copied from interface: IDouiContentTreeManager
Returns the basic tree data of a content. Given a contentId, this method returns this content's immediate children and the immediate children of all the contents in its parent path.

Specified by:
getBasicData in interface IDouiContentTreeManager
Parameters:
sessionConfig - user session information.
interfaceInstanceId - the interface instance identifier.
sourceId - the content's source identifier.
currentContentId - the current entry identifier. The identifier type depends on the useContentKeyAsId parameter.
useContentKeyAsId - true if the entries relationship is based on the Content identifier, false if it is based on the source's primary key field.
transaction - the transaction.
Returns:
a XML containing the information.
Throws:
ManagerException
PortalException

getChildrenData

public String getChildrenData(SessionConfig sessionConfig,
                              String interfaceInstanceId,
                              String sourceId,
                              String currentContentId,
                              ITransaction transaction)
                       throws PortalException
Description copied from interface: IDouiContentTreeManager
Get the children's tree data of the content. Given a contentId, this method returns the immediate children of the content.

Specified by:
getChildrenData in interface IDouiContentTreeManager
Returns:
a String.
Throws:
ManagerException
PortalException

getChildrenData

public String getChildrenData(SessionConfig sessionConfig,
                              String interfaceInstanceId,
                              String sourceId,
                              String currentContentId,
                              boolean useContentKeyAsId,
                              ITransaction transaction)
                       throws ManagerException,
                              PortalException
Description copied from interface: IDouiContentTreeManager
Returns the children's tree data of a content. Given a contentId, this method returns the immediate children of the content.

Specified by:
getChildrenData in interface IDouiContentTreeManager
Parameters:
sessionConfig - user session information.
interfaceInstanceId - the interface instance identifier.
sourceId - the content's source identifier.
currentContentId - the current entry identifier. The identifier type depends on the useContentKeyAsId parameter.
useContentKeyAsId - true if the entries relationship is based on the Content identifier, false if it is based on the source's primary key field.
transaction - the transaction.
Returns:
a XML containing the information.
Throws:
ManagerException
PortalException


Lumisportal  7.0.1.130329 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.