Deprecated API


Contents
Deprecated Classes
org.ofbiz.entity.util.ByteWrapper
          NOTE DEJ20071022: deprecating this because we want to save the byte[] directly instead of inside a serialized object, which makes it hard for other apps to use the data, and causes problems if this object is ever updated A very simple class to wrap a byte array for persistence. 
org.ofbiz.widget.screen.ModelScreenAction
           
org.ofbiz.widget.screen.ModelScreenAction.EntityAnd
           
org.ofbiz.widget.screen.ModelScreenAction.EntityCondition
           
org.ofbiz.widget.screen.ModelScreenAction.EntityOne
           
org.ofbiz.widget.screen.ModelScreenAction.GetRelated
           
org.ofbiz.widget.screen.ModelScreenAction.GetRelatedOne
           
org.ofbiz.widget.screen.ModelScreenAction.PropertyMap
           
org.ofbiz.widget.screen.ModelScreenAction.PropertyToField
           
org.ofbiz.widget.screen.ModelScreenAction.Script
           
org.ofbiz.widget.screen.ModelScreenAction.Service
           
org.ofbiz.widget.screen.ModelScreenAction.SetField
           
 

Deprecated Fields
org.ofbiz.widget.form.ModelFormField.ContainerField.id
           
 

Deprecated Methods
org.ofbiz.entity.model.DynamicViewEntity.addAliasAll(String, String)
          use DynamicViewEntity.addAliasAll(String, String, Collection) 
org.ofbiz.webapp.taglib.ContentUrlTag.appendContentPrefix(HttpServletRequest, StringBuffer)
           
org.ofbiz.widget.ModelWidget.boundaryCommentsEnabled()
          Use the static widgetBoundaryCommentsEnabled method instead 
org.ofbiz.order.shoppingcart.CheckOutHelper.checkOrderBlacklist(GenericValue)
           
org.ofbiz.entity.model.ModelEntity.colNameString(List)
           
org.ofbiz.entity.model.ModelEntity.colNameString(List, String, String, boolean)
           
org.ofbiz.entity.model.ModelViewEntity.colNameString(List, String, String, boolean)
           
org.ofbiz.entity.model.ModelEntity.colNameString(ModelField...)
           
org.ofbiz.entity.model.ModelEntity.colNameString(String, String, boolean, ModelField...)
           
org.ofbiz.entity.model.ModelViewEntity.colNameString(String, String, boolean, ModelField...)
           
org.ofbiz.base.crypto.HashCrypt.cryptPassword(String, String, String)
           
org.ofbiz.entity.transaction.TransactionUtil.doNewTransaction(String, boolean, Callable)
           
org.ofbiz.entity.transaction.TransactionUtil.doNewTransaction(String, Callable)
           
org.ofbiz.entity.transaction.TransactionUtil.doTransaction(String, boolean, Callable)
           
org.ofbiz.entity.transaction.TransactionUtil.doTransaction(String, Callable)
           
org.ofbiz.minilang.method.MethodOperation.expandedString(MethodContext)
          No replacement. 
org.ofbiz.entity.model.ModelEntity.fieldsStringList(List, String, String)
           
org.ofbiz.entity.model.ModelEntity.fieldsStringList(List, String, String, boolean)
           
org.ofbiz.entity.model.ModelEntity.fieldsStringList(List, String, String, boolean, boolean)
           
org.ofbiz.entity.model.ModelEntity.fieldsStringList(String, String, boolean, boolean, ModelField...)
           
org.ofbiz.entity.model.ModelEntity.fieldsStringList(String, String, boolean, ModelField...)
           
org.ofbiz.entity.model.ModelEntity.fieldsStringList(String, String, ModelField...)
           
org.ofbiz.order.order.OrderReturnServices.filterServiceContext(DispatchContext, String, Map)
          - Use DispatchContext.makeValidContext(String, String, Map) instead 
org.ofbiz.entity.Delegator.findByAnd(String, Map)
          use Delegator.findByAnd(String, Map, List, boolean) 
org.ofbiz.entity.GenericDelegator.findByAnd(String, Map)
           
org.ofbiz.entity.Delegator.findByAnd(String, Map, List)
          use Delegator.findByAnd(String, Map, List, boolean) 
org.ofbiz.entity.GenericDelegator.findByAnd(String, Map, List)
           
org.ofbiz.entity.Delegator.findByAnd(String, Object...)
          use Delegator.findByAnd(String, Map, List, boolean) 
org.ofbiz.entity.GenericDelegator.findByAnd(String, Object...)
           
org.ofbiz.entity.Delegator.findByAndCache(String, Map)
          use Delegator.findByAnd(String, Map, List, boolean) 
org.ofbiz.entity.GenericDelegator.findByAndCache(String, Map)
           
org.ofbiz.entity.Delegator.findByAndCache(String, Map, List)
          use Delegator.findByAnd(String, Map, List, boolean) 
org.ofbiz.entity.GenericDelegator.findByAndCache(String, Map, List)
           
org.ofbiz.entity.Delegator.findByPrimaryKey(String, Map)
          use Delegator.findOne(String, Map, boolean) 
org.ofbiz.entity.GenericDelegator.findByPrimaryKey(String, Map)
           
org.ofbiz.entity.Delegator.findByPrimaryKeyCache(String, Map)
          use Delegator.findOne(String, Map, boolean) 
org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(String, Map)
           
org.ofbiz.entity.Delegator.findByPrimaryKeyCache(String, Object...)
          use Delegator.findOne(String, boolean, Object...) 
org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(String, Object...)
           
org.ofbiz.party.party.PartyWorker.findMatchingPartyAndPostalAddress(Delegator, String, String, String, String, String, String, String, String, String, String)
          Renamed to PartyWorker.findMatchingPersonPostalAddresses(Delegator, String, String, String, String, String, String, String, String, String, String) 
org.ofbiz.minilang.SimpleMethod.getAllEntityNamesUsed()
           
org.ofbiz.minilang.SimpleMethod.getAllServiceNamesCalled()
           
org.ofbiz.content.webapp.ftl.CheckPermissionTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.EditRenderSubContentCacheTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.EditRenderSubContentTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.InjectNodeTrailCsvTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.LimitedSubContentCacheTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.CheckPermissionTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.EditRenderSubContentCacheTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.EditRenderSubContentTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.InjectNodeTrailCsvTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.LimitedSubContentCacheTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.LoopSubContentTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.RenderSubContentTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() Does a conditional search to return a value for a parameter with the passed name. Looks first to see if it was passed as an argument to the transform. Secondly, it looks to see if it is passed as a parameter in the template context object.

Note that this is different from the getArg method of EditRenderDataResourceTransform, which checks the request object instead of the template context object. 

org.ofbiz.content.webapp.ftl.TraverseSubContentCacheTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.TraverseSubContentTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.WrapSubContentCacheTransform.getArg(Map, String, Environment)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.LoopSubContentTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.RenderSubContentTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.TraverseSubContentCacheTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.TraverseSubContentTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.content.webapp.ftl.WrapSubContentCacheTransform.getArg(Map, String, Map)
          use FreeMarkerWorker.getArg() 
org.ofbiz.order.order.OrderReadHelper.getBillingAddress()
            
org.ofbiz.base.util.UtilProperties.getCandidateLocales(Locale)
          Use java.util.ResourceBundle.Control.getCandidateLocales(...) 
org.ofbiz.entity.util.EntityUtilProperties.getCandidateLocales(Locale)
           
org.ofbiz.base.json.SimpleCharStream.getColumn()
           
org.ofbiz.sql.SimpleCharStream.getColumn()
           
org.ofbiz.widget.menu.ModelMenu.getDelegator()
          Use getDelegator(Map) instead, this method will throw an UnsupportedOperationException if used 
org.ofbiz.base.crypto.HashCrypt.getDigestHash(String)
          use digestHash("SHA", null, str) 
org.ofbiz.base.crypto.HashCrypt.getDigestHash(String, String)
          use digestHash(hashType, null, str)) 
org.ofbiz.base.crypto.HashCrypt.getDigestHash(String, String, String)
          use digestHash(hashType, code, str); 
org.ofbiz.base.crypto.HashCrypt.getDigestHashOldFunnyHexEncode(String, String)
          use digestHashOldFunnyHex(hashType, str) 
org.ofbiz.widget.menu.ModelMenu.getDispacher()
          Use getDispatcher(Map) instead, this method will throw an UnsupportedOperationException if used 
org.ofbiz.base.util.UtilProperties.getFallbackLocale()
          Use java.util.ResourceBundle.Control.getFallbackLocale(...) 
org.ofbiz.entity.util.EntityUtilProperties.getFallbackLocale()
           
org.ofbiz.entity.GenericDelegator.getGenericDelegator(String)
          Use Delegator delegator = DelegatorFactory.getDelegator(delegatorName); 
org.ofbiz.base.crypto.HashCrypt.getHashTypeFromPrefix(String)
          use cryptPassword 
org.ofbiz.widget.form.ModelFormField.ContainerField.getId()
           
org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTaxByTaxAuthGeoAndParty(GenericValue)
           
org.ofbiz.base.json.SimpleCharStream.getLine()
           
org.ofbiz.sql.SimpleCharStream.getLine()
           
org.ofbiz.widget.menu.MenuFactory.getMenuFromLocation(String, String, Delegator, LocalDispatcher)
           
org.ofbiz.entity.GenericValue.getRelated(String)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.util.EntityUtil.getRelated(String, List)
          use EntityUtil.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelated(String, List)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelated(String, Map, List)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.Delegator.getRelated(String, Map, List, GenericValue)
          use Delegator.getRelated(String, Map, List, GenericValue, boolean) 
org.ofbiz.entity.GenericDelegator.getRelated(String, Map, List, GenericValue)
           
org.ofbiz.entity.GenericValue.getRelatedByAnd(String, Map)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.util.EntityUtil.getRelatedByAnd(String, Map, List)
          use EntityUtil.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelatedByAndCache(String, Map)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.util.EntityUtil.getRelatedByAndCache(String, Map, List)
          use EntityUtil.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelatedCache(String)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.Delegator.getRelatedCache(String, GenericValue)
          use Delegator.getRelated(String, Map, List, GenericValue, boolean) 
org.ofbiz.entity.GenericDelegator.getRelatedCache(String, GenericValue)
           
org.ofbiz.entity.util.EntityUtil.getRelatedCache(String, List)
          use EntityUtil.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelatedCache(String, List)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelatedCache(String, Map, List)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelatedOne(String)
          use GenericValue.getRelatedOne(String, boolean) 
org.ofbiz.entity.Delegator.getRelatedOne(String, GenericValue)
          use Delegator.getRelatedOne(String, GenericValue, boolean) 
org.ofbiz.entity.GenericDelegator.getRelatedOne(String, GenericValue)
           
org.ofbiz.entity.GenericValue.getRelatedOneCache(String)
          use GenericValue.getRelatedOne(String, boolean) 
org.ofbiz.entity.Delegator.getRelatedOneCache(String, GenericValue)
          use Delegator.getRelatedOne(String, GenericValue, boolean) 
org.ofbiz.entity.GenericDelegator.getRelatedOneCache(String, GenericValue)
           
org.ofbiz.entity.GenericValue.getRelatedOrderBy(String, List)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.entity.GenericValue.getRelatedOrderByCache(String, List)
          use GenericValue.getRelated(String, Map, List, boolean) 
org.ofbiz.order.order.OrderReadHelper.getShippingAddress()
            
org.ofbiz.product.catalog.CatalogWorker.getWebSite(ServletRequest)
          - Use WebSiteWorker.getWebSite(ServletRequest) instead 
