Skip navigation links


com.fatwire.services.dao
Interface TreeDao

All Superinterfaces:
DataAccessObject

public interface TreeDao
extends DataAccessObject

The Tree Data Access Object is the interface providing access to tree related data.


Method Summary
 java.util.List<TreeNodeBean> getChildrenNodes(java.lang.String loadUrl)
           Returns a list of tree nodes containing data for the children of a tree node using its load URL.
 java.util.List<AssetId> getImmediateChildren(java.lang.String browseUrl)
          Gets All of the immediate children of a node represented by its LoadURL.

 

Methods inherited from interface com.fatwire.services.dao.DataAccessObject
getResponse, getService, setService

 

Method Detail

getChildrenNodes

java.util.List<TreeNodeBean> getChildrenNodes(java.lang.String loadUrl)
                                              throws DataAccessException

Returns a list of tree nodes containing data for the children of a tree node using its load URL. TODO Performance and scalability

Parameters:
loadUrl - the load URL associated with a tree node.
Returns:
a list of tree nodes containing the child nodes data.
Throws:
DataAccessException - wraps any underlying exception caused during data access.
See Also:
TreeNodeBean

getImmediateChildren

java.util.List<AssetId> getImmediateChildren(java.lang.String browseUrl)
                                             throws DataAccessException
Gets All of the immediate children of a node represented by its LoadURL.
Parameters:
loadUrl - A String representing a node.

A loadUrl is of the following format:

 command:label:loadURL 
 
Returns:
a List of TreeNode objects
Throws:
ServiceException - wraps any exception underlying the service call.
DataAccessException
See Also:
TreeNodeBean}

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.