Package com.soffid.iam.model
Class MetaDataEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.MetaDataEntityDaoBase
-
- com.soffid.iam.model.MetaDataEntityDaoImpl
-
- All Implemented Interfaces:
MetaDataEntityDao,org.springframework.beans.factory.InitializingBean
public class MetaDataEntityDaoImpl extends MetaDataEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TipusDadaEntity
-
-
Constructor Summary
Constructors Constructor Description MetaDataEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(MetaDataEntity tipusDada)Adds an instance ofMetaDataEntityto the persistent store.voidcreate(Collection entities)Creates a collection ofMetaDataEntityand adds it to the persistent store.MetaDataEntitydataTypeToEntity(com.soffid.iam.api.DataType tipusDada)Transforms fromDataTypeobjectvoiddataTypeToEntity(com.soffid.iam.api.DataType sourceVO, MetaDataEntity targetEntity, boolean copyIfNull)Copy data fromDataTypeobjectprotected voidhandleRenameAttributeValues(es.caib.seycon.ng.comu.TypeEnumeration type, String oldValue, String newValue)voidremove(MetaDataEntity tipusDada)Removes an instance ofMetaDataEntityfrom the persistent store.voidremove(Collection entities)Removes a collection ofMetaDataEntityfrom the persistent store.com.soffid.iam.api.DataTypetoDataType(MetaDataEntity entity)Transforms toDataTypeobjectvoidtoDataType(MetaDataEntity sourceEntity, com.soffid.iam.api.DataType targetVO)Copy data toDataTypeobjectvoidupdate(Collection entities)Updates a collection ofMetaDataEntityin the persistent store.-
Methods inherited from class com.soffid.iam.model.MetaDataEntityDaoBase
dataTypeToEntityList, findByObjectTypeAndName, findByObjectTypeAndName, findByObjectTypeAndName, findByScope, findByScope, findByScope, findDataTypeByName, findDataTypeByName, findDataTypeByName, findDataTypesByName, findDataTypesByName, findDataTypesByName, findDataTypesByScopeAndName, findDataTypesByScopeAndName, findDataTypesByScopeAndName, getAuditEntityDao, getCustomObjectTypeEntityDao, getTenantEntityDao, getUserDataEntityDao, load, loadAll, newMetaDataEntity, query, query, remove, renameAttributeValues, setAuditEntityDao, setCustomObjectTypeEntityDao, setTenantEntityDao, setUserDataEntityDao, tipusDadaToEntity, tipusDadaToEntity, tipusDadaToEntityList, toDataTypeList, toTipusDada, toTipusDada, toTipusDadaList, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
create
public void create(MetaDataEntity tipusDada) throws RuntimeException
Description copied from class:MetaDataEntityDaoBaseAdds an instance ofMetaDataEntityto the persistent store.- Specified by:
createin interfaceMetaDataEntityDao- Overrides:
createin classMetaDataEntityDaoBase- Throws:
RuntimeException
-
remove
public void remove(MetaDataEntity tipusDada) throws RuntimeException
Description copied from class:MetaDataEntityDaoBaseRemoves an instance ofMetaDataEntityfrom the persistent store.- Specified by:
removein interfaceMetaDataEntityDao- Overrides:
removein classMetaDataEntityDaoBase- Throws:
RuntimeException
-
toDataType
public void toDataType(MetaDataEntity sourceEntity, com.soffid.iam.api.DataType targetVO)
Description copied from class:MetaDataEntityDaoBaseCopy data toDataTypeobject- Specified by:
toDataTypein interfaceMetaDataEntityDao- Overrides:
toDataTypein classMetaDataEntityDaoBase
-
toDataType
public com.soffid.iam.api.DataType toDataType(MetaDataEntity entity)
Description copied from class:MetaDataEntityDaoBaseTransforms toDataTypeobject- Specified by:
toDataTypein interfaceMetaDataEntityDao- Overrides:
toDataTypein classMetaDataEntityDaoBase- See Also:
es.caib.seycon.ng.model.TipusDadaEntityDao#toTipusDada(es.caib.seycon.ng.model.TipusDadaEntity)
-
dataTypeToEntity
public MetaDataEntity dataTypeToEntity(com.soffid.iam.api.DataType tipusDada)
Description copied from class:MetaDataEntityDaoBaseTransforms fromDataTypeobject- Specified by:
dataTypeToEntityin interfaceMetaDataEntityDao- Overrides:
dataTypeToEntityin classMetaDataEntityDaoBase- See Also:
es.caib.seycon.ng.model.TipusDadaEntityDao#tipusDadaToEntity(es.caib.seycon.ng.comu.TipusDada)
-
dataTypeToEntity
public void dataTypeToEntity(com.soffid.iam.api.DataType sourceVO, MetaDataEntity targetEntity, boolean copyIfNull)Description copied from class:MetaDataEntityDaoBaseCopy data fromDataTypeobject- Specified by:
dataTypeToEntityin interfaceMetaDataEntityDao- Overrides:
dataTypeToEntityin classMetaDataEntityDaoBase- See Also:
es.caib.seycon.ng.model.TipusDadaEntityDao#tipusDadaToEntity(es.caib.seycon.ng.comu.TipusDada, es.caib.seycon.ng.model.TipusDadaEntity)
-
create
public void create(Collection entities)
Description copied from class:MetaDataEntityDaoBaseCreates a collection ofMetaDataEntityand adds it to the persistent store.- Specified by:
createin interfaceMetaDataEntityDao- Overrides:
createin classMetaDataEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:MetaDataEntityDaoBaseUpdates a collection ofMetaDataEntityin the persistent store.- Specified by:
updatein interfaceMetaDataEntityDao- Overrides:
updatein classMetaDataEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:MetaDataEntityDaoBaseRemoves a collection ofMetaDataEntityfrom the persistent store.- Specified by:
removein interfaceMetaDataEntityDao- Overrides:
removein classMetaDataEntityDaoBase
-
handleRenameAttributeValues
protected void handleRenameAttributeValues(es.caib.seycon.ng.comu.TypeEnumeration type, String oldValue, String newValue) throws Exception- Specified by:
handleRenameAttributeValuesin classMetaDataEntityDaoBase- Throws:
Exception
-
-