Package org.openbravo.service.datasource
Class AccountTreeDatasourceService
- java.lang.Object
-
- org.openbravo.service.datasource.BaseDataSourceService
-
- org.openbravo.service.datasource.DefaultDataSourceService
-
- org.openbravo.service.datasource.TreeDatasourceService
-
- org.openbravo.service.datasource.ADTreeDatasourceService
-
- org.openbravo.service.datasource.AccountTreeDatasourceService
-
- All Implemented Interfaces:
DataSourceService
public class AccountTreeDatasourceService extends ADTreeDatasourceService
Tree Datasource for Account Tree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbravo.service.datasource.TreeDatasourceService
TreeDatasourceService.CycleInHierarchyException, TreeDatasourceService.MultipleParentsException, TreeDatasourceService.TooManyTreeNodesException
-
-
Field Summary
-
Fields inherited from class org.openbravo.service.datasource.TreeDatasourceService
ROOT_NODE_CLIENT, ROOT_NODE_DB
-
-
Constructor Summary
Constructors Constructor Description AccountTreeDatasourceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
getDatasourceSpecificParams(Map<String,String> parameters)
protected TableTree
getTableTree(Table table)
Obtains the ADTree TableTree associated with the table-
Methods inherited from class org.openbravo.service.datasource.ADTreeDatasourceService
addNewNode, deleteNode, fetchFilteredNodesForTreesWithMultiParentNodes, fetchNodeChildren, getJSONObjectByNodeId, getJSONObjectByRecordId, moveNode, nodeConformsToWhereClause, nodeHasChildren, reparentChildrenOfDeletedNode
-
Methods inherited from class org.openbravo.service.datasource.TreeDatasourceService
add, addNodeCommonAttributes, checkEditDatasourceAccess, checkFetchDatasourceAccess, fetch, getEntity, getParentRecordIdFromCriteria, remove, substituteParameters, update
-
Methods inherited from class org.openbravo.service.datasource.DefaultDataSourceService
add, addFetchParameters, fetch, fetch, getDataSourceProperties, getInitialProperties, remove
-
Methods inherited from class org.openbravo.service.datasource.BaseDataSourceService
getDataSource, getDataUrl, getEntity, getName, getTemplate, getWhereAndFilterClause, getWhereClause, handleExceptionUnsecuredDSAccess, setDataSource, setDataUrl, setEntity, setName, setWhereClause
-
-
-
-
Method Detail
-
getDatasourceSpecificParams
protected Map<String,Object> getDatasourceSpecificParams(Map<String,String> parameters)
- Overrides:
getDatasourceSpecificParams
in classADTreeDatasourceService
-
getTableTree
protected TableTree getTableTree(Table table)
Description copied from class:ADTreeDatasourceService
Obtains the ADTree TableTree associated with the table- Overrides:
getTableTree
in classADTreeDatasourceService
- Parameters:
table
- table whose ADTree TableTree will be returned- Returns:
- the ADTree TableTree associated with the given table
-
-