public class UMLSHistoryServiceImpl extends java.lang.Object implements HistoryService
metaURN
Constructor and Description |
---|
UMLSHistoryServiceImpl()
This constructor is only here for Apache Axis to work correctly.
|
UMLSHistoryServiceImpl(java.lang.String urn) |
Modifier and Type | Method and Description |
---|---|
NCIChangeEventList |
getAncestors(ConceptReference conceptReference)
Return the list of change events identifying the immediate ancestors
of the given concept reference.
|
SystemReleaseList |
getBaselines(java.util.Date releasedAfter,
java.util.Date releasedBefore)
Return a list of baselines supported by this service that were released
on or after the first supplied date and were released on or before the
second date.
|
java.util.List<java.lang.String> |
getCodeListForVersion(java.lang.String currentVersion) |
CodingSchemeVersionList |
getConceptChangeVersions(ConceptReference conceptReference,
java.util.Date beginDate,
java.util.Date endDate)
Return a list of all of the coding scheme versions in which the supplied
concept changed between the two supplied times (inclusive).
|
CodingSchemeVersion |
getConceptCreationVersion(ConceptReference conceptReference)
Return the coding scheme version in which the supplied concept was
created.
|
java.util.Date |
getDateForVersion(java.lang.String currentVersion) |
NCIChangeEventList |
getDescendants(ConceptReference conceptReference)
Return the list of change events identifying the immediate descendants
of the given concept reference.
|
SystemRelease |
getEarliestBaseline()
Return the earliest baseline version in the list.
|
NCIChangeEventList |
getEditActionList(ConceptReference conceptReference,
CodingSchemeVersion codingSchemeVersion)
Return the list of available NCI-defined change events for the given
concept and coding scheme version.
|
NCIChangeEventList |
getEditActionList(ConceptReference conceptReference,
java.util.Date beginDate,
java.util.Date endDate)
Return the list of available NCI-defined change events for the given
concept and date range.
|
NCIChangeEventList |
getEditActionList(ConceptReference conceptReference,
java.net.URI releaseURN)
Return the list of NCI-defined change events for the given concept and
release; empty if not applicable.
|
SystemRelease |
getLatestBaseline()
Get the latest baseline in the list.
|
SystemReleaseDetail |
getSystemRelease(java.net.URI releaseURN)
Return detailed information about the particular system release.
|
java.util.List<java.lang.String> |
getVersionsForDateRange(java.util.Date previousDate,
java.util.Date currentDate) |
public UMLSHistoryServiceImpl()
public UMLSHistoryServiceImpl(java.lang.String urn) throws LBParameterException
LBParameterException
public NCIChangeEventList getAncestors(ConceptReference conceptReference) throws LBParameterException, LBInvocationException
HistoryService
getAncestors
in interface HistoryService
conceptReference
- ConceptReferenceLBParameterException
LBInvocationException
public SystemReleaseList getBaselines(java.util.Date releasedAfter, java.util.Date releasedBefore) throws LBParameterException, LBInvocationException
HistoryService
getBaselines
in interface HistoryService
releasedAfter
- If present, only return baselines released on or after the
supplied date.releasedBefore
- If present, only return baselines that were released before
the specified dateLBParameterException
LBInvocationException
public CodingSchemeVersionList getConceptChangeVersions(ConceptReference conceptReference, java.util.Date beginDate, java.util.Date endDate) throws LBParameterException, LBInvocationException
HistoryService
getConceptChangeVersions
in interface HistoryService
conceptReference
- The concept to pull the versions out ofbeginDate
- Begin date (inclusive) to check for version changes. If
omitted, go to earliest recorded dateendDate
- Last date to check for changes in (inclusive). If omitted
include all dates past and including beginDateLBParameterException
LBInvocationException
public CodingSchemeVersion getConceptCreationVersion(ConceptReference conceptReference) throws LBParameterException, LBInvocationException
HistoryService
getConceptCreationVersion
in interface HistoryService
conceptReference
- ConceptReferenceLBParameterException
LBInvocationException
public NCIChangeEventList getDescendants(ConceptReference conceptReference) throws LBParameterException, LBInvocationException
HistoryService
getDescendants
in interface HistoryService
conceptReference
- ConceptReferenceLBParameterException
LBInvocationException
public SystemRelease getEarliestBaseline() throws LBInvocationException
HistoryService
getEarliestBaseline
in interface HistoryService
LBInvocationException
public NCIChangeEventList getEditActionList(ConceptReference conceptReference, CodingSchemeVersion codingSchemeVersion) throws LBParameterException, LBInvocationException
HistoryService
getEditActionList
in interface HistoryService
conceptReference
- Optional concept to get the action list for. If omitted, all
events for the given change set (represented by a coding
scheme version) are returned.codingSchemeVersion
- Version to get the action list forLBParameterException
LBInvocationException
public NCIChangeEventList getEditActionList(ConceptReference conceptReference, java.util.Date beginDate, java.util.Date endDate) throws LBParameterException, LBInvocationException
HistoryService
getEditActionList
in interface HistoryService
conceptReference
- Optional concept to get the action list for. If omitted, all
events for the given date range are returned.beginDate
- Begin date (inclusive) to check for version changes. If
omitted, go to earliest recorded date.endDate
- Last date to check for changes in (inclusive). If omitted
include all dates past and including beginDate.LBParameterException
LBInvocationException
public NCIChangeEventList getEditActionList(ConceptReference conceptReference, java.net.URI releaseURN) throws LBParameterException, LBInvocationException
HistoryService
getEditActionList
in interface HistoryService
conceptReference
- Optional concept to get the action list for. If omitted the
actions for all registered concepts for the specified system
release are returned.releaseURN
- URN of the system release to retrieve the action list for.LBParameterException
LBInvocationException
public SystemRelease getLatestBaseline() throws LBInvocationException
HistoryService
getLatestBaseline
in interface HistoryService
LBInvocationException
public SystemReleaseDetail getSystemRelease(java.net.URI releaseURN) throws LBParameterException, LBInvocationException
HistoryService
getSystemRelease
in interface HistoryService
releaseURN
- The URN of the system release to retrieve.LBParameterException
LBInvocationException
public java.util.List<java.lang.String> getCodeListForVersion(java.lang.String currentVersion)
getCodeListForVersion
in interface HistoryService
public java.util.Date getDateForVersion(java.lang.String currentVersion)
getDateForVersion
in interface HistoryService
public java.util.List<java.lang.String> getVersionsForDateRange(java.util.Date previousDate, java.util.Date currentDate)
getVersionsForDateRange
in interface HistoryService