|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.apelon.apelonserver.client.BasicQuery | +--org.nci.dts.client.ConceptHistoryServer
A ConceptHistoryServer provides common methods for getting concept history. This class is the main class in org.nci.dts.client package.
Copyright: Copyright (c) 2002
Company: Apelon Inc.
Constructor Summary | |
ConceptHistoryServer()
|
Method Summary | |
static ConceptHistoryServer |
createInstance(com.apelon.apelonserver.client.ServerConnection sc)
Creates an instance of ConceptHistoryServer. |
static ConceptHistoryServer |
createInstance(com.apelon.apelonserver.client.ServerConnection sc,
boolean isValidating)
Creates an instance of ConceptHistoryServer. |
CodeActionDate[] |
getAncestorCodeActionDates(int namespaceId,
java.lang.String inCode,
java.sql.Date iBaselineDate,
java.sql.Date fBaselineDate)
Gets the ancestor concepts' CodeActionDate of the specified concept. |
java.lang.String[] |
getAncestorCodes(int namespaceId,
java.lang.String inCode,
boolean atBaseline,
java.sql.Date iBaselineDate,
java.sql.Date fBaselineDate)
Gets the ancestor concept codes of the specified concept. |
java.lang.String[] |
getCodeActionChildren(int namespaceId,
java.lang.String inCode,
java.sql.Date baselineDate)
Gets the descendant concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. |
java.lang.String[] |
getCodeActionParents(int namespaceId,
java.lang.String inCode,
java.sql.Date baselineDate)
Gets the ancestor concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. |
java.sql.Date |
getConceptCreationDate(int namespaceId,
java.lang.String inCode)
Gets the baseline date of creation of the specified concept. |
EditAction[] |
getConceptEditAction(int namespaceId,
java.lang.String inCode)
Gets all EditAction of the specified concept. |
int[] |
getConceptEditAction(int namespaceId,
java.lang.String inCode,
java.sql.Date baselineDate)
Gets all edit actions of the specified concept registered in the specified baseline date. |
java.sql.Date[] |
getConceptEditActionDates(int namespaceId,
java.lang.String inCode,
int iAction)
Gets all dates in which a specified action takes place on the specified concept. |
CodeActionDate[] |
getDescendantCodeActionDates(int namespaceId,
java.lang.String inCode,
java.sql.Date iBaselineDate,
java.sql.Date fBaselineDate)
Gets the descendant concepts' CodeActionDate of the specified concept. |
java.lang.String[] |
getDescendantCodes(int namespaceId,
java.lang.String inCode,
boolean atBaseline,
java.sql.Date iBaselineDate,
java.sql.Date fBaselineDate)
Gets the descendant concept codes of the specified concept. |
java.sql.Date[] |
getHistoryDates()
Gets all distinct dates in concept_history table. |
java.sql.Date |
getHistoryEnd()
Gets the latest date in concept_history table. |
java.sql.Date |
getHistoryStart()
Gets the initial date in concept_history table. |
int |
getNumberEditActions(int namespaceId,
java.lang.String inCode,
java.sql.Date baselineDate)
Gets the number of editing actions on the specified concept registered in the specified baseline date. |
int |
getNumberEditActions(int namespaceId,
java.lang.String inCode,
java.sql.Date iBaselineDate,
java.sql.Date fBaselineDate)
Gets the number of editing actions on the specified concept registered in the specified date range. |
boolean |
isConceptEdited(int namespaceId,
java.lang.String inCode,
boolean mrg_splt,
java.sql.Date iBaselineDate,
java.sql.Date fBaselineDate)
Checks if the specified concept is edited or not during a date range. |
boolean |
isConceptRetired(int namespaceId,
java.lang.String inCode)
Checks if the specified concept is retired or not. |
Methods inherited from class com.apelon.apelonserver.client.BasicQuery |
ping, setVersion |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConceptHistoryServer()
Method Detail |
public static ConceptHistoryServer createInstance(com.apelon.apelonserver.client.ServerConnection sc) throws com.apelon.dts.client.DTSException
sc
- server connectin type
com.apelon.dts.client.DTSException
- errorServerConnectionJDBC
,
ServerConnectionSocket
public static ConceptHistoryServer createInstance(com.apelon.apelonserver.client.ServerConnection sc, boolean isValidating) throws com.apelon.dts.client.DTSException
sc
- server connectin typeisValidating
- a boolean value. It is true if xml needs to
be validated, otherwise it is false.
com.apelon.dts.client.DTSException
- errorServerConnectionJDBC
,
ServerConnectionSocket
public java.sql.Date[] getHistoryDates() throws com.apelon.dts.client.DTSException
com.apelon.dts.client.DTSException
- errorpublic java.sql.Date getHistoryStart() throws com.apelon.dts.client.DTSException
com.apelon.dts.client.DTSException
- errorpublic java.sql.Date getHistoryEnd() throws com.apelon.dts.client.DTSException
com.apelon.dts.client.DTSException
- errorpublic java.sql.Date getConceptCreationDate(int namespaceId, java.lang.String inCode) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.
com.apelon.dts.client.DTSException
- errorpublic java.lang.String[] getDescendantCodes(int namespaceId, java.lang.String inCode, boolean atBaseline, java.sql.Date iBaselineDate, java.sql.Date fBaselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.atBaseline
- The boolean value to specify the search type.iBaselineDate
- The initial baseline date.fBaselineDate
- The final baseline date.
com.apelon.dts.client.DTSException
- errorpublic java.lang.String[] getCodeActionChildren(int namespaceId, java.lang.String inCode, java.sql.Date baselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.baselineDate
- The specified baseline date.
com.apelon.dts.client.DTSException
- errorpublic CodeActionDate[] getDescendantCodeActionDates(int namespaceId, java.lang.String inCode, java.sql.Date iBaselineDate, java.sql.Date fBaselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.iBaselineDate
- The initial baseline date.fBaselineDate
- The final baseline date.
com.apelon.dts.client.DTSException
- errorpublic java.lang.String[] getAncestorCodes(int namespaceId, java.lang.String inCode, boolean atBaseline, java.sql.Date iBaselineDate, java.sql.Date fBaselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.atBaseline
- The boolean value to specify the search type.iBaselineDate
- The initial baseline date.fBaselineDate
- The final baseline date.
com.apelon.dts.client.DTSException
- errorpublic java.lang.String[] getCodeActionParents(int namespaceId, java.lang.String inCode, java.sql.Date baselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.baselineDate
- The specified baseline date.
com.apelon.dts.client.DTSException
- errorpublic CodeActionDate[] getAncestorCodeActionDates(int namespaceId, java.lang.String inCode, java.sql.Date iBaselineDate, java.sql.Date fBaselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace of the conceptinCode
- The specified concept's code.iBaselineDate
- The initial baseline date.fBaselineDate
- The final baseline date.
com.apelon.dts.client.DTSException
- errorpublic java.sql.Date[] getConceptEditActionDates(int namespaceId, java.lang.String inCode, int iAction) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace of the conceptinCode
- The specified concept's code.iAction
- The specified editing action.
com.apelon.dts.client.DTSException
- errorpublic EditAction[] getConceptEditAction(int namespaceId, java.lang.String inCode) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace of the conceptinCode
- The specified concept's code.
com.apelon.dts.client.DTSException
- errorpublic boolean isConceptRetired(int namespaceId, java.lang.String inCode) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace of the conceptinCode
- The specified concept's code.
com.apelon.dts.client.DTSException
- errorpublic boolean isConceptEdited(int namespaceId, java.lang.String inCode, boolean mrg_splt, java.sql.Date iBaselineDate, java.sql.Date fBaselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace of the conceptinCode
- The specified concept's code.mrg_splt
- True - only check for "merge or split" editing action.
False - check for any editing action.iBaselineDate
- The initial baseline date.fBaselineDate
- The final baseline date.
com.apelon.dts.client.DTSException
- errorpublic int getNumberEditActions(int namespaceId, java.lang.String inCode, java.sql.Date baselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace of the conceptinCode
- The specified concept's code.baselineDate
- The specified baseline date.
com.apelon.dts.client.DTSException
- errorpublic int getNumberEditActions(int namespaceId, java.lang.String inCode, java.sql.Date iBaselineDate, java.sql.Date fBaselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.iBaselineDate
- The initial baseline date.fBaselineDate
- The final baseline date.
com.apelon.dts.client.DTSException
- errorpublic int[] getConceptEditAction(int namespaceId, java.lang.String inCode, java.sql.Date baselineDate) throws com.apelon.dts.client.DTSException
namespaceId
- The namespace identifier of the conceptinCode
- The specified concept's code.baselineDate
- The specified baseline date.
com.apelon.dts.client.DTSException
- error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |