Deprecated API

Deprecated Classes
org.mmbase.util.media.audio.audioparts.AudioPartDef
          Most of the actual functionality for these functions resides in AudioUtils, which is alo the place where these (temporary) objects are created. Presumably, the function of this wrapper is to enhance or speed up the selection of a url (or to cache it), but in reality these wrapper functions only copy data, and do not add functionality that could not be performed on it's own by AudioUtils. 
org.mmbase.module.irc.communication.Communication
          use IrcConnection instead 
org.mmbase.module.community.CompareMessages
          use mmbase.util.NodeComparator instead 
org.mmbase.util.DateSupport
          java.util is powerful enough. Most used functions from Date are deprecated. 
org.mmbase.util.Escape
          Use org.mmbase.util.Encode 
org.mmbase.bridge.jsp.taglib.InfoTag
            
org.mmbase.module.irc.communication.irc.IrcUser
          use IrcConnection instead 
org.mmbase.util.logging.log4j.Log4jPriority
          use Log4jLevel 
org.mmbase.bridge.jsp.taglib.security.MayLinkTag
          As of 20020123, replaced by MayCreateRelationTag 
org.mmbase.module.community.NodeBreaker
          The NodeBreaker is a temporary solution (not the best code I ever wrote, either, but it should not be too slow and will have to do for now). It would be much better to incorporate 'expiration time' in the TemporaryNodeManager or a temporary node cloud. As such, avoid using this class in the future. 
org.mmbase.module.builders.PoolBuilder
          class will be removed from the 1.7 distro (its methods are not used). 
org.mmbase.module.builders.PosRel
          Does not add functionality (maybe it should?) 
org.mmbase.module.community.RelationBreaker
          use NodeBreaker instead 
org.mmbase.util.RFC1123
          Use response.setDateHeader 
org.mmbase.servlet.servdb
          use ImageServlet or AttachmentServlet instead 
org.mmbase.module.builders.Teasers
          Class is only in use by the vpro and will be removed from the MMBase repository 
org.mmbase.module.community.TimeStamp
          Do not use this class. Store timestamps as Long or Date instead. 
org.mmbase.util.media.video.videoparts.VideoPartDef
          Most of the actual functionality for these functions resides in VideoUtils, which is alo the place where these (temporary) objects are created. Presumably, the function of this wrapper is to enhance or speed up the selection of a url (or to cache it), but in reality these wrapper functions only copy data, and do not add functionality that could not be performed on it's own by VideoUtils. 
 

Deprecated Fields
org.mmbase.util.media.audio.audioparts.AudioPartDef.body
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.body
          should be retrieved from node reference 
org.mmbase.util.media.audio.RawAudioDef.cpu
          not used? 
org.mmbase.util.media.video.RawVideoDef.cpu
          not used? 
org.mmbase.module.core.MMObjectBuilder.database
          use MMBase.getMMBase().getDatabase() or mmb.getDatabase() instead 
org.mmbase.util.media.audio.RawAudioDef.format
          should be retrieved from node reference 
org.mmbase.util.media.video.RawVideoDef.format
          should be retrieved from node reference 
org.mmbase.util.media.audio.audioparts.AudioPartDef.intro
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.intro
          should be retrieved from node reference 
org.mmbase.util.media.audio.RawAudioDef.number
          should be retrieved from node reference 
org.mmbase.util.media.audio.audioparts.AudioPartDef.number
          should be retrieved from node reference 
org.mmbase.util.media.video.RawVideoDef.number
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.number
          should be retrieved from node reference 
org.mmbase.module.core.MMObjectBuilder.obj2type
          Will not be available anymore in 1.7 
org.mmbase.util.media.audio.RawAudioDef.otype
          not used? 
org.mmbase.util.media.audio.audioparts.AudioPartDef.otype
          should be retrieved from node reference 
org.mmbase.util.media.video.RawVideoDef.otype
          not used? 
org.mmbase.util.media.video.videoparts.VideoPartDef.otype
          should be retrieved from node reference 
org.mmbase.util.media.audio.RawAudioDef.owner
          not used? 
org.mmbase.util.media.audio.audioparts.AudioPartDef.owner
          should be retrieved from node reference 
org.mmbase.util.media.video.RawVideoDef.owner
          not used? 
org.mmbase.util.media.video.videoparts.VideoPartDef.owner
          should be retrieved from node reference 
org.mmbase.util.media.audio.audioparts.AudioPartDef.playtime
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.playtime
          should be retrieved from node reference 
org.mmbase.module.core.MMObjectBuilder.sortedDBLayout
          this vector should not be used - if the order of the fields is an issue, use getFields(sortorder). 
org.mmbase.util.media.audio.audioparts.AudioPartDef.source
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.source
          should be retrieved from node reference 
org.mmbase.util.media.audio.RawAudioDef.status
          should be retrieved from node reference 
org.mmbase.util.media.video.RawVideoDef.status
          should be retrieved from node reference 
org.mmbase.util.media.audio.RawAudioDef.STATUS_GEDAAN
          use STATUS_DONE 
org.mmbase.util.media.video.RawVideoDef.STATUS_GEDAAN
          use STATUS_DONE 
org.mmbase.util.media.audio.RawAudioDef.STATUS_ONDERWEG
          use STATUS_BUSY 
org.mmbase.util.media.video.RawVideoDef.STATUS_ONDERWEG
          use STATUS_BUSY 
org.mmbase.util.media.audio.RawAudioDef.STATUS_VERZOEK
          use STATUS_REQUEST 
org.mmbase.util.media.video.RawVideoDef.STATUS_VERZOEK
          use STATUS_REQUEST 
org.mmbase.util.media.audio.audioparts.AudioPartDef.storage
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.storage
          should be retrieved from node reference 
org.mmbase.util.media.audio.audioparts.AudioPartDef.subtitle
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.subtitle
          should be retrieved from node reference 
org.mmbase.util.media.audio.audioparts.AudioPartDef.title
          should be retrieved from node reference 
org.mmbase.util.media.video.videoparts.VideoPartDef.title
          should be retrieved from node reference 
org.mmbase.util.media.audio.RawAudioDef.url
          should be retrieved from node reference 
org.mmbase.util.media.video.RawVideoDef.url
          should be retrieved from node reference 
 

Deprecated Methods
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.storage.database.Support2Storage.commit(MMObjectBuilder, MMObjectNode)
          use Support2Storage.commit(org.mmbase.module.core.MMObjectNode) 
org.mmbase.util.media.audio.RawAudioDef.compare(Object, Object)
          use RawAudioDef.compareTo(java.lang.Object) instead 
org.mmbase.util.media.video.RawVideoDef.compare(Object, Object)
          use RawVideoDef.compareTo(java.lang.Object) instead 
org.mmbase.util.media.audio.RawAudioDef.compare(Sortable)
          use RawAudioDef.compareTo(java.lang.Object) instead 
org.mmbase.util.media.video.RawVideoDef.compare(Sortable)
          use RawVideoDef.compareTo(java.lang.Object) instead 
org.mmbase.module.builders.ImageConvertInterface.ConvertImage(byte[], List)
          Use convertImage. 
org.mmbase.module.builders.ConvertImageMagick.ConvertImage(byte[], List)
          Use convertImage 
org.mmbase.module.builders.ConvertDummy.ConvertImage(byte[], List)
          Use convertImage. 
org.mmbase.applications.editwizard.Config.Configurator.createList()
          use createList(cloud) 
org.mmbase.storage.database.Support2Storage.createObjectTable(String)
          use Support2Storage.createObjectStorage() 
org.mmbase.storage.database.Support2Storage.decodeDBnodeField(MMObjectNode, String, ResultSet, int)
          use Support2Storage.loadFieldFromTable(org.mmbase.module.core.MMObjectNode, java.lang.String, java.sql.ResultSet, int) 
org.mmbase.storage.database.Support2Storage.decodeDBnodeField(MMObjectNode, String, ResultSet, int, String)
          use Support2Storage.loadFieldFromTable(org.mmbase.module.core.MMObjectNode, java.lang.String, java.sql.ResultSet, int) 
