Package lumis.doui.contenttree
Class DouiContentTreeManager
- java.lang.Object
-
- lumis.doui.contenttree.DouiContentTreeManager
-
- All Implemented Interfaces:
IDouiContentTreeManager
public class DouiContentTreeManager extends java.lang.Object implements IDouiContentTreeManager
Manager responsible for returning content tree information.- Since:
- 4.0.0
- Version:
- $Revision: 25462 $ $Date: 2023-02-16 17:22:14 -0300 (Thu, 16 Feb 2023) $
-
-
Constructor Summary
Constructors Constructor Description DouiContentTreeManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBasicData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, boolean useContentKeyAsId, java.lang.String metadataLocale, ITransaction transaction)
Returns the basic tree data of a content.java.lang.String
getBasicData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, java.lang.String metadataLocale, ITransaction transaction)
Get the basic tree data of the content.java.lang.String
getChildrenData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, boolean useContentKeyAsId, java.lang.String metadataLocale, ITransaction transaction)
Returns the children's tree data of a content.java.lang.String
getChildrenData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, java.lang.String metadataLocale, ITransaction transaction)
Get the children's tree data of the content.
-
-
-
Method Detail
-
getBasicData
public java.lang.String getBasicData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, java.lang.String metadataLocale, 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 interfaceIDouiContentTreeManager
- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
getBasicData
public java.lang.String getBasicData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, boolean useContentKeyAsId, java.lang.String metadataLocale, 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 interfaceIDouiContentTreeManager
- 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 theuseContentKeyAsId
parameter.useContentKeyAsId
-true
if the entries relationship is based on theContent
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 java.lang.String getChildrenData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, java.lang.String metadataLocale, 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 interfaceIDouiContentTreeManager
- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
getChildrenData
public java.lang.String getChildrenData(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String sourceId, java.lang.String currentContentId, boolean useContentKeyAsId, java.lang.String metadataLocale, 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 interfaceIDouiContentTreeManager
- 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 theuseContentKeyAsId
parameter.useContentKeyAsId
-true
if the entries relationship is based on theContent
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
-
-