Deprecated API

Deprecated Classes
org.mmbase.module.core.ByteFieldContainer
            
org.mmbase.bridge.jsp.taglib.typehandler.ByteHandler
          Use BinaryHandler 
org.mmbase.util.CVSReader
          not used. maybe move to 'tools' application 
org.mmbase.util.DateStrings
          FIX dutch days 
org.mmbase.util.DateSupport
          use Calendar and java.util.DateFormat 
org.mmbase.util.Escape
          Use org.mmbase.util.Encode 
org.mmbase.module.corebuilders.FieldDefs
          use CoreField 
org.mmbase.bridge.jsp.taglib.InfoTag
            
org.mmbase.util.IntegerCompare
          Should implement java.util.Comparator, or should not exist, because this is java.lang.Integer's 'natural' order. 
org.mmbase.util.logging.log4j.Log4jPriority
          use Log4jLevel 
org.mmbase.module.core.MMObjectDCompare
          This nearly duplicates MMObjectCompare. If the inverse of a comparable is needed, this can be implemented more genericly. Btw, this is not used. 
org.mmbase.util.Queue
          Use edu.emory.mathcs.backport.java.util.concurrent.BlockingQueue, or some other Queue implementation. 
org.mmbase.util.SortableCompare
          Use java.util.Comparator 
org.mmbase.util.SortedVector
          You can use java.util.SortedSet (implementations of that), or Collections.sort(), if duplicate entries are essential (but how should they be sorted then?) 
org.mmbase.util.StringCompare
          Should implement java.util.Comparator, or should not exist, because this is java.lang.String's 'natural' order. 
org.mmbase.module.builders.VersionCacheNode
          is this (cacheversionfile) used? seems obsolete now 
org.mmbase.module.builders.VersionCacheWhenNode
          is this (cacheversionfile) used? seems obsolete now 
org.mmbase.module.builders.VersionXMLCacheNodeReader
          is this (cacheversionfile) used? seems obsolete now 
org.mmbase.util.XMLBasicReader
          use DocumentReader or DocumentWriter. Some code may need to be moved to DocumentReader 
 

Deprecated Interfaces
org.mmbase.util.CompareInterface
          This is the same as java.util.Comparator 
org.mmbase.module.core.MMBaseObserver
          Use NodeEventListener 
org.mmbase.util.PasswordGeneratorInterface
          no real need for an interface as there is only one implementation 
org.mmbase.module.PlaylistsInterface
          this interface is not implemented or referenced 
org.mmbase.module.ProcessorInterface
            
org.mmbase.util.Sortable
          I think this is the same as java.util.Comparable 
 

Deprecated Fields
org.mmbase.security.Operation.CHANGECONTEXT
          Use CHANGE_CONTEXT 
org.mmbase.security.Operation.CHANGECONTEXT_INT
          use CHANGE_CONTEXT_INT 
org.mmbase.security.Configurable.configFile
            
org.mmbase.module.core.ClusterBuilder.SEARCH_ALL
          use RelationStep.DIRECTIONS_ALL 
org.mmbase.module.core.ClusterBuilder.SEARCH_BOTH
          use RelationStep.DIRECTIONS_BOTH In future versions of MMBase (1.8 and up) this will be the default value 
org.mmbase.module.core.ClusterBuilder.SEARCH_DESTINATION
          use RelationStep.DIRECTIONS_DESTINATION 
org.mmbase.module.core.ClusterBuilder.SEARCH_EITHER
          use RelationStep.DIRECTIONS_EITHER. In future versions of MMBase (1.8 and up) the default value will be RelationStep.DIRECTIONS_BOTH 
org.mmbase.module.core.ClusterBuilder.SEARCH_SOURCE
          use RelationStep.DIRECTIONS_SOURCE 
org.mmbase.bridge.Field.TYPE_BYTE
          use Field.TYPE_BINARY 
org.mmbase.module.core.MMObjectNode.VALUE_NULL
          Simply use null 
 

Deprecated Methods
org.mmbase.util.xml.URIResolver.EntryList.add(String, File)
            
