public class PropertyValueDAOImpl extends AbstractPropertyValueDAOImpl
PropertyValueDAO.PropertyFinderCallback, PropertyValueDAO.PropertyUniqueContextCallback
controlDAO, 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, updatePropertyUniqueContext
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
protected PropertyClassEntity findClassById(java.lang.Long id)
findClassById
in class AbstractPropertyValueDAOImpl
protected PropertyClassEntity findClassByValue(java.lang.Class value)
findClassByValue
in class AbstractPropertyValueDAOImpl
protected PropertyClassEntity createClass(java.lang.Class value)
createClass
in class AbstractPropertyValueDAOImpl
protected PropertyDateValueEntity findDateValueById(java.lang.Long id)
findDateValueById
in class AbstractPropertyValueDAOImpl
protected PropertyDateValueEntity findDateValueByValue(java.util.Date value)
findDateValueByValue
in class AbstractPropertyValueDAOImpl
value
- a date, accurate to the dayprotected PropertyDateValueEntity createDateValue(java.util.Date value)
createDateValue
in class AbstractPropertyValueDAOImpl
value
- a date, accurate to the dayprotected java.lang.String findStringValueById(java.lang.Long id)
findStringValueById
in class AbstractPropertyValueDAOImpl
protected java.lang.Long findStringValueByValue(java.lang.String value)
findStringValueByValue
in class AbstractPropertyValueDAOImpl
protected java.lang.Long createStringValue(java.lang.String value)
createStringValue
in class AbstractPropertyValueDAOImpl
protected PropertyDoubleValueEntity findDoubleValueById(java.lang.Long id)
findDoubleValueById
in class AbstractPropertyValueDAOImpl
protected PropertyDoubleValueEntity findDoubleValueByValue(java.lang.Double value)
findDoubleValueByValue
in class AbstractPropertyValueDAOImpl
protected PropertyDoubleValueEntity createDoubleValue(java.lang.Double value)
createDoubleValue
in class AbstractPropertyValueDAOImpl
protected PropertySerializableValueEntity findSerializableValueById(java.lang.Long id)
findSerializableValueById
in class AbstractPropertyValueDAOImpl
protected PropertySerializableValueEntity createSerializableValue(java.io.Serializable value)
createSerializableValue
in class AbstractPropertyValueDAOImpl
protected PropertyValueEntity findPropertyValueById(java.lang.Long id)
findPropertyValueById
in class AbstractPropertyValueDAOImpl
protected PropertyValueEntity findPropertyValueByValue(java.io.Serializable value)
findPropertyValueByValue
in class AbstractPropertyValueDAOImpl
protected PropertyValueEntity createPropertyValue(java.io.Serializable value)
createPropertyValue
in class AbstractPropertyValueDAOImpl
protected java.util.List findPropertyById(java.lang.Long id)
findPropertyById
in class AbstractPropertyValueDAOImpl
protected void findPropertiesByIds(java.util.List ids, PropertyValueDAO.PropertyFinderCallback callback)
findPropertiesByIds
in class AbstractPropertyValueDAOImpl
protected java.lang.Long createPropertyRoot()
createPropertyRoot
in class AbstractPropertyValueDAOImpl
protected PropertyRootEntity getPropertyRoot(java.lang.Long id)
getPropertyRoot
in class AbstractPropertyValueDAOImpl
protected PropertyRootEntity updatePropertyRoot(PropertyRootEntity entity)
updatePropertyRoot
in class AbstractPropertyValueDAOImpl
protected void deletePropertyRoot(java.lang.Long id)
deletePropertyRoot
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity createPropertyUniqueContext(java.lang.Long valueId1, java.lang.Long valueId2, java.lang.Long valueId3, java.lang.Long propertyId)
createPropertyUniqueContext
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity getPropertyUniqueContextById(java.lang.Long id)
getPropertyUniqueContextById
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity getPropertyUniqueContextByValues(java.lang.Long valueId1, java.lang.Long valueId2, java.lang.Long valueId3)
getPropertyUniqueContextByValues
in class AbstractPropertyValueDAOImpl
protected void getPropertyUniqueContextByValues(PropertyValueDAO.PropertyUniqueContextCallback callback, java.lang.Long[] valueIds)
getPropertyUniqueContextByValues
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity updatePropertyUniqueContext(PropertyUniqueContextEntity entity)
updatePropertyUniqueContext
in class AbstractPropertyValueDAOImpl
public void deletePropertyUniqueContext(java.lang.Long id)
protected int deletePropertyUniqueContexts(java.lang.Long[] valueIds)
deletePropertyUniqueContexts
in class AbstractPropertyValueDAOImpl
protected void createPropertyLink(java.lang.Long rootPropId, java.lang.Long propIndex, java.lang.Long containedIn, java.lang.Long keyPropId, java.lang.Long valuePropId)
AbstractPropertyValueDAOImpl
createPropertyLink
in class AbstractPropertyValueDAOImpl
rootPropId
- 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)
AbstractPropertyValueDAOImpl
deletePropertyLinks
in class AbstractPropertyValueDAOImpl
rootPropId
- the root (entry-point) property IDCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.