public class PropertyValueDAOImpl extends AbstractPropertyValueDAOImpl
AbstractPropertyValueDAOImpl.CachePucKey
PropertyValueDAO.PropertyFinderCallback, PropertyValueDAO.PropertyUniqueContextCallback
controlDAO, converter, logger
Constructor and Description |
---|
PropertyValueDAOImpl() |
clearCaches, 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, setPropertyUniqueContextCache, setPropertyValueCache, setUniquenessCheckEnabled, updateProperty, updatePropertyUniqueContext, updatePropertyUniqueContextKeys
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
public void setScriptExecutor(ScriptBundleExecutor scriptExecutor)
protected PropertyClassEntity findClassById(Long id)
findClassById
in class AbstractPropertyValueDAOImpl
protected PropertyClassEntity findClassByValue(Class<?> value)
findClassByValue
in class AbstractPropertyValueDAOImpl
protected PropertyClassEntity createClass(Class<?> value)
createClass
in class AbstractPropertyValueDAOImpl
protected PropertyDateValueEntity findDateValueById(Long id)
findDateValueById
in class AbstractPropertyValueDAOImpl
protected PropertyDateValueEntity findDateValueByValue(Date value)
findDateValueByValue
in class AbstractPropertyValueDAOImpl
value
- a date, accurate to the dayprotected PropertyDateValueEntity createDateValue(Date value)
createDateValue
in class AbstractPropertyValueDAOImpl
value
- a date, accurate to the dayprotected String findStringValueById(Long id)
findStringValueById
in class AbstractPropertyValueDAOImpl
protected Long findStringValueByValue(String value)
findStringValueByValue
in class AbstractPropertyValueDAOImpl
protected Long createStringValue(String value)
createStringValue
in class AbstractPropertyValueDAOImpl
protected PropertyDoubleValueEntity findDoubleValueById(Long id)
findDoubleValueById
in class AbstractPropertyValueDAOImpl
protected PropertyDoubleValueEntity findDoubleValueByValue(Double value)
findDoubleValueByValue
in class AbstractPropertyValueDAOImpl
protected PropertyDoubleValueEntity createDoubleValue(Double value)
createDoubleValue
in class AbstractPropertyValueDAOImpl
protected PropertySerializableValueEntity findSerializableValueById(Long id)
findSerializableValueById
in class AbstractPropertyValueDAOImpl
protected PropertySerializableValueEntity createSerializableValue(Serializable value)
createSerializableValue
in class AbstractPropertyValueDAOImpl
protected PropertyValueEntity findPropertyValueById(Long id)
findPropertyValueById
in class AbstractPropertyValueDAOImpl
protected PropertyValueEntity findPropertyValueByValue(Serializable value)
findPropertyValueByValue
in class AbstractPropertyValueDAOImpl
protected PropertyValueEntity createPropertyValue(Serializable value)
createPropertyValue
in class AbstractPropertyValueDAOImpl
protected List<PropertyIdSearchRow> findPropertyById(Long id)
findPropertyById
in class AbstractPropertyValueDAOImpl
protected void findPropertiesByIds(List<Long> ids, PropertyValueDAO.PropertyFinderCallback callback)
findPropertiesByIds
in class AbstractPropertyValueDAOImpl
protected Long createPropertyRoot()
createPropertyRoot
in class AbstractPropertyValueDAOImpl
protected PropertyRootEntity getPropertyRoot(Long id)
getPropertyRoot
in class AbstractPropertyValueDAOImpl
protected PropertyRootEntity updatePropertyRoot(PropertyRootEntity entity)
updatePropertyRoot
in class AbstractPropertyValueDAOImpl
protected void deletePropertyRoot(Long id)
deletePropertyRoot
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity createPropertyUniqueContext(Long valueId1, Long valueId2, Long valueId3, Long propertyId)
createPropertyUniqueContext
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity getPropertyUniqueContextById(Long id)
getPropertyUniqueContextById
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity getPropertyUniqueContextByValues(Long valueId1, Long valueId2, Long valueId3)
getPropertyUniqueContextByValues
in class AbstractPropertyValueDAOImpl
protected void getPropertyUniqueContextByValues(PropertyValueDAO.PropertyUniqueContextCallback callback, Long... valueIds)
getPropertyUniqueContextByValues
in class AbstractPropertyValueDAOImpl
protected PropertyUniqueContextEntity updatePropertyUniqueContext(PropertyUniqueContextEntity entity)
updatePropertyUniqueContext
in class AbstractPropertyValueDAOImpl
public void deletePropertyUniqueContext(Long id)
protected int deletePropertyUniqueContexts(Long... valueIds)
deletePropertyUniqueContexts
in class AbstractPropertyValueDAOImpl
protected void createPropertyLink(Long rootPropId, Long propIndex, Long containedIn, Long keyPropId, 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(Long rootPropId)
AbstractPropertyValueDAOImpl
deletePropertyLinks
in class AbstractPropertyValueDAOImpl
rootPropId
- the root (entry-point) property IDpublic void cleanupUnusedValues()
PropertyValueDAO
Copyright © 2005–2017 Alfresco Software. All rights reserved.