|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.dataobjs.DBPersist
com.knowgate.hipergate.Term
public class Term
Thesauri Term
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary | |
|---|---|
static short |
ClassId
|
static int |
SCOPE_ALL
|
static int |
SCOPE_ONE
|
| Fields inherited from class com.knowgate.dataobjs.DBPersist |
|---|
AllVals, sAuditCls, sAuditUsr, sTransactId |
| Constructor Summary | |
|---|---|
Term()
|
|
| Method Summary | |
|---|---|
boolean |
delete(JDCConnection oConn)
Delete a Term and all its synonyms |
static boolean |
delete(JDCConnection oConn,
java.lang.String sTermGUID)
Delete a Term and all its synonyms |
java.util.LinkedList |
getChilds(JDCConnection oConn,
int iScope)
Get child terms for this term. |
static java.lang.String |
getIdFromText(JDCConnection oConn,
int iDomainId,
java.lang.String sTermText)
Get a term GUID given its exact singular or plural name |
java.lang.String |
getParent(JDCConnection oConn)
Get Term Parent GUID |
int |
level()
Get term level [1..10] |
boolean |
load(JDCConnection oConn,
int iIdDomain,
java.lang.String sTxTerm)
Load a Term given its Domain and Text |
| Methods inherited from class com.knowgate.dataobjs.DBPersist |
|---|
allcaps, allcaps, changelog, clear, clone, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getInteger, getIntervalPart, getItemMap, getItems, getMoney, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTableName, getTime, getTimeOfDay, getTimestamp, getUIdFromName, isEmpty, isNull, iterator, keySet, load, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, size, store, toLowerCase, toUpperCase, toXML, toXML, toXML, toXML, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Field Detail |
|---|
public static final short ClassId
public static final int SCOPE_ONE
public static final int SCOPE_ALL
| Constructor Detail |
|---|
public Term()
| Method Detail |
|---|
public boolean load(JDCConnection oConn,
int iIdDomain,
java.lang.String sTxTerm)
throws java.sql.SQLException
oConn - Database ConnectioniIdDomain - Domain to which term belongssTxTerm - Term Text
java.sql.SQLException
public boolean delete(JDCConnection oConn)
throws java.sql.SQLException
delete in class DBPersistoConn - Database ConnectionsTermGUID - Term GUID
java.sql.SQLException
public static boolean delete(JDCConnection oConn,
java.lang.String sTermGUID)
throws java.sql.SQLException
oConn - Database ConnectionsTermGUID - Term GUID
java.sql.SQLExceptionpublic int level()
public java.lang.String getParent(JDCConnection oConn)
throws java.sql.SQLException
oConn - Database Connection
java.sql.SQLException
public java.util.LinkedList getChilds(JDCConnection oConn,
int iScope)
throws java.sql.SQLException
oConn - Database ConnectioniScope - SCOPE_ONE for just first level childs or SCOPE_ALL for childs from all levels down
java.sql.SQLException
public static java.lang.String getIdFromText(JDCConnection oConn,
int iDomainId,
java.lang.String sTermText)
throws java.sql.SQLException
oConn - Database ConnectioniDomainId - Domain Numeric Unique IdentifiersTermText - Exact term singular or plural text case sensitive
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||