|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_AD_Tree
org.compiere.model.MTree_Base
org.compiere.model.MTree
public class MTree
Builds Tree. Creates tree structure - maintained in VTreePanel
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_AD_Tree |
|---|
accessLevel, COLUMNNAME_AD_Tree_ID, COLUMNNAME_Description, COLUMNNAME_IsAllNodes, COLUMNNAME_IsDefault, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_TreeType, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MTree(Properties ctx,
int AD_Tree_ID,
boolean editable,
boolean clientTree,
boolean allNodes,
String trxName)
|
|
MTree(Properties ctx,
int AD_Tree_ID,
boolean editable,
boolean clientTree,
String trxName)
Construct & Load Tree |
|
MTree(Properties ctx,
int AD_Tree_ID,
String trxName)
Default Constructor. |
|
| Method Summary | |
|---|---|
static int |
getDefaultAD_Tree_ID(int AD_Client_ID,
String keyColumnName)
Get default (oldest) complete AD_Tree_ID for KeyColumn. |
MTreeNode |
getRoot()
Get Root node |
boolean |
isBPartner()
Is Business Partner Tree |
boolean |
isMenu()
Is Menu Tree |
boolean |
isProduct()
Is Product Tree |
String |
toString()
String representation |
void |
trimTree()
Trim tree of empty summary nodes |
| Methods inherited from class org.compiere.model.MTree_Base |
|---|
addNode, afterSave, beforeSave, get, getActionColorName, getNodeTableName, getNodeTableName, getSourceTableName, getSourceTableName |
| Methods inherited from class org.compiere.model.X_AD_Tree |
|---|
get_AccessLevel, getAD_Tree_ID, getDescription, getKeyNamePair, getName, getTreeType, initPO, isAllNodes, isDefault, isProcessing, setAD_Tree_ID, setDescription, setIsAllNodes, setIsDefault, setName, setProcessing, setTreeType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MTree(Properties ctx,
int AD_Tree_ID,
String trxName)
ctx - context for securityAD_Tree_ID - The tree to buildtrxName - transaction
public MTree(Properties ctx,
int AD_Tree_ID,
boolean editable,
boolean clientTree,
String trxName)
AD_Tree_ID - The tree to buildeditable - True, if tree can be modified
- includes inactive and empty summary nodesctx - context for securityclientTree - the tree is displayed on the java client (not on web)trxName - transaction
public MTree(Properties ctx,
int AD_Tree_ID,
boolean editable,
boolean clientTree,
boolean allNodes,
String trxName)
| Method Detail |
|---|
public static int getDefaultAD_Tree_ID(int AD_Client_ID,
String keyColumnName)
keyColumnName - key column name, eg. C_Project_IDAD_Client_ID - client
public void trimTree()
public MTreeNode getRoot()
public boolean isMenu()
public boolean isProduct()
public boolean isBPartner()
public String toString()
toString in class X_AD_Tree
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||