org.mmbase.module.core.MMObjectBuilder.addLocalObserver(MMBaseObserver)
          use the new event system as well. check out addEventListener(Object listener) or MMBase.addEventListener(EventListener listener) 
org.mmbase.module.core.MMObjectBuilder.addRemoteObserver(MMBaseObserver)
          use the new event system as well. check out addEventListener(Object listener) or MMBase.addEventListener(EventListener listener) 
org.mmbase.util.QueryConvertor.altaVista2SQL(String)
          Use setConstraint() to parse these expressions. 
org.mmbase.util.QueryConvertor.altaVista2SQL(String, StorageManagerFactory)
          Use setConstraint() to parse these expressions. 
org.mmbase.module.core.MMBase.castNode(MMObjectNode)
          Not necessary in most cases, with the possible exception of lists obtained from InsRel. However, in the later case using this method is probably too costly. 
org.mmbase.module.core.MMTable.count(String)
          Use count(NodeSearchQuery) instead. 
org.mmbase.module.core.TransactionManager.create(Object, String)
          Use TransactionManager.createTransaction(java.lang.String) 
org.mmbase.applications.editwizard.Config.Configurator.createList()
          use createList(cloud) 
org.mmbase.module.core.MMBase.doGetAgeMarker(StringTokenizer)
          SCAN related, should not be in this module. 
org.mmbase.module.core.MMObjectBuilder.executeFunction(MMObjectNode, String, String)
          use MMObjectBuilder.getFunction(MMObjectNode, String) 
org.mmbase.bridge.jsp.taglib.ContextTag.findAndRegister(int, String, String)
          Use getContextProvider().getContextContainer().findAndRegister 
org.mmbase.bridge.jsp.taglib.ContextTag.findAndRegister(int, String, String, boolean)
          Use getContextProvider().getContextContainer().findAndRegister 
org.mmbase.bridge.jsp.taglib.ContextTag.findAndRegister(String)
          Use getContextProvider().getContextContainer().findAndRegister 
org.mmbase.bridge.jsp.taglib.ContextTag.findAndRegister(String, String)
          Use getContextProvider().getContextContainer().findAndRegister 
org.mmbase.bridge.jsp.taglib.ContextTag.findAndRegisterString(String)
          Use getContextProvider().getContextContainer().findAndRegisterString 
org.mmbase.bridge.jsp.taglib.ContextReferrerTag.findParentTag(String, String)
            
org.mmbase.bridge.jsp.taglib.ContextReferrerTag.findParentTag(String, String, boolean)
            
org.mmbase.bridge.util.xml.DateFormat.format(Cloud, Node, String, String, String)
          not sure where this is used? 
org.mmbase.module.core.TransactionManager.get(Object, String)
          use TransactionManager.getTransaction(java.lang.String) 
org.mmbase.storage.search.implementation.database.SqlHandler.getAllowedValue(String)
          use StorageManagerFactory.getStorageIdentifier() 
org.mmbase.module.corebuilders.InsRel.getAllRelationsVector(int)
          use InsRel.getRelationNodes(int, boolean) 
org.mmbase.module.corebuilders.InsRel.getAllRelationsVector(int, int)
          use InsRel.getRelationNodes(int, int, boolean) 
org.mmbase.bridge.jsp.taglib.ContextReferrerTag.getAttributeValue(String)
          Call getAttribute in the set-method and 'toString(tag)' when using it. This is better for perfomrnace and makes sure the impl. works in all servlet containers. 
org.mmbase.module.core.MMObjectBuilder.getClassName()
          don't use 
org.mmbase.util.dateparser.SimpleCharStream.getColumn()
            
org.mmbase.module.core.MMObjectBuilder.getConfigFile()
          Need something as getConfigResource in stead. 
org.mmbase.module.core.MMBaseContext.getConfigPath()
          use ResourceLoader.getConfigurationRoot() with relative path 
org.mmbase.bridge.jsp.taglib.ContextTag.getContainerObject(String)
          Use getContextProvider().getContextContainer().getObject 
org.mmbase.bridge.jsp.taglib.util.ContextCollector.getContextContainer()
            
org.mmbase.module.core.MMBase.getDBKey()
          use getStorageManager().createKey() 
org.mmbase.module.core.MMObjectBuilder.getDBKey()
          use MMBase.getStorageManager().createKey() 
org.mmbase.module.corebuilders.FieldDefs.getDBName()
          use AbstractDescriptor.getName() 
org.mmbase.module.corebuilders.FieldDefs.getDBNotNull()
          use AbstractField.isRequired() 
org.mmbase.module.corebuilders.FieldDefs.getDBPos()
          use CoreField.getStoragePosition() 
org.mmbase.module.corebuilders.FieldDefs.getDBSize()
          Use CoreField.getMaxLength() 
org.mmbase.module.corebuilders.FieldDefs.getDBState()
          use AbstractField.getState() 
org.mmbase.module.corebuilders.FieldDefs.getDBType()
          to access type constraints, use AbstractField.getDataType() 
org.mmbase.module.core.MMObjectBuilder.getDefaultTeaser(MMObjectNode, MMObjectNode)
          Will be removed? 
org.mmbase.module.corebuilders.FieldDefs.getDescription(String)
          use AbstractDescriptor.getDescription(Locale locale) 
org.mmbase.module.corebuilders.FieldDefs.getDescriptions()
          use AbstractDescriptor.getDescription() 
org.mmbase.util.XMLBasicReader.getDocumentBuilder(boolean, EntityResolver)
          use {!link DocumentReader.getDocumentBuilder(boolean, ErrorHandler, EntityResolver)} 
org.mmbase.util.XMLBasicReader.getDocumentBuilder(boolean, ErrorHandler)
          use {!link DocumentReader.getDocumentBuilder(boolean, ErrorHandler, EntityResolver)} 
org.mmbase.util.XMLBasicReader.getDocumentBuilder(boolean, ErrorHandler, EntityResolver)
          use {!link DocumentReader.getDocumentBuilder(boolean, ErrorHandler, EntityResolver)} 
org.mmbase.util.XMLBasicReader.getDocumentBuilder(Class)
          use {!link DocumentReader.getDocumentBuilder(boolean, ErrorHandler, EntityResolver)} 
org.mmbase.module.core.MMBase.getDTDBase()
          keesj: This method is not used. Document type definitions should contain a fully qualified url. I think the author was thinking of a dtdpath wich makes sence 
org.mmbase.module.core.MMObjectBuilder.getEditFields()
          use getFields() with sortorder ORDER_SEARCH 
org.mmbase.cache.xslt.FactoryCache.getFactory(File)
            
org.mmbase.servlet.JumpersFilter.getFilterConfig()
          will be dropped in future versions 
org.mmbase.module.core.MMObjectBuilder.getFunctionParameters(String)
          use executeFunction(node, function, list) 
org.mmbase.module.corebuilders.RelDef.getGuessedByName(String)
          use RelDef.getNumberByName(java.lang.String) instead 
org.mmbase.module.corebuilders.RelDef.getGuessedNumber(String)
          renamed to RelDef.getNumberByName(java.lang.String) which better explains its use 
org.mmbase.module.corebuilders.FieldDefs.getGUIList()
          use CoreField.getListPosition() 
org.mmbase.module.corebuilders.FieldDefs.getGUIName(String)
          use AbstractDescriptor.getGUIName(Locale locale) 
org.mmbase.module.corebuilders.FieldDefs.getGUINames()
          use AbstractDescriptor.getGUIName() 
org.mmbase.module.corebuilders.FieldDefs.getGUIPos()
          use CoreField.getEditPosition() 
org.mmbase.module.corebuilders.FieldDefs.getGUISearch()
          use CoreField.getSearchPosition() 
org.mmbase.bridge.Field.getGUIType()
          use Field.getDataType() and Descriptor.getName() 
org.mmbase.module.core.MMObjectBuilder.getHTML(String)
            
org.mmbase.module.core.MMBaseContext.getHtmlRootUrlPath()
          should not be needed, and this information should be requested from the ServletRequest 
org.mmbase.util.XMLBasicReader.getInputSource(String)
            
org.mmbase.util.dateparser.SimpleCharStream.getLine()
            
org.mmbase.module.core.MMBase.getMMObjects()
          use MMBase.getBuilders() 
org.mmbase.security.implementation.context.ContextLoginModule.getModuleValue(String)
          Use ContextLoginModule.getAccount(java.lang.String) 
org.mmbase.module.core.ClusterBuilder.getMultiLevelSearchQuery(List, List, String, List, String, List, List, int)
          use ClusterBuilder.getMultiLevelSearchQuery(List snodes, List fields, String pdistinct, List tables, String where, List orderVec, List directions, int searchDir) 
org.mmbase.module.core.MMObjectBuilder.getNextField(String)
          use getNextField() with sortorder ORDER_EDIT 
org.mmbase.module.core.TransactionManager.getNodes(Object, String)
          use TransactionManager.getTransaction(java.lang.String) 
org.mmbase.module.core.TemporaryNodeManager.getObjectFieldAsString(String, String, String)
          use TemporaryNodeManager.getObjectField(java.lang.String, java.lang.String, java.lang.String) 
org.mmbase.util.LRUHashtable.getOrderedElements()
          use getOrderedEntries 
org.mmbase.util.LRUHashtable.getOrderedElements(int)
          use getOrderedEntries 
org.mmbase.module.core.MMBaseContext.getOutputFile()
          use logging system 
org.mmbase.module.corebuilders.InsRel.getRelatedVector(int, int)
            
org.mmbase.module.corebuilders.InsRel.getRelatedVector(int, int, int)
            
org.mmbase.module.core.MMObjectNode.getRelationCacheHits()
          use RelationsCache.getCache().getHits() 
org.mmbase.module.core.MMObjectNode.getRelationCacheMiss()
          use RelationsCache.getCache().getMisses() 
org.mmbase.module.corebuilders.InsRel.getRelationsVector(int)
          use InsRel.getRelationNodes(int) 
org.mmbase.module.corebuilders.InsRel.getRelationsVector(int, int)
          use InsRel.getRelationNodes(int, int, boolean) 
org.mmbase.module.corebuilders.RelDef.getRelNrByName(String, String)
          use RelDef.getNumberByName(java.lang.String) instead 
org.mmbase.util.xml.DocumentReader.getRootElement()
            
org.mmbase.module.core.MMBase.getSendMail()
          use getModule("sendmail") instead SendMail will become a separate application. In MMBase 1.8. this method will be removed 
org.mmbase.module.core.MMObjectBuilder.getSortedFields()
          use getFields() with sortorder ORDER_EDIT 
org.mmbase.module.core.MMObjectBuilder.getSortedListFields()
          use getFields() with sortorder ORDER_LIST 
org.mmbase.module.corebuilders.TypeDef.getValue(String)
          use getValue(int) 
org.mmbase.core.event.RelationEvent.hashCode()
            
org.mmbase.module.core.MMObjectBuilder.hostname_function(String)
          Has nothing to do with mmbase nodes. Should be in org.mmbase.util 
org.mmbase.module.corebuilders.InsRel.insert(String, int, int, int)
          Use insert(String, MMObjectNode) instead. 
org.mmbase.module.corebuilders.FieldDefs.isKey()
          use AbstractField.isUnique() to determine if a field is unique, use getIndexes() to return set of Index objects to which this key belongs 
org.mmbase.bridge.jsp.taglib.ContextTag.isPresent(String)
          Use getContextProvider().getContextContainer().isPresent 
org.mmbase.bridge.jsp.taglib.ContextTag.isRegistered(String)
          Use getContextProvider().getContextContainer().isRegistered 
org.mmbase.module.core.MMObjectBuilder.nodeLocalChanged(String, String, String, String)
          use notify(NodeEvent) in stead 
org.mmbase.module.core.MMObjectBuilder.nodeRemoteChanged(String, String, String, String)
          use notify(NodeEvent) in stead 
org.mmbase.bridge.jsp.taglib.ContextTag.register(String, Object)
          Use getContextProvider().getContextContainer().register 
org.mmbase.bridge.jsp.taglib.ContextTag.register(String, Object, boolean)
          Use getContextProvider().getContextContainer().register 
org.mmbase.bridge.jsp.taglib.ContextTag.registerNode(String, Node)
          Use getContextProvider().getContextContainer().registerNode 
org.mmbase.module.corebuilders.InsRel.reldefCorrect(int, int, int)
          Use TypeRel.reldefCorrect(int, int, int) instead 
org.mmbase.module.corebuilders.TypeRel.reldefCorrect(int, int, int)
          use TypeRel.contains(int, int, int)instead 
org.mmbase.module.ProcessorModule.reload()
          called by nothing 
org.mmbase.bridge.jsp.taglib.ContextTag.reregister(String, Object)
          Use getContextProvider().getContextContainer().reregister 
org.mmbase.util.xml.URIResolver.resolveToFile(String)
            
org.mmbase.util.xml.URIResolver.resolveToFile(String, String)
            
org.mmbase.module.core.MMTable.search(String)
          Use getNodes(NodeSearchQuery to perform a node search. 
org.mmbase.module.core.ClusterBuilder.searchMultiLevelVector(List, List, String, List, String, List, List, int)
          use ClusterBuilder.searchMultiLevelVector(List snodes, List fields, String pdistinct, List tables, String where, List orderVec, List directions, List searchDirs) 
org.mmbase.module.core.MMTable.searchVector(String)
          Use getNodes(NodeSearchQuery to perform a node search. 
org.mmbase.servlet.HandleServlet.sendBytes(HttpServletResponse, byte[])
            
org.mmbase.module.corebuilders.FieldDefs.setDBKey(boolean)
          use CoreField.setUnique(boolean) to make a field unique. 
org.mmbase.module.corebuilders.FieldDefs.setDBNotNull(boolean)
          to access type constraints, use AbstractField.getDataType() 
org.mmbase.module.corebuilders.FieldDefs.setDBPos(int)
          use CoreField.setStoragePosition(int) 
org.mmbase.module.corebuilders.FieldDefs.setDBSize(int)
          use CoreField.setMaxLength(int) 
org.mmbase.module.corebuilders.FieldDefs.setDBState(int)
          use AbstractField.getState() 
org.mmbase.module.corebuilders.FieldDefs.setDBState(String)
          use CoreField.setState(int) 
org.mmbase.module.corebuilders.FieldDefs.setDescription(String, String)
          use AbstractDescriptor.getLocalizedDescription() 
org.mmbase.bridge.jsp.taglib.containers.QueryAgeConstraintTag.setField(String)
          Use QueryAgeConstraintTag.setElement(java.lang.String) 
org.mmbase.servlet.JumpersFilter.setFilterConfig(FilterConfig)
          will be dropped in future versions 
org.mmbase.module.corebuilders.FieldDefs.setGUIList(int)
          use CoreField.setListPosition(int) 
org.mmbase.module.corebuilders.FieldDefs.setGUIName(String, String)
          to access type constraints, use AbstractField.getDataType() 
org.mmbase.module.corebuilders.FieldDefs.setGUIPos(int)
          use CoreField.setEditPosition(int) 
org.mmbase.module.corebuilders.FieldDefs.setGUISearch(int)
          use CoreField.setSearchPosition(int) 
org.mmbase.bridge.jsp.taglib.WriterHelper.setJspvar(PageContext)
          jspvar will be set by setValue then 
org.mmbase.bridge.jsp.taglib.WriterHelper.setWrite(Boolean)
          Use setWrite(Attribute) 
org.mmbase.module.corebuilders.FieldDefs.sort(List)
          use Collections.sort 
org.mmbase.module.corebuilders.FieldDefs.sort(List, int)
          use Fields.sort(java.util.List, int) 
org.mmbase.module.ProcessorModule.unload()
          called by nothing 
org.mmbase.bridge.jsp.taglib.ContextTag.unRegister(String)
          Use getContextProvider().getContextContainer().unRegister 
 

Deprecated Constructors
org.mmbase.util.xml.URIResolver(File)
            
org.mmbase.util.xml.URIResolver(File, URIResolver.EntryList)
            
org.mmbase.applications.editwizard.Wizard(String, URIResolver, String, String, Cloud)
          use Wizard(String, URIResolver, Config.WizardConfig, Cloud) 
org.mmbase.util.XSLTransformer()
          All methods are static. 
 



MMBase build 1.8.1.20060716