|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.cts2.LexEvsBasedService
org.lexevs.cts2.BaseService
org.lexevs.cts2.author.AuthoringCore
org.lexevs.cts2.author.ValueSetAuthoringOperationImpl
public class ValueSetAuthoringOperationImpl
Implementation LexEVS CTS 2 Value Set Authoring Operation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.lexevs.cts2.BaseService |
---|
BaseService.KnownTags, BaseService.SortableProperties |
Constructor Summary | |
---|---|
ValueSetAuthoringOperationImpl()
|
Method Summary | |
---|---|
boolean |
addDefinitionEntry(java.net.URI valueSetURI,
DefinitionEntry newDefinitionEntry,
RevisionInfo revision)
Add new definition entry (rule set) to a value set definition. |
boolean |
addValueSetProperty(java.net.URI valueSetURI,
Property newProperty,
RevisionInfo revision)
Add new Property to existing value set definition. |
java.net.URI |
createValueSet(java.net.URI valueSetURI,
java.lang.String valueSetName,
java.lang.String defaultCodeSystem,
java.lang.String conceptDomainId,
java.util.List<Source> sourceList,
java.util.List<java.lang.String> usageContext,
Properties properties,
java.util.List<DefinitionEntry> ruleSetList,
Versionable versionable,
RevisionInfo revision)
Creates a new value set definition and loads into repository. |
java.net.URI |
createValueSet(ValueSetDefinition valueSetDefininition,
RevisionInfo revision)
Creates new value set definition and loads into repository. |
boolean |
removeDefinitionEntry(java.net.URI valueSetURI,
java.lang.Long ruleOrder,
RevisionInfo revision)
Removes definition entry (rule set) of a value set definition. |
boolean |
removeValueSet(java.net.URI valueSetURI,
RevisionInfo revision)
Removes value set definition from the system. |
boolean |
removeValueSetProperty(java.net.URI valueSetURI,
java.lang.String propertyId,
RevisionInfo revision)
Removes property of a value set definition. |
boolean |
updateDefinitionEntry(java.net.URI valueSetURI,
DefinitionEntry changedDefinitionEntry,
RevisionInfo revision)
Update existing definition entry (rule set) of a value set definition. |
boolean |
updateValueSetMetaData(java.net.URI valueSetURI,
java.lang.String valueSetName,
java.lang.String defaultCodeSystem,
java.lang.String conceptDomainId,
java.util.List<Source> sourceList,
java.util.List<java.lang.String> usageContext,
RevisionInfo revision)
Updates value set definition meta data. |
boolean |
updateValueSetProperty(java.net.URI valueSetURI,
Property changedProperty,
RevisionInfo revision)
Updates existing property of a value set definition. |
boolean |
updateValueSetStatus(java.net.URI valueSetURI,
java.lang.String status,
RevisionInfo revision)
Updates value set definition status. |
boolean |
updateValueSetVersionable(java.net.URI valueSetURI,
Versionable changedVersionable,
RevisionInfo revision)
Updates versionable attributes of value set definition. |
Methods inherited from class org.lexevs.cts2.author.AuthoringCore |
---|
addEntryState, createSystemRelease, getCodeSystemShell, getCodeSystemURI, getEntityShell, getLexGridRevisionObject, getSystemReleaseInfoByReleaseId, getSystemReleaseInfoByReleaseURI, populateEntryState, populateRevisionShell, populateRevisionShell, populateRevisionShell, validatedCodingScheme, validateRevisionInfo |
Methods inherited from class org.lexevs.cts2.BaseService |
---|
createUniqueId, getLexEvsCTS2, getServiceInfo |
Methods inherited from class org.lexevs.cts2.LexEvsBasedService |
---|
getDatabaseServiceManager, getIndexServiceManager, getLexBIGService, getLexBIGServiceManager, getLexBIGServiceManagerCredentials, getSystemResourceService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueSetAuthoringOperationImpl()
Method Detail |
---|
public boolean addDefinitionEntry(java.net.URI valueSetURI, DefinitionEntry newDefinitionEntry, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
addDefinitionEntry
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definitionnewDefinitionEntry
- Definition Entry object to be addedrevision
- revision information
LBException
public boolean addValueSetProperty(java.net.URI valueSetURI, Property newProperty, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
addValueSetProperty
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definition this new property will be addednewProperty
- new Property objectrevision
- revision information
LBException
public java.net.URI createValueSet(java.net.URI valueSetURI, java.lang.String valueSetName, java.lang.String defaultCodeSystem, java.lang.String conceptDomainId, java.util.List<Source> sourceList, java.util.List<java.lang.String> usageContext, Properties properties, java.util.List<DefinitionEntry> ruleSetList, Versionable versionable, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
createValueSet
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definitionvalueSetName
- Name of value set definitiondefaultCodeSystem
- local name of default code systemconceptDomainId
- (Optional)local name of concept domainsourceList
- (Optional)list of sourceusageContext
- (Optional)list of usage contextproperties
- (Optional)collection of propertiesruleSetList
- list of definition entries (rule sets)versionable
- versionable entries (status, isActive, effective date etc)revision
- revision information
LBException
public java.net.URI createValueSet(ValueSetDefinition valueSetDefininition, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
createValueSet
in interface ValueSetAuthoringOperation
valueSetDefininition
- Value Set Definition object to be loaded into repositoryrevision
- revision information
LBException
public boolean updateDefinitionEntry(java.net.URI valueSetURI, DefinitionEntry changedDefinitionEntry, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
updateDefinitionEntry
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definitionchangedDefinitionEntry
- modified definition entry objectrevision
- revision information
LBException
public boolean updateValueSetMetaData(java.net.URI valueSetURI, java.lang.String valueSetName, java.lang.String defaultCodeSystem, java.lang.String conceptDomainId, java.util.List<Source> sourceList, java.util.List<java.lang.String> usageContext, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
updateValueSetMetaData
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definition that will be modifiedvalueSetName
- modified value set definition namedefaultCodeSystem
- modified default code system nameconceptDomainId
- modified concept domain idsourceList
- modified complete list of sourceusageContext
- modified complete list of contextrevision
- revision information
LBException
public boolean updateValueSetProperty(java.net.URI valueSetURI, Property changedProperty, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
updateValueSetProperty
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definitionchangedProperty
- modified property objectrevision
- revision information
LBException
public boolean updateValueSetStatus(java.net.URI valueSetURI, java.lang.String status, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
updateValueSetStatus
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definitionstatus
- modified statusrevision
- revision information
LBException
public boolean updateValueSetVersionable(java.net.URI valueSetURI, Versionable changedVersionable, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
updateValueSetVersionable
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definition that will be modifiedchangedVersionable
- modified versionable objectrevision
- revision information
LBException
public boolean removeDefinitionEntry(java.net.URI valueSetURI, java.lang.Long ruleOrder, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
removeDefinitionEntry
in interface ValueSetAuthoringOperation
valueSetURI
- URI of a value set definitionruleOrder
- rule set order id to be removedrevision
- revision information
LBException
public boolean removeValueSet(java.net.URI valueSetURI, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
removeValueSet
in interface ValueSetAuthoringOperation
valueSetURI
- URI of value set definition to be removedrevision
- revision information
LBException
public boolean removeValueSetProperty(java.net.URI valueSetURI, java.lang.String propertyId, RevisionInfo revision) throws LBException
ValueSetAuthoringOperation
removeValueSetProperty
in interface ValueSetAuthoringOperation
valueSetURI
- URI of a value set definitionpropertyId
- id of a property that needs to be removedrevision
- revision information
LBException
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |