Deprecated API


Contents
Deprecated Interfaces
org.olat.core.extensions.css.CSSIncluder
          Description:

Initial Date: 18.05.2006
 

org.olat.core.util.coordinate.Filer
          work in progress a helper to organize files. a FileTransaction is essentially a file system directory without the user knowing the absolute path.

a FileTransaction is a unit of work (as a db transaction) that can either be committed or rolled back. this is a very very simple form of a transactional filesystem.

a FileTransaction does however -not- provide
- a locking utility
- quota management
- a vfs (virtual file system)
- synchronizing access to files and directories

Initial Date: 09.11.2007
 

org.olat.core.gui.components.table.HrefGenerator
          Needs new concept. Does not play well with Table using form.submit(). 
org.olat.commons.servlets.pathhandlers.PathHandler
          Please use GlobalMapperRegistry if you need to provide an url for e.g. static resources which are shared by all users 
 

Deprecated Classes
org.olat.core.gui.control.generic.closablewrapper.CloseableModalController
          don't use this anymore. Use BasicController methods or controllers from org.core.gui.control.modal package 
org.olat.core.gui.control.generic.dialog.DialogController
          don't use this anymore. Use BasicController methods or controllers from org.core.gui.control.modal package 
org.olat.core.util.coordinate.filer.DirectoryImpl
          work in progress

Initial Date: 12.11.2007
 

org.olat.commons.file.filechooser.FileChooserController
            
org.olat.core.util.coordinate.filer.FilerImpl
          work in progress

Initial Date: 12.11.2007
 

org.olat.course.condition.NoOpCourseEnvironment
            
org.olat.commons.coordinate.singlevm.SingleVMSyncer
          USE ONLY ClusterSyncer because SingleVMSyncer synchronized only the execute block, ClusterSyncer synchronized until commit 
org.olat.core.extensions.helpers.StaticAndCssHelper
          Description:
Initial Date: 23.09.2005
 
org.olat.commons.servlets.StaticsLegacyDispatcher
          Please use GlobalMapperRegistry if you need to provide an url for e.g. static resources which are shared by all users 
org.olat.commons.servlets.StaticsModule
          Please use GlobalMapperRegistry if you need to provide an url for e.g. static resources which are shared by all users 
org.olat.notifications.SubscriptionJumpInHandlerFactory
           
org.olat.core.gui.formelements.WikiMarkupTextAreaElement
           
org.olat.core.gui.formelements.WikiMarkupTextAreaElementAutoSize
           
 

Deprecated Fields
org.olat.user.HomePageConfig.KEY_ADDRESS
           
org.olat.user.HomePageConfig.KEY_BIRTHDAY
           
org.olat.user.HomePageConfig.KEY_EMAIL
           
org.olat.user.HomePageConfig.KEY_GENDER
           
org.olat.user.HomePageConfig.KEY_INSTITIUTIONALNAME
           
org.olat.user.HomePageConfig.KEY_INSTITUTIONEMAIL
           
org.olat.user.HomePageConfig.KEY_TELMOBILE
           
org.olat.user.HomePageConfig.KEY_TELOFFICE
           
org.olat.user.HomePageConfig.KEY_TELPRIVATE
           
 

Deprecated Methods
org.olat.core.gui.components.form.Form.addSubmitKey(String)
          since 19.07.2006 replaced by addSubmitKey(String submitKeyi18n, String identifier). 
org.olat.login.OLATAuthenticationController.authenticate(String, String)
          should not be part of the controller 
org.olat.core.commons.contextHelp.ContextHelpManager.countCommunityRatings(Locale, String, String)
          - use the CommentAndRatingService instead. Still here in case we want to migrate the ratings 
org.olat.core.gui.render.velocity.VelocityRenderDecorator.escapeDoubleQuotes(String)
          please use escapeHtml. 
org.olat.core.util.Formatter.escapeSingleAndDoubleQuotes(String)
          use org.apache.commons.lang.StringEscapeUtils.escapeJavaScript() instead. 
org.olat.modules.scorm.ScormAPIandDisplayController.externalNodeClicked(TreeEvent)
          @TODO To be deleted - does logging and would have to go via an event() method 
org.olat.modules.cp.CPDisplayController.externalNodeClicked(UserRequest, TreeEvent)
          @TODO To be deleted - does logging and would have to go via an event() method 
org.olat.user.UserManager.findUserByEmail(String)
          use ManagerFactory.getManager().getIdentitiesByPowerSearch instead 
org.olat.core.util.Formatter.formatWikiMarkup(String)
           
org.olat.core.gui.render.velocity.VelocityRenderDecorator.formatWikiMarkup(String)
           
org.olat.core.util.xml.XStreamHelper.fromXML(String)
           
org.olat.core.gui.components.table.HrefGenerator.generate(int, String)
          FIXME:fj:b a new concept is needed here, since it is too generic to conform to e.g. urlbuilding (any javascript can be inserted here) 
org.olat.core.commons.contextHelp.ContextHelpManager.getCommunityPageRanking(Locale, String, String)
          - use the CommentAndRatingService instead. Still here in case we want to migrate the ratings 
org.olat.course.statistic.SimpleStatisticInfoHelper.getFirstLoggingTableCreationDate()
          refactor SimpleStatisticInfoHelper in 6.4 !!! 
org.olat.user.propertyhandlers.UserPropertyHandler.getFormElement(Locale, User, String, boolean)
          Use FlexiForms instead of the old forms. 
org.olat.core.gui.components.tree.GenericTreeNode.getImageURI()
          see org.olat.core.gui.components.tree.TreeNode#getImageURI() 
org.olat.commons.servlets.pathhandlers.PathHandler.getInputStream(HttpServletRequest, ResourceDescriptor)
          Please use GlobalMapperRegistry if you need to provide an url for e.g. static resources which are shared by all users 
org.olat.core.logging.Tracing.getLogger(Class)
          do use createLoggerFor(..) instead 
org.olat.core.util.coordinate.Coordinator.getNodeId()
          if you really need the node id try to access it via spring. Search the spring files for ${node.id} for an example. Calling this method depends on a fully loaded OLAT and this is not what you want when doing unit testing without OLAT. If you like to have a service which only runs on one node there is a concept called singleton services. See the UpgradeManager spring config for an example. 
org.olat.core.util.Util.getPackageName(Class)
          please use createPackageTranslator.... Returns the package name for this class 
org.olat.core.commons.contextHelp.ContextHelpManager.getPersonalPageRanking(UserRequest, Locale, String, String)
          - use the CommentAndRatingService instead. Still here in case we want to migrate the ratings 
org.olat.commons.servlets.pathhandlers.PathHandler.getResourceDescriptor(HttpServletRequest, String)
          Please use GlobalMapperRegistry if you need to provide an url for e.g. static resources which are shared by all users 
org.olat.core.test.JUnitTestServletContext.getServlet(String)
            
org.olat.core.test.JUnitTestServletContext.getServletNames()
            
org.olat.core.test.JUnitTestServletContext.getServlets()
            
org.olat.user.propertyhandlers.UserPropertyHandler.getStringValue(FormElement)
          Use FlexiForms instead of the old forms. 
org.olat.commons.servlets.pathhandlers.PathHandler.init(Configuration)
          Please use GlobalMapperRegistry if you need to provide an url for e.g. static resources which are shared by all users 
org.olat.core.logging.Tracing.isDebugEnabled(Class)
          please use OLog log = createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.user.propertyhandlers.UserPropertyHandler.isValid(FormElement, Map)
          Use FlexiForms instead of the old forms. 
org.olat.core.test.JUnitTestServletContext.log(Exception, String)
            
org.olat.core.logging.Tracing.logAudit(String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logAudit(String, String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logDebug(String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logDebug(String, String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logError(String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logError(String, Throwable, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logInfo(String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logInfo(String, String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logWarn(String, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.core.logging.Tracing.logWarn(String, Throwable, Class)
          please use OLog log = Tracing.createLoggerFor(MySample.class) as a private static field in your class and use this log. 
org.olat.commons.modules.bc.meta.MetaInfoFileImpl.parseXMLdom(File)
           
org.olat.core.gui.control.WindowControl.pushToMainArea(Component)
          todo merge with pushAsModalDialog (pb) 
org.olat.core.gui.components.Container.put(Component)
          Please use put(String name, Component component) instead! 
org.olat.core.util.xml.XStreamHelper.readObject(File)
           
org.olat.core.util.xml.XStreamHelper.readObject(InputStream)
           
org.olat.course.tree.CourseEditorTreeModel.removeCourseNode(CourseNode)
          REVIEW:pb: no longer used? it is not referenced from java, and also not found in velocity *.html 
org.olat.core.gui.components.form.Form.removeFormElements()
          construct a new form if needed 
org.olat.core.gui.components.ComponentRenderer.renderHeaderIncludes(Renderer, StringOutput, Component, URLBuilder, Translator, RenderingState)
          please use either the validate(..) method in Component.java in your component or create a new JSAndCSSComponent(...) in your controller which you can then include in your render tree. This method here is legacy and does not support web 2.0 mode.

things like css and .js files to be loaded in the tag, e.g.