public class PropertyValueDAOImpl extends AbstractPropertyValueDAOImpl
PropertyValueDAO.PropertyFinderCallback, PropertyValueDAO.PropertyUniqueContextCallbackcontrolDAO, converter, logger| Constructor and Description |
|---|
PropertyValueDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyClassEntity |
createClass(java.lang.Class value) |
protected PropertyDateValueEntity |
createDateValue(java.util.Date value) |
protected PropertyDoubleValueEntity |
createDoubleValue(java.lang.Double value) |
protected void |
createPropertyLink(java.lang.Long rootPropId,
java.lang.Long propIndex,
java.lang.Long containedIn,
java.lang.Long keyPropId,
java.lang.Long valuePropId)
Create an entry for the map or collection link.
|
protected java.lang.Long |
createPropertyRoot() |
protected PropertyUniqueContextEntity |
createPropertyUniqueContext(java.lang.Long valueId1,
java.lang.Long valueId2,
java.lang.Long valueId3,
java.lang.Long propertyId) |
protected PropertyValueEntity |
createPropertyValue(java.io.Serializable value) |
protected PropertySerializableValueEntity |
createSerializableValue(java.io.Serializable value) |
protected java.lang.Long |
createStringValue(java.lang.String value) |
protected int |
deletePropertyLinks(java.lang.Long rootPropId)
Remove all property links for a given property root.
|
protected void |
deletePropertyRoot(java.lang.Long id) |
void |
deletePropertyUniqueContext(java.lang.Long id) |
protected int |
deletePropertyUniqueContexts(java.lang.Long[] valueIds) |
protected PropertyClassEntity |
findClassById(java.lang.Long id) |
protected PropertyClassEntity |
findClassByValue(java.lang.Class value) |
protected PropertyDateValueEntity |
findDateValueById(java.lang.Long id) |
protected PropertyDateValueEntity |
findDateValueByValue(java.util.Date value) |
protected PropertyDoubleValueEntity |
findDoubleValueById(java.lang.Long id) |
protected PropertyDoubleValueEntity |
findDoubleValueByValue(java.lang.Double value) |
protected void |
findPropertiesByIds(java.util.List ids,
PropertyValueDAO.PropertyFinderCallback callback) |
protected java.util.List |
findPropertyById(java.lang.Long id) |
protected PropertyValueEntity |
findPropertyValueById(java.lang.Long id) |
protected PropertyValueEntity |
findPropertyValueByValue(java.io.Serializable value) |
protected PropertySerializableValueEntity |
findSerializableValueById(java.lang.Long id) |
protected java.lang.String |
findStringValueById(java.lang.Long id) |
protected java.lang.Long |
findStringValueByValue(java.lang.String value) |
protected PropertyRootEntity |
getPropertyRoot(java.lang.Long id) |
protected PropertyUniqueContextEntity |
getPropertyUniqueContextById(java.lang.Long id) |
protected PropertyUniqueContextEntity |
getPropertyUniqueContextByValues(java.lang.Long valueId1,
java.lang.Long valueId2,
java.lang.Long valueId3) |
protected void |
getPropertyUniqueContextByValues(PropertyValueDAO.PropertyUniqueContextCallback callback,
java.lang.Long[] valueIds) |
void |
setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate) |
protected PropertyRootEntity |
updatePropertyRoot(PropertyRootEntity entity) |
protected PropertyUniqueContextEntity |
updatePropertyUniqueContext(PropertyUniqueContextEntity entity) |
constructEmptyContainer, convertPropertyIdSearchRows, createProperty, createPropertySerializableValue, createPropertyUniqueContext, deleteProperty, deletePropertyUniqueContext, getOrCreatePropertyClass, getOrCreatePropertyDateValue, getOrCreatePropertyDoubleValue, getOrCreatePropertyStringValue, getOrCreatePropertyValue, getPropertiesByIds, getPropertyById, getPropertyClass, getPropertyClassById, getPropertyDateValue, getPropertyDateValueById, getPropertyDoubleValue, getPropertyDoubleValueById, getPropertySerializableValueById, getPropertyStringCaseSensitiveSearchParameters, getPropertyStringValue, getPropertyStringValueById, getPropertyUniqueContext, getPropertyUniqueContext, getPropertyValue, getPropertyValueById, setControlDAO, setConverter, setPropertyCache, setPropertyClassCache, setPropertyDateValueCache, setPropertyDoubleValueCache, setPropertySerializableValueCache, setPropertyStringValueCache, setPropertyValueCache, updateProperty, updatePropertyUniqueContext, updatePropertyUniqueContextpublic final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
protected PropertyClassEntity findClassById(java.lang.Long id)
findClassById in class AbstractPropertyValueDAOImplprotected PropertyClassEntity findClassByValue(java.lang.Class value)
findClassByValue in class AbstractPropertyValueDAOImplprotected PropertyClassEntity createClass(java.lang.Class value)
createClass in class AbstractPropertyValueDAOImplprotected PropertyDateValueEntity findDateValueById(java.lang.Long id)
findDateValueById in class AbstractPropertyValueDAOImplprotected PropertyDateValueEntity findDateValueByValue(java.util.Date value)
findDateValueByValue in class AbstractPropertyValueDAOImplvalue - a date, accurate to the dayprotected PropertyDateValueEntity createDateValue(java.util.Date value)
createDateValue in class AbstractPropertyValueDAOImplvalue - a date, accurate to the dayprotected java.lang.String findStringValueById(java.lang.Long id)
findStringValueById in class AbstractPropertyValueDAOImplprotected java.lang.Long findStringValueByValue(java.lang.String value)
findStringValueByValue in class AbstractPropertyValueDAOImplprotected java.lang.Long createStringValue(java.lang.String value)
createStringValue in class AbstractPropertyValueDAOImplprotected PropertyDoubleValueEntity findDoubleValueById(java.lang.Long id)
findDoubleValueById in class AbstractPropertyValueDAOImplprotected PropertyDoubleValueEntity findDoubleValueByValue(java.lang.Double value)
findDoubleValueByValue in class AbstractPropertyValueDAOImplprotected PropertyDoubleValueEntity createDoubleValue(java.lang.Double value)
createDoubleValue in class AbstractPropertyValueDAOImplprotected PropertySerializableValueEntity findSerializableValueById(java.lang.Long id)
findSerializableValueById in class AbstractPropertyValueDAOImplprotected PropertySerializableValueEntity createSerializableValue(java.io.Serializable value)
createSerializableValue in class AbstractPropertyValueDAOImplprotected PropertyValueEntity findPropertyValueById(java.lang.Long id)
findPropertyValueById in class AbstractPropertyValueDAOImplprotected PropertyValueEntity findPropertyValueByValue(java.io.Serializable value)
findPropertyValueByValue in class AbstractPropertyValueDAOImplprotected PropertyValueEntity createPropertyValue(java.io.Serializable value)
createPropertyValue in class AbstractPropertyValueDAOImplprotected java.util.List findPropertyById(java.lang.Long id)
findPropertyById in class AbstractPropertyValueDAOImplprotected void findPropertiesByIds(java.util.List ids,
PropertyValueDAO.PropertyFinderCallback callback)
findPropertiesByIds in class AbstractPropertyValueDAOImplprotected java.lang.Long createPropertyRoot()
createPropertyRoot in class AbstractPropertyValueDAOImplprotected PropertyRootEntity getPropertyRoot(java.lang.Long id)
getPropertyRoot in class AbstractPropertyValueDAOImplprotected PropertyRootEntity updatePropertyRoot(PropertyRootEntity entity)
updatePropertyRoot in class AbstractPropertyValueDAOImplprotected void deletePropertyRoot(java.lang.Long id)
deletePropertyRoot in class AbstractPropertyValueDAOImplprotected PropertyUniqueContextEntity createPropertyUniqueContext(java.lang.Long valueId1, java.lang.Long valueId2, java.lang.Long valueId3, java.lang.Long propertyId)
createPropertyUniqueContext in class AbstractPropertyValueDAOImplprotected PropertyUniqueContextEntity getPropertyUniqueContextById(java.lang.Long id)
getPropertyUniqueContextById in class AbstractPropertyValueDAOImplprotected PropertyUniqueContextEntity getPropertyUniqueContextByValues(java.lang.Long valueId1, java.lang.Long valueId2, java.lang.Long valueId3)
getPropertyUniqueContextByValues in class AbstractPropertyValueDAOImplprotected void getPropertyUniqueContextByValues(PropertyValueDAO.PropertyUniqueContextCallback callback, java.lang.Long[] valueIds)
getPropertyUniqueContextByValues in class AbstractPropertyValueDAOImplprotected PropertyUniqueContextEntity updatePropertyUniqueContext(PropertyUniqueContextEntity entity)
updatePropertyUniqueContext in class AbstractPropertyValueDAOImplpublic void deletePropertyUniqueContext(java.lang.Long id)
protected int deletePropertyUniqueContexts(java.lang.Long[] valueIds)
deletePropertyUniqueContexts in class AbstractPropertyValueDAOImplprotected void createPropertyLink(java.lang.Long rootPropId,
java.lang.Long propIndex,
java.lang.Long containedIn,
java.lang.Long keyPropId,
java.lang.Long valuePropId)
AbstractPropertyValueDAOImplcreatePropertyLink in class AbstractPropertyValueDAOImplrootPropId - the root (entry-point) property IDpropIndex - the property number within the root propertycontainedIn - the property that contains the current valuekeyPropId - the map key entity ID or collection position countvaluePropId - the ID of the entity storing the value (may be another map or collection)protected int deletePropertyLinks(java.lang.Long rootPropId)
AbstractPropertyValueDAOImpldeletePropertyLinks in class AbstractPropertyValueDAOImplrootPropId - the root (entry-point) property IDCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.