Deprecated API


Contents
Deprecated Interfaces
ch.elca.el4j.services.persistence.hibernate.usertypes.SerializableEnum
          As of release 1.7. Has been moved to package ch.elca.el4j.util.codingsupport in module-core. This interface is required to persist an enum type using GenericEnumUserType. 
 

Deprecated Classes
ch.elca.el4j.services.persistence.generic.dto.AbstractDto
          Please use AbstractIntOptimisticLockingDto instead. 
ch.elca.el4j.services.persistence.generic.dto.AbstractStringKeyDto
          Please use AbstractStringKeyIntOptimisticLockingDto instead. 
ch.elca.el4j.services.persistence.generic.dto.DtoFactory
          This class in no more used if using AbstractIntOptimisticLockingDto. 
ch.elca.el4j.services.search.criterias.IncludeCriteria
          no longer needed. 
ch.elca.el4j.core.aop.IntelligentExclusiveBeanNameAutoProxyCreator
          The term "intelligent" is misleading, because proxying errors can be produced. Use the parent class ExclusiveBeanNameAutoProxyCreator instead. 
ch.elca.el4j.core.context.annotations.LazyInitAwareScopeMetadataResolver
          As of EL4J version 2.0 (and the update to Spring 3) this AnnitationScopeMetadataResolver should be no longer used because the corresponding annotation LazyInit has deprecated. Use the newly added annotation Lazy of Spring 3 instead of the deprecated LazyInit annotation. 
ch.elca.el4j.util.codingsupport.Properties
          use <util:properties> instead. 
ch.elca.el4j.core.config.RefreshPropertyOverrideConfigurer
          This former hack is no longer required. It is solved in ModuleApplicationContext and ModuleWebApplicationContext. 
ch.elca.el4j.core.config.RefreshPropertyPlaceholderConfigurer
          This former hack is no longer required. It is solved in ModuleApplicationContext and ModuleWebApplicationContext. 
 

Deprecated Exceptions
ch.elca.el4j.core.exceptions.DuplicatedFieldException
          Spring data access exception will be used. 
ch.elca.el4j.services.persistence.generic.sqlexceptiontranslator.DuplicatedValueException
          Spring data access exception will be used. 
ch.elca.el4j.core.exceptions.ObjectDoesNotExistException
          Spring data access exception will be used. 
ch.elca.el4j.core.exceptions.ObjectInsertionException
          Spring data access exception will be used. 
ch.elca.el4j.core.exceptions.ObjectModificationException
          Spring data access exception will be used. 
ch.elca.el4j.services.persistence.generic.sqlexceptiontranslator.ValueTooLargeException
          Spring data access exception will be used. 
 

Deprecated Annotation Types
ch.elca.el4j.core.context.annotations.LazyInit
          As of EL4J version 2.0 (and the update to Spring 3) this annotation should be no longer used. Use the newly added annotation Lazy of Spring 3 instead. 
 

Deprecated Methods
ch.elca.el4j.services.search.QueryObject.addCriterias(Criteria...)
          please use the more versatile addCriteria method 
ch.elca.el4j.services.persistence.generic.dao.ConvenienceGenericDao.delete(ID)
          Renamed to deleteById as of el4j 1.6 
ch.elca.el4j.services.persistence.hibernate.dao.GenericHibernateDao.delete(ID)
           
ch.elca.el4j.services.persistence.jpa.dao.GenericJpaDao.delete(ID)
           
ch.elca.el4j.util.env.EnvPropertiesUtils.getEnvProperties()
          Use method EnvPropertiesUtils.getEnvPlaceholderProperties() instead. 
ch.elca.el4j.services.search.criterias.Criteria.getType()
          No longer use this method as it was used in an older implementation only. 
ch.elca.el4j.services.persistence.hibernate.usertypes.SerializableEnum.getValue()
          As of release 1.7. The interface has been moved to package ch.elca.el4j.util.codingsupport in module-core. 
ch.elca.el4j.util.codingsupport.Reject.ifFalse(boolean)
          Use Reject.ifCondition(boolean) instead 
ch.elca.el4j.util.codingsupport.Reject.ifFalse(boolean, Class, Object...)
          Use Reject.ifCondition(boolean, Class, Object...) instead 
ch.elca.el4j.util.codingsupport.Reject.ifFalse(boolean, String)
          Use Reject.ifCondition(boolean,String) instead 
ch.elca.el4j.services.persistence.generic.dao.AbstractIdentityFixer.merge(T, T, boolean, IdentityHashMap, List, IdentityHashMap)
           
ch.elca.el4j.services.persistence.jpa.dao.GenericJpaDao.saveOrUpdate(T)
           
ch.elca.el4j.services.persistence.jpa.dao.ConvenienceGenericJpaDao.saveOrUpdateAndFlush(T)
           
ch.elca.el4j.services.persistence.jpa.dao.GenericJpaDao.saveOrUpdateAndFlush(T)
           
 

Deprecated Constructors
ch.elca.el4j.services.statistics.detailed.contextpassing.MeasureInterceptor(MeasureCollectorService, boolean)
          use the constructor with (MeasureCollectorService,String) instead 
java.net.Socket(InetAddress, int, boolean)
          Use DatagramSocket instead for UDP transport. 
java.net.Socket(String, int, boolean)
          Use DatagramSocket instead for UDP transport. 
 



Copyright © 2005-2011 ELCA. All Rights Reserved.