org.lexevs.dao.database.access.valuesets
Interface VSPropertyDao

All Superinterfaces:
LexGridSchemaVersionAwareDao
All Known Implementing Classes:
IbatisVSPropertyDao

public interface VSPropertyDao
extends LexGridSchemaVersionAwareDao

The Interface VSPropertyDao.

Author:
Sridhar Dwarkanath

Nested Class Summary
static class VSPropertyDao.ReferenceType
          The Enum ReferenceType.
 
Nested classes/interfaces inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T>
 
Method Summary
 void deleteAllDefinitionEntityPropertiesOfValueSetDefinition(java.lang.String valueSetDefinitionURI)
          Delete all DefinitionEntity properties of value set definition.
 void deleteAllPickListDefinitionProperties(java.lang.String pickListId)
          Delete all properties of a pick list definition.
 void deleteAllPickListEntityPropertiesOfPickListDefinition(java.lang.String pickListId)
          Delete all PickListEntity properties of pick list definition.
 void deleteAllPickListEntryNodeProperties(java.lang.String pickListEntryNodeUId)
           
 void deleteAllValueSetDefinitionProperties(java.lang.String valueSetDefinitionURI)
          Delete all properties of a value set definition.
 void deletePropertyByUId(java.lang.String propertyUId)
           
 java.util.List<Property> getAllHistoryPropertiesOfParentByRevisionGuid(java.lang.String parentGuid, java.lang.String revisionGuid, VSPropertyDao.ReferenceType type)
           
 java.util.List<Property> getAllPropertiesOfParent(java.lang.String parentGuid, VSPropertyDao.ReferenceType type)
          Gets the all properties of parent.
 java.lang.String getLatestRevision(java.lang.String propertyUId)
           
 Property getPropertyByUId(java.lang.String vsPropertyUId)
           
 java.lang.String getPropertyGuidFromParentGuidAndPropertyId(java.lang.String parentGuid, java.lang.String propertyId)
           
 java.lang.String insertHistoryProperty(java.lang.String parentGuid, java.lang.String propertyGuid, VSPropertyDao.ReferenceType type, Property property)
           
 java.lang.String insertProperty(java.lang.String parentGuid, VSPropertyDao.ReferenceType type, Property property)
          Insert property.
 void insertPropertyQualifier(java.lang.String propertyGuid, PropertyQualifier qualifier)
          Insert property qualifier.
 void insertPropertySource(java.lang.String propertyGuid, Source source)
          Insert property source.
 void insertPropertyUsageContext(java.lang.String propertyGuid, java.lang.String usageContext)
          Insert property usage context.
 Property resolveVSPropertyByRevision(java.lang.String parentGuid, java.lang.String propertyId, java.lang.String revisionId)
           
 java.lang.String updateProperty(java.lang.String parentGuid, java.lang.String propertyGuid, VSPropertyDao.ReferenceType type, Property property)
          Update property.
 java.lang.String updateVersionableAttributes(java.lang.String valueSetDefUId, java.lang.String propertyUId, VSPropertyDao.ReferenceType valuesetdefinition, Property property)
           
 
Methods inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao
executeInTransaction, supportsLgSchemaVersion
 

Method Detail

getAllPropertiesOfParent

java.util.List<Property> getAllPropertiesOfParent(java.lang.String parentGuid,
                                                  VSPropertyDao.ReferenceType type)
Gets the all properties of parent.

Parameters:
parentGuid - the parent GUID
type - the type
Returns:
the all properties of parent

getAllHistoryPropertiesOfParentByRevisionGuid

java.util.List<Property> getAllHistoryPropertiesOfParentByRevisionGuid(java.lang.String parentGuid,
                                                                       java.lang.String revisionGuid,
                                                                       VSPropertyDao.ReferenceType type)

insertPropertyQualifier

void insertPropertyQualifier(java.lang.String propertyGuid,
                             PropertyQualifier qualifier)
Insert property qualifier.

Parameters:
propertyGuid - the property GUID
qualifier - the qualifier

insertProperty

java.lang.String insertProperty(java.lang.String parentGuid,
                                VSPropertyDao.ReferenceType type,
                                Property property)
Insert property.

Parameters:
parentGuid - the parent GUID
type - the type
property - the property
Returns:
the string

insertHistoryProperty

java.lang.String insertHistoryProperty(java.lang.String parentGuid,
                                       java.lang.String propertyGuid,
                                       VSPropertyDao.ReferenceType type,
                                       Property property)

insertPropertySource

void insertPropertySource(java.lang.String propertyGuid,
                          Source source)
Insert property source.

Parameters:
propertyGuid - the property GUID
source - the source

insertPropertyUsageContext

void insertPropertyUsageContext(java.lang.String propertyGuid,
                                java.lang.String usageContext)
Insert property usage context.

Parameters:
propertyGuid - the property GUID
usageContext - the usage context

deleteAllDefinitionEntityPropertiesOfValueSetDefinition

void deleteAllDefinitionEntityPropertiesOfValueSetDefinition(java.lang.String valueSetDefinitionURI)
Delete all DefinitionEntity properties of value set definition.

Parameters:
valueSetDefinitionURI - the URI of value set definition

deleteAllPickListEntityPropertiesOfPickListDefinition

void deleteAllPickListEntityPropertiesOfPickListDefinition(java.lang.String pickListId)
Delete all PickListEntity properties of pick list definition.

Parameters:
pickListId - the id of pick list definition

deleteAllValueSetDefinitionProperties

void deleteAllValueSetDefinitionProperties(java.lang.String valueSetDefinitionURI)
Delete all properties of a value set definition.

Parameters:
valueSetDefinitionURI - the URI of value set definition

deleteAllPickListDefinitionProperties

void deleteAllPickListDefinitionProperties(java.lang.String pickListId)
Delete all properties of a pick list definition.

Parameters:
pickListId - the id of pick list definition

updateProperty

java.lang.String updateProperty(java.lang.String parentGuid,
                                java.lang.String propertyGuid,
                                VSPropertyDao.ReferenceType type,
                                Property property)
Update property.

Parameters:
parentGuid - the parent GUID
propertyGuid - the property GUID
type - the type
property - the property

getPropertyGuidFromParentGuidAndPropertyId

java.lang.String getPropertyGuidFromParentGuidAndPropertyId(java.lang.String parentGuid,
                                                            java.lang.String propertyId)

deletePropertyByUId

void deletePropertyByUId(java.lang.String propertyUId)

updateVersionableAttributes

java.lang.String updateVersionableAttributes(java.lang.String valueSetDefUId,
                                             java.lang.String propertyUId,
                                             VSPropertyDao.ReferenceType valuesetdefinition,
                                             Property property)

deleteAllPickListEntryNodeProperties

void deleteAllPickListEntryNodeProperties(java.lang.String pickListEntryNodeUId)

getLatestRevision

java.lang.String getLatestRevision(java.lang.String propertyUId)

resolveVSPropertyByRevision

Property resolveVSPropertyByRevision(java.lang.String parentGuid,
                                     java.lang.String propertyId,
                                     java.lang.String revisionId)
                                     throws LBRevisionException
Throws:
LBRevisionException

getPropertyByUId

Property getPropertyByUId(java.lang.String vsPropertyUId)

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.