org.ofbiz.product.catalog.CatalogWorker.getWebSiteId(ServletRequest)
          - Use WebSiteWorker.getWebSiteId(ServletRequest) instead 
org.ofbiz.content.webapp.ftl.CheckPermissionTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.EditRenderSubContentCacheTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.EditRenderSubContentTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.InjectNodeTrailCsvTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.LimitedSubContentCacheTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.LoopSubContentTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.TraverseSubContentCacheTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.TraverseSubContentTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.content.webapp.ftl.WrapSubContentCacheTransform.getWrappedObject(String, Environment)
          use FreeMarkerWorker.getWrappedObject() A wrapper for the FreeMarkerWorker version. 
org.ofbiz.common.CommonWorkers.hasParentType(Delegator, String, String, String, String, String)
          Moved to EntityTypeUtil 
org.ofbiz.entity.GenericEntity.isModified()
          Use hasChanged() 
org.ofbiz.entity.datasource.GenericDAO.makeConditionHavingString(ModelEntity, EntityCondition, List, List)
           
org.ofbiz.entity.datasource.GenericDAO.makeConditionWhereString(ModelEntity, EntityCondition, List, List)
           
org.ofbiz.entity.jdbc.SqlJdbcUtil.makeWhereStringFromFields(List, Map, String)
           
org.ofbiz.entity.jdbc.SqlJdbcUtil.makeWhereStringFromFields(List, Map, String, List)
           
org.ofbiz.product.product.ProductEvents.parseDoubleForEntity(String)
           
org.ofbiz.testtools.JunitSuiteWrapper.populateTestSuite(TestSuite)
           
org.ofbiz.workeffort.workeffort.WorkEffortServices.processEventReminder(DispatchContext, GenericValue, Map)
           
org.ofbiz.minilang.method.MethodOperation.rawString()
          Use MiniLangElement.toString(). 
org.ofbiz.widget.menu.MenuFactory.readMenuDocument(Document, Delegator, LocalDispatcher, String)
           
org.ofbiz.widget.screen.ModelScreenAction.readSubActions(ModelScreen, Element)
           
org.ofbiz.base.crypto.HashCrypt.removeHashTypePrefix(String)
          use cryptPassword 
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(String, String, Map, Appendable)
          Renamed to FreeMarkerWorker.renderTemplateFromString(String, String, Map, Appendable, boolean) 
org.ofbiz.widget.screen.ModelScreenAction.runAction(Map)
           
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(List, Map)
           
org.ofbiz.entityext.eca.EntityEcaRule.setEnabled(boolean)
          Not thread-safe, no replacement. 
org.ofbiz.widget.form.ModelFormField.ContainerField.setId(String)
           
org.ofbiz.widget.ModelWidget.setWidgetBoundaryComments(Map)
          Do not use this - it is not thread-safe 
org.ofbiz.base.util.UtilMisc.staticWait(long)
          use Thread.sleep() 
org.ofbiz.base.util.template.XslTransform.transform(Map, Map)
           
 

Deprecated Constructors
org.ofbiz.widget.form.MacroFormRenderer(String, Appendable, HttpServletRequest, HttpServletResponse)
           
org.ofbiz.widget.screen.MacroScreenRenderer(String, String, Appendable)
           
org.ofbiz.widget.menu.ModelMenu(Element, Delegator, LocalDispatcher)
           
org.ofbiz.entity.model.ModelViewEntity.ModelAlias(String, String, String, String, Boolean, Boolean, String)
           
org.ofbiz.entity.model.ModelViewEntity.ModelAliasAll(String, String)
           
org.ofbiz.entity.model.ModelViewEntity.ModelAliasAll(String, String, boolean, String, Collection)
           
org.ofbiz.entity.model.ModelViewEntity.ModelViewLink(String, String, Boolean, List)
           
org.ofbiz.entity.model.ModelViewEntity.ModelViewLink(String, String, Boolean, ModelKeyMap...)