org.mmbase.module.core.MMBase.doGetAgeMarker(StringTokenizer)
          SCAN related, should not be in this module. 
org.mmbase.util.Base64.encode(String)
          Use encodeString(String) instead 
org.mmbase.module.core.MMObjectBuilder.executeFunction(MMObjectNode, String, String)
          use executeFunction(MMObjectNode, String, List) 
org.mmbase.module.core.MMObjectBuilder.getAliasedNode(String)
          Use MMObjectBuilder.getNode(java.lang.String) instead. 
org.mmbase.storage.database.Support2Storage.getAllowedField(String)
          use Support2Storage.mapToTableFieldName(java.lang.String) 
org.mmbase.servlet.servdb.getAttachment(Vector)
          moved to AttachmentServlet 
org.mmbase.servlet.servdb.getAttachmentFileName(Vector)
          moved to AttachmentServlet 
org.mmbase.servlet.servdb.getAttachmentMimeType(Vector)
          moved to AttachmentServlet 
org.mmbase.cache.MultilevelCacheHandler.getCache(String)
          use getCache 
org.mmbase.module.core.MMObjectBuilder.getClassName()
          don't use 
org.mmbase.storage.database.Support2Storage.getConnection(JDBCInterface)
          Obsolete as the database should not connect to any other engine than the one loaded by the associated (known) MMBase instance. Use Storage.createTransaction() instead. 
org.mmbase.storage.database.Support2Storage.getDBKey()
          use Support2Storage.createKey() 
org.mmbase.module.database.support.MMSQL92Node.getDBKeyOld()
          Can be replaced by '1'. Because new installations create the the numberTable when there are not objects yet. 
org.mmbase.module.core.MMObjectBuilder.getDefaultTeaser(MMObjectNode, MMObjectNode)
          Will be removed? 
org.mmbase.module.builders.Community.getDefaultUrl(int)
          There is no maps definition available in cvs. In addition, this method only produces SCAN-format urls. 
org.mmbase.storage.database.Support2Storage.getDisallowedField(String)
          use Support2Storage.mapToMMBaseFieldName(java.lang.String) 
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.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.core.MMBaseContext.getHtmlRootUrlPath()
          should not be needed, and this information should be requested from the ServletRequest 
org.mmbase.module.builders.Images.getImageBytes(scanpage, List)
          Use getImageBytes(params); 
org.mmbase.module.builders.Images.getImageBytes5(scanpage, List)
          Use getImageBytes(params); 
org.mmbase.storage.database.Support2Storage.getMMNodeSearch2SQL(String, MMObjectBuilder)
          This is not supported by this database layer, and only included due to the interface requirements. 
org.mmbase.module.gui.html.FieldEditor.getMonthString(int)
          use Locale 
org.mmbase.module.core.MMObjectBuilder.getNextField(String)
          use getNextField() with sortorder ORDER_EDIT 
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.gui.html.HtmlBase.getPageSession(scanpage)
          always returns null, do not use. 
org.mmbase.module.corebuilders.RelDef.getRelNrByName(String, String)
          use RelDef.getNumberByName(java.lang.String) instead 
org.mmbase.module.core.MMBase.getSendMail()
          use getModule("sendmail") instead 
org.mmbase.storage.database.Support2Storage.getShortedByte(String, String, int)
          use getBytes(MMObjectNode,fieldname) 
org.mmbase.storage.database.Support2Storage.getShortedText(String, String, int)
          use getText(MMObjectNode,fieldname); 
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.core.MMObjectNode.getTableName()
          use getName instead 
org.mmbase.cache.MultilevelCacheEntry.getTagger()
          tagger should be the 'key' 
org.mmbase.module.builders.Todos.getValue(MMObjectNode, String)
          use 'gui(status)' instead of 'showstatus' 
org.mmbase.module.corebuilders.TypeDef.getValue(String)
          use getValue(int) 
org.mmbase.storage.database.Support2Storage.insert(MMObjectBuilder, String, MMObjectNode)
          use Support2Storage.insert(org.mmbase.module.core.MMObjectNode) 
org.mmbase.module.corebuilders.InsRel.insert(String, int, int, int)
          Use insert(String, MMObjectNode) instead. 
