ca.infoway.messagebuilder.terminology.codeset.dao
Interface MutableCodeSetDao

Package class diagram package MutableCodeSetDao
All Superinterfaces:
CodeSetDao
All Known Implementing Classes:
HibernateCodeSetDao

public interface MutableCodeSetDao
extends CodeSetDao

A Data-access-object interface for updating records in the code tables. In general, the methods provided by this interface should not be invoked by applications that require only code resolution. This API exists to support things like loading the values.

Author:
Intelliware Development

Method Summary
 int countCodeSystems(CodeSystemSearchCriteria searchCriteria)
          Count code systems.
 CodeSystem findCodeSystem(String oid)
          Find code system.
 List<CodeSystem> findCodeSystems(CodeSystemSearchCriteria searchCriteria)
          Find code systems.
 List<CodeSystem> findCodeSystems(CodeSystemSearchCriteria searchCriteria, int startRow, int endRow)
          Find code systems.
 ValueSet findValueSet(String name)
          Find value set.
 ValueSetEntry findValueSetEntry(String valueSetName, Code code)
          Find value set entry.
 List<CodeSystem> getAllCodeSystems()
          Gets the all code systems.
 void save(ValueSetEntry valueSet)
          Save.
 void saveAll(Collection<VocabularyDomain> vocabularyDomain)
          Save all.
 void saveAllCodedValues(Collection<CodedValue> values)
          Save all coded values.
 void saveValueSet(ValueSet valueSet)
          Save value set.
 
Methods inherited from interface ca.infoway.messagebuilder.terminology.codeset.dao.CodeSetDao
findCodedValue, findValueByCodeSystem, selectAllVocabularyDomains, selectCodedValuesByVocabularyDomain, selectValueSetsByCode, selectValueSetsByVocabularyDomain, selectValueSetsByVocabularyDomain, selectValueSetsByVocabularyDomain, selectVocabularyDomain, selectVocabularyDomains
 

Method Detail

findCodeSystem

CodeSystem findCodeSystem(String oid)

Find code system.

Parameters:
oid - the oid
Returns:
the code system

getAllCodeSystems

List<CodeSystem> getAllCodeSystems()

Gets the all code systems.

Returns:
the all code systems

findCodeSystems

List<CodeSystem> findCodeSystems(CodeSystemSearchCriteria searchCriteria)

Find code systems.

Parameters:
searchCriteria - the search criteria
Returns:
the list

findCodeSystems

List<CodeSystem> findCodeSystems(CodeSystemSearchCriteria searchCriteria,
                                 int startRow,
                                 int endRow)

Find code systems.

Parameters:
searchCriteria - the search criteria
startRow - the start row
endRow - the end row
Returns:
the list

countCodeSystems

int countCodeSystems(CodeSystemSearchCriteria searchCriteria)

Count code systems.

Parameters:
searchCriteria - the search criteria
Returns:
the int

saveAll

void saveAll(Collection<VocabularyDomain> vocabularyDomain)

Save all.

Parameters:
vocabularyDomain - the vocabulary domain

saveAllCodedValues

void saveAllCodedValues(Collection<CodedValue> values)

Save all coded values.

Parameters:
values - the values

findValueSetEntry

ValueSetEntry findValueSetEntry(String valueSetName,
                                Code code)

Find value set entry.

Parameters:
valueSetName - the value set name
code - the code
Returns:
the value set entry

findValueSet

ValueSet findValueSet(String name)

Find value set.

Parameters:
name - the name
Returns:
the value set

save

void save(ValueSetEntry valueSet)

Save.

Parameters:
valueSet - the value set

saveValueSet

void saveValueSet(ValueSet valueSet)

Save value set.

Parameters:
valueSet - the value set


Copyright © 2013. All Rights Reserved.