org.lexevs.cts2.author
Class AuthoringCore

java.lang.Object
  extended by org.lexevs.cts2.LexEvsBasedService
      extended by org.lexevs.cts2.BaseService
          extended by org.lexevs.cts2.author.AuthoringCore
Direct Known Subclasses:
CodeSystemAuthoringOperationImpl, CodeSystemLoadOperationImpl, ConceptDomainAuthoringOperationImpl, UsageContextAuthoringOperationImpl, ValueSetAuthoringOperationImpl

public class AuthoringCore
extends BaseService


Nested Class Summary
 
Nested classes/interfaces inherited from class org.lexevs.cts2.BaseService
BaseService.KnownTags, BaseService.SortableProperties
 
Constructor Summary
AuthoringCore()
           
 
Method Summary
protected
<T extends Versionable>
T
addEntryState(T versionable, ChangeType changeType, java.lang.String revisionId, java.lang.String prevRevisionId, java.lang.Long relativeOrder)
           
 java.lang.String createSystemRelease(SystemReleaseInfo systemReleaseInfo)
           
protected  CodingScheme getCodeSystemShell(java.lang.String codeSystemURI, java.lang.String codeSystemVersion, java.lang.String revisionId, ChangeType changeType)
           
protected  java.lang.String getCodeSystemURI(java.lang.String codeSystemNameOrUri, java.lang.String version)
           
protected  Entity getEntityShell(java.lang.String entityId, java.lang.String namespace, java.lang.String codeSystemNameOrURI, java.lang.String codeSystemVersion, java.lang.String revisionId, ChangeType changeType)
           
 Revision getLexGridRevisionObject(RevisionInfo revisionInfo)
           
 SystemReleaseInfo getSystemReleaseInfoByReleaseId(java.lang.String releaseId)
           
 SystemReleaseInfo getSystemReleaseInfoByReleaseURI(java.net.URI releaseURI)
           
 EntryState populateEntryState(ChangeType changeType, java.lang.String revisionId, java.lang.String prevRevisionId, java.lang.Long relativeOrder)
           
protected  Revision populateRevisionShell(CodingScheme codingScheme, ChangeType changeType, java.lang.String prevRevisionId, java.lang.Long relativeOrder, RevisionInfo revisionInfo)
           
protected  Revision populateRevisionShell(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion, Entity entity, ChangeType changeType, java.lang.String prevRevisionId, java.lang.Long relativeOrder, RevisionInfo revisionInfo)
           
protected  Revision populateRevisionShell(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion, java.lang.String entityCode, java.lang.String entityCodeNamespace, Property property, ChangeType changeType, java.lang.String prevRevisionId, java.lang.Long relativeOrder, RevisionInfo revisionInfo)
           
protected  void validatedCodingScheme(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion)
           
 boolean validateRevisionInfo(RevisionInfo revisionInfo)
           
 
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

AuthoringCore

public AuthoringCore()
Method Detail

createSystemRelease

public java.lang.String createSystemRelease(SystemReleaseInfo systemReleaseInfo)
                                     throws LBException
Throws:
LBException

getSystemReleaseInfoByReleaseId

public SystemReleaseInfo getSystemReleaseInfoByReleaseId(java.lang.String releaseId)
                                                  throws LBException
Throws:
LBException

getSystemReleaseInfoByReleaseURI

public SystemReleaseInfo getSystemReleaseInfoByReleaseURI(java.net.URI releaseURI)
                                                   throws LBException
Throws:
LBException

validateRevisionInfo

public boolean validateRevisionInfo(RevisionInfo revisionInfo)
                             throws LBException
Throws:
LBException

getLexGridRevisionObject

public Revision getLexGridRevisionObject(RevisionInfo revisionInfo)

addEntryState

protected <T extends Versionable> T addEntryState(T versionable,
                                                  ChangeType changeType,
                                                  java.lang.String revisionId,
                                                  java.lang.String prevRevisionId,
                                                  java.lang.Long relativeOrder)

populateRevisionShell

protected Revision populateRevisionShell(java.lang.String codingSchemeUri,
                                         java.lang.String codingSchemeVersion,
                                         java.lang.String entityCode,
                                         java.lang.String entityCodeNamespace,
                                         Property property,
                                         ChangeType changeType,
                                         java.lang.String prevRevisionId,
                                         java.lang.Long relativeOrder,
                                         RevisionInfo revisionInfo)

populateRevisionShell

protected Revision populateRevisionShell(java.lang.String codingSchemeUri,
                                         java.lang.String codingSchemeVersion,
                                         Entity entity,
                                         ChangeType changeType,
                                         java.lang.String prevRevisionId,
                                         java.lang.Long relativeOrder,
                                         RevisionInfo revisionInfo)

populateRevisionShell

protected Revision populateRevisionShell(CodingScheme codingScheme,
                                         ChangeType changeType,
                                         java.lang.String prevRevisionId,
                                         java.lang.Long relativeOrder,
                                         RevisionInfo revisionInfo)

populateEntryState

public EntryState populateEntryState(ChangeType changeType,
                                     java.lang.String revisionId,
                                     java.lang.String prevRevisionId,
                                     java.lang.Long relativeOrder)

validatedCodingScheme

protected void validatedCodingScheme(java.lang.String codingSchemeUri,
                                     java.lang.String codingSchemeVersion)
                              throws LBException
Throws:
LBException

getCodeSystemShell

protected CodingScheme getCodeSystemShell(java.lang.String codeSystemURI,
                                          java.lang.String codeSystemVersion,
                                          java.lang.String revisionId,
                                          ChangeType changeType)
                                   throws LBException
Throws:
LBException

getEntityShell

protected Entity getEntityShell(java.lang.String entityId,
                                java.lang.String namespace,
                                java.lang.String codeSystemNameOrURI,
                                java.lang.String codeSystemVersion,
                                java.lang.String revisionId,
                                ChangeType changeType)
                         throws LBException
Throws:
LBException

getCodeSystemURI

protected java.lang.String getCodeSystemURI(java.lang.String codeSystemNameOrUri,
                                            java.lang.String version)
                                     throws LBParameterException
Throws:
LBParameterException

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.