org.mmbase.module.core.MMObjectNode.insertDone(EditState)
          This method doesn't seem to fit here, as it references a gui/html object (EditState), endangering the separation between content and layout, and has an undefined return value. 
org.mmbase.module.core.MMObjectBuilder.insertDone(EditState, MMObjectNode)
          This method doesn't seem to fit here, as it references a gui/html object (EditState), endangering the separation between content and layout, and has an undefined return value. 
org.mmbase.module.builders.vwms.SCPcopy.main(String[])
          VPRO-specific 
org.mmbase.util.Execute.main(String[])
          Only for testing. I mean, why bother? 
org.mmbase.util.RFC1123.makeDateV1(Date)
          use RFC1123.makeDate(java.util.Date) instead 
org.mmbase.util.RFC1123.makeDateV2(Date)
          use RFC1123.makeDate(java.util.Date) instead 
org.mmbase.bridge.Node.mayLink()
          As of 20020123, replaced by RelationManager.mayCreateRelation(Node,Node) 
org.mmbase.module.scancacheInterface.newput2(String, String, String, int, String)
          Temporary hack for solving asis problems (?). Use scancacheInterface.newput(java.lang.String, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String) instead. 
org.mmbase.module.core.MMObjectNode.preEdit(EditState)
          This method doesn't seem to fit here, as it references a gui/html object (EditState), endangering the separation between content and layout. It also has an undefined return value (as well as a confusing name). 
org.mmbase.module.core.MMObjectBuilder.preEdit(EditState, MMObjectNode)
          This method doesn't seem to fit here, as it references a gui/html object (EditState), endangering the separation between content and layout. It also has an undefined return value. 
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.storage.database.Support2Storage.removeNode(MMObjectBuilder, MMObjectNode)
          use Support2Storage.delete(org.mmbase.module.core.MMObjectNode) 
org.mmbase.module.core.MMObjectBuilder.searchVector(String)
          Use search() instead 
org.mmbase.module.core.MMObjectBuilder.setDBLayout_xml(Hashtable)
          sortedDBLayout should not be used any more. use the getFields(sortorder) method instead 
org.mmbase.bridge.jsp.taglib.NodeFieldTag.setField(String)
          use setName 
org.mmbase.servlet.JumpersFilter.setFilterConfig(FilterConfig)
          will be dropped in future versions 
org.mmbase.util.logging.Logger.setPriority(Level)
          Use setLevel. 
org.mmbase.util.logging.log4j.Log4jImpl.setPriority(Level)
          use setLevel 
org.mmbase.module.core.MMObjectNode.setValue(String, int, String)
          This one will be moved/replaced soon... Testing of db types will be moved to the DB specific classes 
org.mmbase.util.media.audio.RawAudioDef.sort(Vector)
          use Collections.sort() 
org.mmbase.util.media.video.RawVideoDef.sort(Vector)
          use Collections.sort() 
org.mmbase.module.LinkChecker.start()
          start and stop methods of Thread should never be overwritten 
org.mmbase.module.builders.Vwms.startVwmsByField()
          Unused. Use startVwms() instead. 
org.mmbase.module.LinkChecker.stop()
          start and stop methods ot Threads should never be overwritten 
org.mmbase.util.MagicFile.test(byte[])
          use getMimeType 
org.mmbase.storage.database.Support2Storage.updateTable(MMObjectBuilder)
          use Support2Storage.updateStorage(org.mmbase.module.core.MMObjectBuilder) 
 

Deprecated Constructors
org.mmbase.module.builders.vwms.SCPcopy()
          vpro-specific 
org.mmbase.module.builders.vwms.SCPcopy(String)
          vpro-specific 
org.mmbase.module.builders.vwms.SCPcopy(String, String)
          vpro-specific 
org.mmbase.module.builders.vwms.SCPcopy(String, String, String)
          vpro-specific 
org.mmbase.applications.editwizard.Wizard(String, URIResolver, String, String, Cloud)
          use Wizard(String, URIResolver, Config.WizardConfig, Cloud) 
 



MMBase build 1.6.5.20030923