Deprecated API

Deprecated Classes
org.mmbase.module.community.CompareMessages
          use mmbase.util.NodeComparator instead 
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.community.RelationBreaker
          use NodeBreaker instead 
org.mmbase.module.community.TimeStamp
          Do not use this class. Store timestamps as Long or Date instead. 
 

Deprecated Fields
org.mmbase.module.core.MMObjectBuilder.debug
          : use Logger routines instead 
 

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.module.core.MMBase.doGetAgeMarker(StringTokenizer)
          SCAN related, should not be in this module. 
org.mmbase.module.core.MMObjectBuilder.getAliasedNode(String)
          Use MMObjectBuilder.getNode(java.lang.String) instead. 
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.module.core.MMObjectBuilder.getDutchSName()
          use MMObjectBuilder.getSingularName(java.lang.String) instead. 
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.builders.Images.getImageBytes5(scanpage, Vector)
          glue method until org.mmbase.servlet.servdb is updated 
org.mmbase.module.corebuilders.RelDef.getRelNrByName(String, String)
          use RelDef.getNumberByName(java.lang.String) instead 
org.mmbase.module.core.MMObjectBuilder.getSmartPath(String, String, String, String)
          This is a utility method for use with a number of SCAN commands. Since it does not actually require knowledge of the nodes, this method should be moved to the scanparser class. 
org.mmbase.module.core.MMObjectNode.getTableName()
          use getName instead 
org.mmbase.module.core.MMObjectNode.getValueAsString(String)
          use MMObjectNode.getStringValue(java.lang.String) instead. 
org.mmbase.module.core.MMObjectBuilder.getXMLSetup()
          will be removed 
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.core.MMObjectBuilder.isXMLConfig()
          will be removed 
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.module.scancache.newput2(String, String, String, int, String)
          Temporary hack for solving asis problems (?). Use scancache.newput(java.lang.String, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String) instead. 
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.core.MMObjectBuilder.searchVector(String)
          Use search() instead 
org.mmbase.module.core.MMObjectBuilder.setDebug(boolean)
          : use Logger routines instead 
org.mmbase.module.core.MMObjectBuilder.setDutchSName(String)
          Will be removed soon 
org.mmbase.module.core.MMObjectNode.setParent(MMObjectBuilder)
          Unused. Should be removed. 
org.mmbase.module.core.MMObjectBuilder.setXmlConfig(boolean)
          will be removed 
org.mmbase.module.builders.Vwms.startVwmsByField()
          Unused. Use startVwms() instead. 
 

Deprecated Constructors
org.mmbase.module.core.MMObjectNode()
          Unused. Should be removed. 
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 
 



MMBase 2001