org.opengts.db
Class HierarchyRecord<RT extends DBRecord>
java.lang.Object
org.opengts.dbtools.DBRecord<RT>
org.opengts.db.AccountRecord<RT>
org.opengts.db.HierarchyRecord<RT>
public abstract class HierarchyRecord<RT extends DBRecord>
- extends AccountRecord<RT>
| Fields inherited from class org.opengts.dbtools.DBRecord |
errorDescription, excludedUpdateFields, FLD_creationMillis, FLD_creationTime, FLD_description, FLD_lastUpdateTime, FLD_lastUpdateUser, hasError, ID_SIZE, isValidating, lastSQLException, NOTIFY_GROUP, PSEUDO_FIELD_CHAR |
| Methods inherited from class org.opengts.db.AccountRecord |
createSystemAdminAccount, getAccount, getAccountDescription, getAccountID, getDisplayName, getFilteredID, getFilteredID, getIsActive, getNotes, getSystemAdminAccount, getSystemAdminAccountID, hasAccount, hasSystemAdminAccountID, isAccountManager, isActive, isSystemAdmin, isSystemAdmin, isSystemAdminAccountID, isValidID, newField_accountID, newField_accountID, newField_displayName, newField_displayName, newField_isActive, newField_isActive, newField_notes, newField_notes, setAccount, setDisplayName, setIsActive, setNotes, setRuntimeDefaultValues |
| Methods inherited from class org.opengts.dbtools.DBRecord |
_getFactory, _reload, addChangedNotification, addExcludedUpdateFields, appendFieldValues, clearChanged, clearError, clearExcludedUpdateFields, clearLastCaughtSQLException, equals, excludeFieldFromUpdate, excludeFieldFromUpdate, fireChangeNotification, getCreationDateTime, getCreationMillis, getCreationTime, GetCurrentUser, getDefaultFieldValueKey, getDescription, getErrorDescription, getFactory, getFactory, getField, getFieldBoolean, getFieldDateTime, getFieldDouble, getFieldFloat, getFieldInt, getFieldLong, getFieldName, getFieldString, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getLastCaughtSQLException, getLastUpdateTime, getLastUpdateTime, getLastUpdateUser, getNextGroup, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getOptionalFieldValue, getRecordCount, getRecordCount, getRecordCount, getRecordCount, getRecordCount, getRecordKey, getRecords, getRecords, getTableDescription, getValue, getVirtual, hasChanged, hasError, hasField, hasFieldValue, insert, isLastCaughtSQLExceptionErrorCode, isOkToReload, isOkToSave, isValidating, isVirtual, lock, lockRead, lockWrite, newField_creationMillis, newField_creationTime, newField_creationTime, newField_description, newField_description, newField_lastUpdateTime, newField_lastUpdateUser, printXML, printXML, printXML, printXML, printXML, printXML, recordDidInsert, recordDidUpdate, recordWillInsert, recordWillUpdate, reload, reload, removeChangedNotification, save, select, select, select, setAllFieldValues, setAllFieldValues, setAllFieldValues, setAllFieldValues, setChanged, setChanged, setCreationDefaultValues, setCreationMillis, setCreationTime, SetCurrentUser, setDescription, setError, setError, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setIgnoreInvalidFields, setLastCaughtSQLException, setLastUpdateTime, setLastUpdateUser, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setOptionalFieldValue, setValidating, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVirtual, toString, toXML, toXML, toXML, toXML, toXML, unlock, update, update, update |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HIERARCHY_SEPARATOR
public static final java.lang.String HIERARCHY_SEPARATOR
- See Also:
- Constant Field Values
HIERARCHY_SEPARATOR_CHAR
public static final char HIERARCHY_SEPARATOR_CHAR
- See Also:
- Constant Field Values
TYPE_HIER_KEY
public static final java.lang.String TYPE_HIER_KEY
TYPE_ITEM_ID
public static final java.lang.String TYPE_ITEM_ID
FLD_hierarchyKey
public static final java.lang.String FLD_hierarchyKey
- See Also:
- Constant Field Values
FLD_level
public static final java.lang.String FLD_level
- See Also:
- Constant Field Values
HierarchyRecord
public HierarchyRecord()
HierarchyRecord
public HierarchyRecord(HierarchyRecord.HierarchyKey<RT> key)
newField_hierarchyKey
protected static DBField newField_hierarchyKey(boolean key)
newField_hierarchyKey
protected static DBField newField_hierarchyKey(boolean key,
java.lang.String xAttr)
getHierarchyKey
public java.lang.String getHierarchyKey()
setHierarchyKey
public void setHierarchyKey(java.lang.String v)
getHierarchy
public java.lang.String[] getHierarchy()
setHierarchy
public void setHierarchy(java.lang.String[] h)
getLevel
public int getLevel()
setLevel
public void setLevel(int v)
getItemID
public abstract java.lang.String getItemID()
setItemID
public abstract void setItemID(java.lang.String v)
readHiearchy
public static <RT extends HierarchyRecord> TreeNode readHiearchy(DBFactory<RT> dbFact,
Account acct)
throws DBException
- Throws:
DBException