Deprecated API


Contents
Deprecated Interfaces
info.magnolia.cms.security.auth.callback.ClientCallback
          since 4.0 - this was never used 
info.magnolia.cms.core.Content
          since 4.5 - use jcr.Node instead. 
info.magnolia.cms.core.Content.ContentFilter
          since 4.5 - use Predicate instead. 
info.magnolia.content2bean.Content2BeanProcessor
          since 4.5, use Content2Bean. 
info.magnolia.cms.security.auth.Entity
            
info.magnolia.cms.util.FactoryUtil.InstanceFactory
          since 4.3 - use ComponentFactory 
info.magnolia.cms.core.HierarchyManager
          since 4.5 - use JCR-Session instead. 
info.magnolia.context.MgnlContext.SystemContextOperation
          since 4.2 - use the Op interface, which can return values, or extend VoidOp. 
info.magnolia.cms.core.NodeData
          since 4.5, use jcr.Property instead. 
info.magnolia.cms.core.search.Query
          Since 4.5.4 we are using JCR query API. 
info.magnolia.cms.core.search.QueryManager
          Since 4.5.4 we are using JCR query API. 
info.magnolia.cms.core.search.QueryResult
          Since 4.5.4 we are using JCR query API. 
 

Deprecated Classes
info.magnolia.cms.util.AbstractContentComparator
          since 4.2 - now irrelevant since using generics, implement Comparator instead of extending this. 
info.magnolia.module.delta.AddUserToRoleTask
          since 4.3.7, use AddRoleToUserTask. 
info.magnolia.logging.AuditLoggingManager
          since 4.5.9 use info.magnolia.audit.AuditLoggingManager instead. 
info.magnolia.logging.AuditLoggingUtil
          since 4.5.9 use info.magnolia.audit.AuditLoggingUtil instead. 
info.magnolia.cms.filters.BackwardCompatibilityFilter
          since 4.3 
info.magnolia.jcr.wrapper.ChildWrappingNodeWrapper
          since magnolia 4.5.8 use ContentDecoratorNodeWrapper instead 
info.magnolia.cms.util.ClassUtil
          since 4.3 - see specific methods for replacements. 
info.magnolia.cms.security.auth.callback.CompositeCallback
          since 4.5 - not needed anymore. The SecurityCallbackFilter can be configured to accept multiple HttpClientCallbacks, and the callback themselves accept a request or not. 
info.magnolia.content2bean.Content2BeanProcessor.Factory
          since 4.5, we should use IoC. However, we'll leave the processor as is for now. 
info.magnolia.content2bean.Content2BeanTransformer.Factory
          since 4.5, we should use IoC... 
info.magnolia.cms.beans.config.ContentRepository
          since 4.5 - Use RepositoryConstants, WorkspaceMapping, SessionProviderRegistry instead. 
info.magnolia.cms.util.ContentUtil
          since 4.5 - use NodeUtil instead. 
info.magnolia.cms.core.ie.DataTransporter
          since 4.0, use DataTransporter 
info.magnolia.objectfactory.DefaultComponentProvider
          since 4.5, use IoC, i.e another implementation of ComponentProvider. 
info.magnolia.cms.core.DefaultContent
          since 4.5 use jcr.Node instead. 
info.magnolia.cms.core.DefaultHierarchyManager
          since 4.5. Use Session and its methods instead. 
info.magnolia.cms.core.DefaultNodeData
          since 4.5, use jcr.Property instead. 
info.magnolia.content2bean.impl.DescriptorFileBasedTypeMapping
          since 4.5, unused. Custom Transformer should be enough. 
info.magnolia.cms.security.Digester
          since 4.5.3 - use SecurityUtil instead. 
info.magnolia.voting.voters.DontDispatchOnForwardAttributeVoter
          since 4.4, use WebContainerResources instead 
info.magnolia.cms.security.DummyUser
          since 4.3.6 - usage needs to be reviewed - see MAGNOLIA-3269 
info.magnolia.cms.util.FactoryUtil
          since 4.3 - use Components.getComponentProvider(). 
info.magnolia.cms.util.FactoryUtil.ObservedObjectFactory
          since 4.3 - use ObservedComponentFactory 
info.magnolia.cms.i18n.I18nContentSupportFactory
          since 4.5.5, use Components.getComponent(Class) instead. 
info.magnolia.jcr.wrapper.InheritanceNodeWrapper
          since 4.5.9 use InheritanceContentDecorator 
info.magnolia.cms.core.ItemType
          since 4.5 - use MgnlNodeType}. 
info.magnolia.logging.LogConfiguration
          since 4.5.9 use info.magnolia.audit.LogConfiguration instead. 
info.magnolia.logging.LoggingLevel
          since 4.5.9 use info.magnolia.audit.LoggingLevel instead. 
info.magnolia.cms.core.MagnoliaAccessManager
          this class will change package as part of removal direct JR dependencies. 
info.magnolia.cms.util.MetaDataUtil
          since 4.5 as it operates on deprecated Content - use MetaDataUtil instead. 
info.magnolia.cms.servlets.MgnlServletContextListener
          since 4.5 - use MagnoliaServletContextListener instead. 
info.magnolia.freemarker.ModeDependentTemplateExceptionHandler
          since 4.5 - Replaced by info.magnolia.rendering.engine.ModeDependentRenderExceptionHandler.ModeDependentRenderExceptionHandler( ServerConfiguration) that can be set on the info.magnolia.rendering.engine.RenderingEngine. 
info.magnolia.module.ModuleManager.Factory
          since 4.5, use IoC. 
info.magnolia.module.ModuleRegistry.Factory
          since 4.5, use IoC ! 
info.magnolia.content2bean.impl.PropertiesBasedTypeDescriptor
          since 4.5, unused. Custom Transformer should be enough. 
info.magnolia.content2bean.impl.PropertiesBasedTypeMapping
          since 4.5 - register Transformers explicitly. 
info.magnolia.cms.beans.config.PropertiesInitializer
          since 4.5 - replaced by classes in the info.magnolia.init package. 
info.magnolia.cms.core.search.QueryImpl
          Since 4.5.4 we are using JCR query API. 
info.magnolia.cms.core.search.QueryManagerImpl
          Since 4.5.4 we are using JCR query API. 
info.magnolia.cms.core.search.QueryResultImpl
          Since 4.5.4 we are using JCR query API. 
info.magnolia.cms.security.auth.callback.RealmCallback
            
info.magnolia.repository.RepositoryMapping
          since 4.5 - use RepositoryDefinition instead. 
info.magnolia.repository.RepositoryNameMap
          since 4.5 - use WorkspaceMappingDefinition instead. $Id$ 
info.magnolia.cms.util.RequestFormUtil
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. To access uploaded documents, use MultipartForm. 
info.magnolia.cms.util.RuleBasedContentFilter
          since 4.5 use RuleBasedNodePredicate instead 
info.magnolia.cms.util.ServletUtils
          since 4.5 - use ServletUtil instead. 
info.magnolia.cms.core.SystemProperty
          since 4.5, use MagnoliaConfigurationProperties 
info.magnolia.cms.i18n.TemplateMessagesUtil
          officially since 4.0 - informally since 3.0 
info.magnolia.content2bean.TypeMapping.Factory
          since 4.5, use IoC. 
info.magnolia.voting.Voting.Factory
          since 4.4, use one of the constants 
 

Deprecated Exceptions
info.magnolia.api.MgnlException
          since 4.5 
 

Deprecated Fields
info.magnolia.context.WebContext.ATTRIBUTE_REQUEST_CHARACTER_ENCODING
          use AggregationState 
info.magnolia.context.WebContext.ATTRIBUTE_REQUEST_URI
          use AggregationState 
info.magnolia.link.EditorLinkTransformer.binaryTransformer
           
info.magnolia.cms.beans.config.ContentRepository.CONFIG
          Use RepositoryConstants.CONFIG instead 
info.magnolia.voting.voters.DontDispatchOnForwardAttributeVoter.DONT_DISPATCH_ON_FORWARD_ATTRIBUTE
          since 4.4, should not be used anymore, replaced by the WebContainerResourcesImpl.WEB_CONTAINER_RESOURCE_MARKER_ATTRIBUTE. 
info.magnolia.objectfactory.ObservedComponentFactory.interf
          since 4.3 - this should be private - use ObservedComponentFactory.getComponentType() instead. (rename to "type" once made private) 
info.magnolia.link.EditorLinkTransformer.linkTransformer
           
info.magnolia.module.delta.AbstractTask.log
          since 4.5 - declare proper static final Logger in sublcasses. 
info.magnolia.cms.beans.config.ContentRepository.NAMESPACE_PREFIX
          Use RepositoryConstants.NAMESPACE_PREFIX instead 
info.magnolia.cms.beans.config.ContentRepository.NAMESPACE_URI
          Use RepositoryConstants.NAMESPACE_URI instead 
info.magnolia.cms.core.ItemType.NT_CONTENT
          use ItemType.CONTENT 
info.magnolia.cms.core.ItemType.NT_CONTENTNODE
          use ItemType.CONTENTNODE 
info.magnolia.objectfactory.ObservedComponentFactory.observedObject
          since 4.3 - this should be private - use ObservedComponentFactory.getObservedObject() instead. 
info.magnolia.cms.beans.config.ContentRepository.REPOSITORY_PSWD
          since 4.5 - do not use 
info.magnolia.cms.beans.config.ContentRepository.REPOSITORY_USER
          since 4.5 - do not use 
info.magnolia.cms.filters.MgnlMainFilter.SERVER_FILTERS
          since 4.5, use FilterManager.SERVER_FILTERS. 
info.magnolia.content2bean.Content2BeanUtil.TO_MAP_TRANSFORMER
          since 4.5 - use Content2BeanUtil.ToMapTransformer. 
info.magnolia.cms.beans.config.ContentRepository.USER_GROUPS
          Use RepositoryConstants.USER_GROUPS instead 
info.magnolia.cms.beans.config.ContentRepository.USER_ROLES
          Use RepositoryConstants.USER_ROLES instead 
info.magnolia.cms.beans.config.ContentRepository.USERS
          Use RepositoryConstants.USERS instead 
info.magnolia.cms.beans.config.ContentRepository.VERSION_STORE
          Use RepositoryConstants.VERSION_STORE instead 
info.magnolia.cms.beans.config.ContentRepository.WEBSITE
          Use RepositoryConstants.WEBSITE instead 
 

Deprecated Methods
info.magnolia.content2bean.Content2BeanUtil.addCollectionPropertyMapping(Class, String, Class)
          since 4.5 - only used in tests 
info.magnolia.cms.security.User.addGroup(String)
          since 4.5 - use UserManager.addGroup(User, String) instead. 
info.magnolia.cms.security.Group.addGroup(String)
          use manager instead 
info.magnolia.cms.beans.config.ContentRepository.addMappedRepositoryName(String, String)
          since 4.5 - use RepositoryManager.addWorkspaceMapping(info.magnolia.repository.definition.WorkspaceMappingDefinition) directly. 
info.magnolia.cms.beans.config.ContentRepository.addMappedRepositoryName(String, String, String)
          since 4.5 - use RepositoryManager.addWorkspaceMapping(info.magnolia.repository.definition.WorkspaceMappingDefinition) directly. 
info.magnolia.cms.beans.runtime.MultipartForm.addParameter(String, Object)
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.beans.runtime.MultipartForm.addparameterValues(String, String[])
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.security.Role.addPermission(String, String, long)
          use manager instead 
info.magnolia.content2bean.TypeMapping.addPropertyTypeDescriptor(Class, String, PropertyTypeDescriptor)
          since 4.5 - unused 
info.magnolia.cms.security.User.addRole(String)
          since 4.5 - use UserManager.addRole(User, String) instead. 
info.magnolia.cms.security.Group.addRole(String)
          use manager instead 
info.magnolia.cms.exchange.ActivationManager.addSubscribers(Subscriber)
          means of setting the subscribers are implementation detail and should not be exposed 
info.magnolia.content2bean.TypeMapping.addTypeDescriptor(Class, TypeDescriptor)
          since 4.5 - should not be part of the interface 
info.magnolia.cms.util.WebXmlUtil.areFilterDispatchersConfiguredProperly(String, List, List)
          since 3.6.4, use checkFilterDispatchersConfiguration() 
info.magnolia.cms.beans.config.ContentRepository.checkIfInitialized()
          since 4.5 - use RepositoryManager.checkIfInitialized() directly. 
info.magnolia.cms.beans.config.ContentRepository.checkIfInitialized(String)
          since 4.5 - use RepositoryManager.checkIfInitialized(String) directly. 
info.magnolia.cms.util.ClassUtil.classForName(String)
          since 4.3 - use Classes.getClassFactory(). 
info.magnolia.cms.util.FactoryUtil.clear()
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see DefaultComponentProvider.clear() 
info.magnolia.cms.util.QueryUtil.createDateExpression(Calendar)
          since 4.5.4 use info.magnolia.cms.util.DateUtil.createDateExpression(calendar) 
info.magnolia.cms.util.QueryUtil.createDateExpression(int, int, int)
            
info.magnolia.cms.util.QueryUtil.createDateTimeExpression(Calendar)
          since 4.5.4 use info.magnolia.cms.util.DateUtil.createDateTimeExpression(calendar) 
info.magnolia.cms.util.QueryUtil.createDateTimeExpression(int, int, int, int, int, int)
            
info.magnolia.cms.util.QueryUtil.createDateTimeExpressionIgnoreTimeZone(Calendar)
          since 4.5.4 use info.magnolia.cms.util.DateUtil.createDateTimeExpressionIgnoreTimeZone(calendar) 
info.magnolia.cms.util.QueryUtil.createDateTimeExpressionIgnoreTimeZone(int, int, int, int, int, int)
            
info.magnolia.cms.core.Content.createNodeData(String)
          since 4.3, as JCR only supports set or remove operations for properties we recommend to use Content.setNodeData(String, Object) instead. 
info.magnolia.cms.core.Content.createNodeData(String, int)
          since 4.3, as JCR only supports set or remove operations for properties we recommend to use Content.setNodeData(String, Object) instead. 
info.magnolia.cms.core.AbstractContent.createNodeData(String, int)
            
info.magnolia.cms.core.Content.createNodeData(String, Object)
          since 4.3, as JCR only supports set or remove operations for properties we recommend to use Content.setNodeData(String, Object) instead. 
info.magnolia.cms.core.AbstractContent.createNodeData(String, Object)
            
info.magnolia.cms.core.Content.createNodeData(String, Value)
          since 4.3, as JCR only supports set or remove operations for properties we recommend to use Content.setNodeData(String, Value) instead. 
info.magnolia.cms.core.Content.createNodeData(String, Value[])
          since 4.3, as JCR only supports set or remove operations for properties we recommend to use Content.setNodeData(String, Value[]) instead. 
info.magnolia.cms.core.AbstractContent.createNodeData(String, Value[])
            
info.magnolia.cms.util.NodeDataUtil.createValue(Object, ValueFactory)
          since 4.5 - use PropertyUtil.createValue(Object, ValueFactory) instead 
info.magnolia.cms.util.NodeDataUtil.createValue(String, int, ValueFactory)
          since 4.5 - directly use PropertyUtil.createValue(String, int, ValueFactory) instead. 
info.magnolia.cms.core.version.BaseVersionManager.createVersion(Content, Rule)
          since 4.5 use #createVersion(Node, Rule) instead 
info.magnolia.cms.security.MgnlUser.decodePassword(String)
           
info.magnolia.cms.security.BaseSecurityFilter.doAuthenticate(HttpServletRequest, HttpServletResponse)
          since 4.5, should not be needed, and does nothing. 
info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback.doCallback(HttpServletRequest, HttpServletResponse)
          since 4.5 
info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.SystemContextOperation)
          since 4.2 - use the Op interface, which can return values, or extend VoidOp. 
info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.SystemContextOperation, boolean)
          since 4.2 - use the Op interface, which can return values, or extend VoidOp. 
info.magnolia.cms.util.QueryUtil.exceptionThrowingQuery(String, String, String, String)
          Since 4.5.4 use search methods. 
info.magnolia.cms.util.QueryUtil.exceptionThrowingQuery(String, String, String, String, long)
          Since 4.5.4 use search methods. 
info.magnolia.content2bean.impl.TypeMappingImpl.findTransformerByNamingConvention(Class)
          since 4.5, transformers should be explicitly registered via the module descriptor. 
info.magnolia.content2bean.impl.TypeMappingImpl.findTransformerViaProperty(Class)
          since 4.5, transformers should be explicitly registered via the module descriptor. 
info.magnolia.cms.security.MgnlUserManager.findUserNode(String, String)
          since 4.5 use findPrincipalNode(java.lang.String, javax.jcr.Session) instead 
info.magnolia.cms.i18n.MessagesUtil.generateJavaScript(Messages)
          since 4.0, use generateJavaScript(Writer out, Messages messages) instead. 
info.magnolia.cms.core.ContentHandler.getAccessManager()
          since 4.0 - use getHierarchyManager instead 
info.magnolia.cms.core.Content.getAccessManager()
          since 4.0 - use getHierarchyManager instead 
info.magnolia.cms.core.version.ContentVersion.getAccessManager()
          use getHierarchyManager instead 
info.magnolia.cms.util.MetaDataUtil.getActivationStatusIcon(Content)
          since 4.5 - use MetaDataUtil.getActivationStatusIcon(Node) instead. 
info.magnolia.cms.beans.config.ContentRepository.getAllRepositoryNames()
          since 4.5 - use RepositoryManager.getWorkspaceNames() directly. 
info.magnolia.content2bean.Content2BeanUtil.getBean2ContentProcessor()
          since 4.5 - unused, Bean2Content is not implemented yet. 
info.magnolia.cms.core.SystemProperty.getBooleanProperty(String)
          since 4.5, use MagnoliaConfigurationProperties 
info.magnolia.cms.core.Content.getChildByName(String)
          since 4.3, either use Content.getContent(String) or Content.getChildren(String) 
info.magnolia.cms.core.AbstractContent.getChildByName(String)
            
info.magnolia.cms.util.ContentWrapper.getChildByName(String)
          since 4.3, either use ContentWrapper.getContent(String) or AbstractContent.getChildren(String) 
info.magnolia.cms.util.ConfigUtil.getConfigFile(String)
          since 4.0 - use getTokenizedConfigFile 
info.magnolia.cms.exchange.ActivationManager.getConfigPath()
          There's no real need to expose this as such a location is an implementation detail. 
info.magnolia.content2bean.Content2BeanUtil.getContent2BeanProcessor()
          since 4.5, use IoC. - TODO only used locally 
info.magnolia.content2bean.Content2BeanUtil.getContent2BeanTransformer()
          since 4.5, use IoC. 
info.magnolia.cms.util.NodeDataUtil.getDateFormat()
          since 4.5 - use PropertyUtil.getDateFormat() instead 
info.magnolia.cms.util.HierarchyManagerWrapper.getDelegate()
          since 4.3 use getWrappedHierarchyManager() instead 
info.magnolia.context.MgnlContext.getHierarchyManager(String)
          since 4.5 - use MgnlContext.getJCRSession(String) 
info.magnolia.context.LifeTimeJCRSessionUtil.getHierarchyManager(String)
           
info.magnolia.context.Context.getHierarchyManager(String)
          since 4.5 - use Context.getJCRSession(String) 
info.magnolia.cms.util.FactoryUtil.getImplementation(Class)
          since 4.3 - use info.magnolia.objectfactory.Components#getComponentProvider()#getImplementation(Class) 
info.magnolia.cms.beans.config.VirtualURIManager.getInstance()
          since 4.5, use IoC ! 
info.magnolia.cms.beans.config.VersionConfig.getInstance()
          since 4.5, use IoC ! 
info.magnolia.cms.beans.config.URI2RepositoryManager.getInstance()
          since 4.5, use IoC 
info.magnolia.cms.beans.config.ServerConfiguration.getInstance()
          since 4.5, use IoC 
info.magnolia.cms.beans.config.PropertiesInitializer.getInstance()
          since 4.5, use IoC 
info.magnolia.cms.filters.MgnlMainFilter.getInstance()
          since 4.5, use IoC to access FilterManager. 
info.magnolia.cms.i18n.MessagesManager.getInstance()
          since 4.5, use IoC ! 
info.magnolia.commands.CommandsManager.getInstance()
          since 4.5, use IoC ! 
info.magnolia.context.ContextFactory.getInstance()
          since 4.5, use IoC, i.e., declare a dependency on ContextFactory in your component. 
info.magnolia.freemarker.FreemarkerHelper.getInstance()
          since 4.5, use IoC ! 
info.magnolia.freemarker.FreemarkerConfig.getInstance()
          since 4.3 should not be needed - components using this can keep their instance 
info.magnolia.module.ModuleRegistry.Factory.getInstance()
          since 4.5, use IoC ! 
info.magnolia.module.ModuleManager.Factory.getInstance()
          since 4.5, use IoC. 
info.magnolia.cms.beans.config.ContentRepository.getInternalWorkspaceName(String)
          since 4.5 - do not use. 
info.magnolia.cms.util.NodeDataUtil.getJCRPropertyType(Object)
          since 4.5 - use PropertyUtil.getJCRPropertyType(Object) instead 
info.magnolia.cms.beans.config.ContentRepository.getMappedRepositoryName(String)
          since 4.5 - use RepositoryManager.getWorkspaceMapping(String). 
info.magnolia.cms.beans.config.ContentRepository.getMappedWorkspaceName(String)
          since 4.5 - use RepositoryManager.getWorkspaceMapping(String). 
info.magnolia.cms.core.HierarchyManager.getName()
          since 4.5 - use Session#getWorkspace()#getName() instead. 
info.magnolia.cms.security.MgnlUserManager.getName()
          since 4.5 use realmName instead 
info.magnolia.cms.i18n.I18nContentSupport.getNodeData(Content, String)
          since 4.5.4 use I18nContentSupport.getProperty(Node, String) instead. 
info.magnolia.cms.i18n.I18nContentSupport.getNodeData(Content, String, Locale)
          since 4.5.4 use I18nContentSupport.getProperty(Node, String, Locale) instead. 
info.magnolia.cms.core.Path.getNodePath(String)
          since 4.0 - untested and unused 
info.magnolia.cms.core.Path.getNodePath(String, String)
          since 4.0 - untested and unused 
info.magnolia.objectfactory.ObservedComponentFactory.getObservedObject()
          since 4.3 - info.magnolia.objectfactory.DefaultComponentProvider#newInstance(Class) returns a proxy of the observed object instead of this factory, so this method shouldn't be needed publicly. 
info.magnolia.cms.core.DefaultHierarchyManager.getPage(String, String)
          since 4.0 - only used by taglibs - should go/move. 
info.magnolia.cms.beans.runtime.MultipartForm.getParameter(String)
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.beans.runtime.MultipartForm.getParameterNames()
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.beans.runtime.MultipartForm.getParameters()
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.beans.runtime.MultipartForm.getParameterValues(String)
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.core.Path.getParentPath(String)
          since 4.0 - untested and unused 
info.magnolia.cms.beans.config.ContentRepository.getParentRepositoryName(String)
          since 4.5 - do not use. 
info.magnolia.cms.core.SystemProperty.getProperties()
          since 4.5 - while this still "works" and returns an aggregate of the local properties and those provided by MagnoliaConfigurationProperties, writing to this Property object will not be reflected anywhere. 
info.magnolia.cms.servlets.MgnlServletContextListener.getPropertiesFilesString(ServletContext, String, String)
          since 4.5, use MagnoliaServletContextListener#getPropertiesFilesString(javax.servlet.ServletContext, info.magnolia.init.MagnoliaInitPaths) 
info.magnolia.jcr.util.PropertyUtil.getProperty(Node, String)
          since 4.5 - use getPropertyOrNull instead. 
info.magnolia.cms.core.SystemProperty.getProperty(String)
          since 4.5, use MagnoliaConfigurationProperties 
info.magnolia.cms.core.SystemProperty.getProperty(String, String)
          since 4.5, use MagnoliaConfigurationProperties 
info.magnolia.cms.core.SystemProperty.getPropertyList()
          since 3.0 - use getProperties() instead 
info.magnolia.context.MgnlContext.getQueryManager(String)
          since 4.5 - use MgnlContext.getJCRSession(String) and acquire the JCR query manager directly from the session. 
info.magnolia.context.LifeTimeJCRSessionUtil.getQueryManager(String)
           
info.magnolia.context.Context.getQueryManager(String)
          since 4.5 - use Context.getJCRSession(String) and acquire the JCR query manager directly from the session. 
info.magnolia.cms.beans.config.ContentRepository.getRepository(String)
          since 4.5 - use RepositoryManager.getRepository(String) directly. 
info.magnolia.cms.beans.config.ContentRepository.getRepositoryMapping(String)
          since 4.5 - use RepositoryManager.getRepositoryDefinition(String) directly. 
info.magnolia.cms.beans.config.ContentRepository.getRepositoryProvider(String)
          since 4.5 - use RepositoryManager.getRepositoryProvider(String) directly. 
info.magnolia.cms.util.FactoryUtil.getSingleton(Class)
          since 4.3 - use Components.getSingleton(Class) 
info.magnolia.objectfactory.DefaultComponentProvider.getSingleton(Class)
           
info.magnolia.objectfactory.Components.getSingleton(Class)
          since 4.5, use IoC to inject the component or use #getComponent(Class). 
info.magnolia.objectfactory.ComponentProvider.getSingleton(Class)
          since 4.5, use IoC. If you really need to look up a component, then use ComponentProvider.getComponent(Class) 
info.magnolia.objectfactory.guice.GuiceComponentProvider.getSingleton(Class)
           
info.magnolia.module.ModuleVersionHandler.getStartupDelta(InstallContext)
          It seems irrelevant to have startup tasks in a VersionHandler. These should probably be moved to ModuleLifecycle. 
info.magnolia.context.MgnlContext.getSystemContext()
          since 4.5, use IoC, i.e., declare a dependency on SystemContext in your component. 
info.magnolia.context.ContextFactory.getSystemContext()
          since 4.5, use IoC, i.e., declare a dependency on SystemContext in your component. 
info.magnolia.content2bean.Content2BeanUtil.getTypeMapping()
          since 4.5, use IoC. 
info.magnolia.content2bean.Content2BeanTransformer.getTypeMapping()
          since 4.5, do not use 
info.magnolia.content2bean.impl.Content2BeanTransformerImpl.getTypeMapping()
          since 4.5, do not use. 
info.magnolia.jackrabbit.ProviderImpl.getUnderlineRepository()
          typo - use get #getUnderlyingRepository() - since 4.0 
info.magnolia.repository.Provider.getUnderlineRepository()
          since 4.0 - typo - use get #getUnderlyingRepository() instead 
info.magnolia.module.AbstractModuleVersionHandler.getUpdate(InstallContext)
          since 4.2, renamed to getDefaultUpdate(InstallContext installContext) 
info.magnolia.cms.security.UserManager.getUser(Subject)
          jaas login module should just request the user, not pass the subject around to the user manager 
info.magnolia.cms.security.MgnlUser.getUserNode()
          since 4.5, use UserManager.updateLastAccessTimestamp(User) instead 
info.magnolia.cms.security.MgnlUser.getUuid()
          since 4.5.1, use MgnlUser.getIdentifier() instead 
info.magnolia.cms.util.NodeDataUtil.getValuesStringList(Value[])
          since 4.5 - use PropertyUtil.getValuesStringList(Value[]) instead 
info.magnolia.cms.util.WorkspaceXmlUtil.getWorkspaceNamesWithIndexer()
          since 4.5 - directly use #getWorkspaceNamesMatching(String, String, boolean) instead. 
info.magnolia.freemarker.models.MagnoliaObjectWrapper.handleCalendar(Calendar)
          since 4.3 use CalendarModel instead. 
info.magnolia.cms.core.SystemProperty.hasProperty(String)
          since 4.5, use MagnoliaConfigurationProperties 
info.magnolia.cms.core.MetaData.hasProperty(String)
          since 4.0 - not used 
info.magnolia.cms.beans.config.ContentRepository.hasRepositoryMapping(String)
          since 4.5 - use RepositoryManager.hasRepository(String) directly. 
info.magnolia.importexport.DataTransporter.importProperties(Properties, String)
          since 4.0 - use the PropertiesImportExport class instead. 
info.magnolia.cms.beans.config.ContentRepository.init()
          since 4.5 - use RepositoryManager.init() directly. 
info.magnolia.cms.exchange.Syndicator.init(User, String, String, Rule)
          since 4.5 use ioc instead 
info.magnolia.context.MgnlContext.initAsWebContext(HttpServletRequest, HttpServletResponse, ServletContext)
          since 4.5, use WebContextFactory. 
info.magnolia.cms.servlets.MgnlServletContextListener.initRootPath(ServletContext)
          since 4.5, use or subclass MagnoliaInitPaths. 
info.magnolia.init.MagnoliaServletContextListener.initRootPath(ServletContext)
          since 4.5, use or subclass MagnoliaInitPaths. 
info.magnolia.cms.servlets.MgnlServletContextListener.initServername(boolean)
          since 4.5, use or subclass MagnoliaInitPaths. 
info.magnolia.init.MagnoliaServletContextListener.initServername(boolean)
          since 4.5, use or subclass MagnoliaInitPaths. 
info.magnolia.cms.servlets.MgnlServletContextListener.initWebappName(String)
          since 4.5, use or subclass MagnoliaInitPaths. 
info.magnolia.init.MagnoliaServletContextListener.initWebappName(String)
          since 4.5, use or subclass MagnoliaInitPaths. 
info.magnolia.cms.util.Rule.isAllowed(String)
          since 4.5.5 - use info.magnolia.cms.util.Rule.isAllowed(Node) instead. 
info.magnolia.cms.security.URISecurityFilter.isAuthorized(AccessManager, HttpServletRequest)
          since 4.5 use URISecurityFilter.isAuthorized(HttpServletRequest) instead. 
info.magnolia.objectfactory.ObservedComponentFactory.isConcrete(Class)
          since 4.5, use Classes.isConcrete(Class) 
info.magnolia.objectfactory.DefaultComponentProvider.isConcrete(Class)
          since 4.5, use Classes.isConcrete(Class) 
info.magnolia.cms.i18n.AbstractI18nContentSupport.isEmpty(NodeData)
          since 4.5.4. Use AbstractI18nContentSupport.isEmpty(Property) instead. 
info.magnolia.cms.core.Access.isGranted(AccessManager, String, long)
          AccessManager is no longer supported and used. Use JCR Session based security instead. 
info.magnolia.cms.core.Content.isGranted(long)
          since 4.5. Use PermissionUtil#isGranted(String, String, long) or PermissionUtil#isGranted(javax.jcr.Session, String, String) instead. To convert old style permissions to the new ones, please see PermissionUtil#convertPermissions(long). 
info.magnolia.cms.util.ClassUtil.isSubClass(Class, Class)
          since 4.3, use parentClass.isAssignableFrom(subClass) 
info.magnolia.cms.beans.config.ConfigLoader.load(ServletContext)
          since 4.5, use ConfigLoader.load(), dependencies are injected. 
info.magnolia.cms.beans.config.PropertiesInitializer.loadBeanProperties()
          since 4.5, replaced by a new ClasspathPropertySource("/mgnl-beans.properties"). 
info.magnolia.cms.beans.config.ContentRepository.loadRepository(RepositoryDefinition)
          since 4.5 - use RepositoryManager.loadRepository(info.magnolia.repository.definition.RepositoryDefinition) directly. 
info.magnolia.cms.beans.config.ContentRepository.loadWorkspace(String, String)
          since 4.5 - use RepositoryManager.loadWorkspace(String, String) directly. 
info.magnolia.audit.AuditLoggingUtil.log(String, String, ItemType, String)
          since 4.5, use AuditLoggingUtil.log(String, String, NodeType, String) instead. 
info.magnolia.cms.util.FactoryUtil.newInstance(Class)
          since 4.3 - use info.magnolia.objectfactory.Components#getComponentProvider()#newInstance(Class) 
info.magnolia.cms.util.ClassUtil.newInstance(String)
          since 4.3 - use Classes.getClassFactory(). Shortcut for ClassUtil.classForName(className).newInstance() 
info.magnolia.cms.util.FactoryUtil.newInstanceWithoutDiscovery(String)
          since 4.3 - use Classes.getClassFactory() 
info.magnolia.cms.util.FactoryUtil.newInstanceWithoutDiscovery(String, Object[])
          since 4.3 - use Classes 
info.magnolia.module.delta.PropertyValuesTask.newProperty(InstallContext, Content, String, String)
           
info.magnolia.cms.security.MgnlRoleManager.newRoleInstance(Content)
          since 4.5 
info.magnolia.cms.security.MgnlUserManager.newUserInstance(Content)
          since 4.5 use newUSerInstance(javax.jcr.Node) instead 
info.magnolia.objectfactory.ObservedComponentFactory.onRegister(Content)
          since 4.5, use #onRegister(Node) instead 
info.magnolia.content2bean.impl.Content2BeanTransformerImpl.onResolveType(TransformationState, TypeDescriptor, ComponentProvider)
          since 4.5, use Content2BeanTransformerImpl.onResolveType(info.magnolia.content2bean.TypeMapping, info.magnolia.content2bean.TransformationState, info.magnolia.content2bean.TypeDescriptor, info.magnolia.objectfactory.ComponentProvider) 
info.magnolia.module.delta.QueryTask.operateOnNode(InstallContext, Content)
          Since 4.5.4 use info.magnolia.module.delta.QueryTask.operateOnNode(InstallContext, Node) 
info.magnolia.cms.beans.config.PropertiesInitializer.parseStringValue(String, Set)
          since 4.5 this is now done by AbstractMagnoliaConfigurationProperties.parseStringValue(java.lang.String, java.util.Set). 
info.magnolia.cms.beans.config.PropertiesInitializer.processPropertyFilesString(ServletContext, String, String, String, String)
          since 4.5, this is done by DefaultMagnoliaPropertiesResolver.DefaultMagnoliaPropertiesResolver(javax.servlet.ServletContext, info.magnolia.init.MagnoliaInitPaths). Note: when remove this class and method, this code will need to be cleaned up and moved to info.magnolia.init.DefaultMagnoliaPropertiesResolver 
info.magnolia.cms.util.QueryUtil.query(String, String)
          Since 4.5.4 use search methods. 
info.magnolia.cms.util.QueryUtil.query(String, String, String)
          Since 4.5.4 use search methods. 
info.magnolia.cms.util.QueryUtil.query(String, String, String, String)
          Since 4.5.4 use search methods. 
info.magnolia.cms.util.QueryUtil.query(String, String, String, String, long)
          Since 4.5.4 use search methods. 
info.magnolia.cms.beans.config.ContentRepository.reload()
          since 4.5 - use RepositoryManager.reload() directly. 
info.magnolia.cms.security.User.removeGroup(String)
          since 4.5 - use UserManager.removeGroup(User, String) instead. 
info.magnolia.cms.security.Group.removeGroup(String)
          use manager instead 
info.magnolia.cms.beans.runtime.MultipartForm.removeParameter(String)
          since 4.0 - should not be needed anymore since MAGNOLIA-2449 - request parameters should be correctly wrapped. 
info.magnolia.cms.security.Role.removePermission(String, String)
          use manager instead 
info.magnolia.cms.security.Role.removePermission(String, String, long)
          use manager instead 
info.magnolia.cms.security.User.removeRole(String)
          since 4.5 - use UserManager.removeRole(User, String) instead. 
info.magnolia.cms.security.Group.removeRole(String)
          use manager instead 
info.magnolia.cms.util.ConfigUtil.replaceTokens(InputStream)
          since 4.0 - use getTokenizedConfigFile 
info.magnolia.freemarker.FreemarkerHelper.resetObjectWrapper()
          not needed anymore since 4.3 
info.magnolia.content2bean.Content2BeanTransformer.resolveType(TransformationState)
          since 4.5, use Content2BeanTransformer.resolveType(TypeMapping, TransformationState, ComponentProvider) 
info.magnolia.content2bean.impl.Content2BeanTransformerImpl.resolveType(TransformationState)
           
info.magnolia.cms.core.version.BaseVersionManager.restore(Content, Version, boolean)
          since 4.5 use BaseVersionManager.restore(Node, Version, boolean) instead 
info.magnolia.cms.security.auth.PrincipalCollectionImpl.set(Collection)
          since 4.5 
info.magnolia.cms.core.ContentHandler.setAccessManager(AccessManager)
          use setHierarchyManager instead 
info.magnolia.cms.util.FactoryUtil.setDefaultImplementation(Class, Class)
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see info.magnolia.objectfactory.DefaultComponentProvider#setDefaultImplementation(Class, Class) 
info.magnolia.cms.util.FactoryUtil.setDefaultImplementation(Class, String)
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see info.magnolia.objectfactory.DefaultComponentProvider#setDefaultImplementation(Class, String) 
info.magnolia.cms.i18n.DefaultMessagesManager.setDefaultLocale(String)
          since 4.0 - not used and should not be. Use setLocale() on the SystemContext instead. --note: do not remove the method, make it private. applicationLocale field is still needed. --and/or remove duplication with SystemContext.locale 
info.magnolia.cms.security.User.setEnabled(boolean)
          since 4.5, use UserManager.setProperty(User, String, Value) instead 
info.magnolia.cms.security.MgnlUser.setEnabled(boolean)
          since 4.5, use UserManager.setProperty(User, String, String) instead 
info.magnolia.cms.beans.runtime.Document.setExtention(String)
          since 4.1.1 typo in method name - use setExtension instead 
info.magnolia.content2bean.impl.Content2BeanProcessorImpl.setForceCreation(boolean)
          only used in tests 
info.magnolia.cms.util.FactoryUtil.setImplementation(Class, Class)
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see info.magnolia.objectfactory.DefaultComponentProvider#setImplementation(Class, Class) 
info.magnolia.cms.util.FactoryUtil.setImplementation(Class, String)
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see DefaultComponentProvider.setImplementation(Class, String) 
info.magnolia.cms.util.FactoryUtil.setInstance(Class, Object)
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see DefaultComponentProvider.setInstance(Class, Object) 
info.magnolia.cms.util.FactoryUtil.setInstanceFactory(Class, FactoryUtil.InstanceFactory)
          since 4.3 - For tests, use info.magnolia.test.ComponentsTestUtil, otherwise see DefaultComponentProvider.setInstanceFactory(Class, info.magnolia.objectfactory.ComponentFactory) 
info.magnolia.cms.security.MgnlUser.setLastAccess()
          since 4.5, use UserManager.updateLastAccessTimestamp(User) instead 
info.magnolia.context.SystemContext.setLocale(Locale)
          since 4.0 - this method should not be exposed on SystemContext. 
info.magnolia.context.AbstractSystemContext.setLocale(Locale)
          since 4.0 - this shouldn't be exposed in the SystemContext interface. Prevent calls by throwing an UnsupportedOperationException. 
info.magnolia.cms.core.SystemProperty.setMagnoliaConfigurationProperties(MagnoliaConfigurationProperties)
          since 4.5 - this is only here to allow tests to work until their tested classes are all converted. 
info.magnolia.cms.security.MgnlUserManager.setName(String)
          since 4.5 use realmName instead 
info.magnolia.cms.security.auth.Entity.setName(String)
          not used - use addProperty(Entity.NAME) 
info.magnolia.content2bean.Content2BeanUtil.setNodeDatas(Content, Map)
          since 4.5 - TODO - only used locally - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.setNodeDatas(Content, Object)
          since 4.5 - unused - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.setNodeDatas(Content, Object, String[])
          since 4.5 - unused - use Content2Bean 
info.magnolia.cms.security.MgnlUserManager.setPasswordProperty(Content, String)
          since 4.5 use MgnlUserManager.setPasswordProperty(Node, String) instead 
info.magnolia.cms.security.MgnlUser.setPath(String)
           
info.magnolia.content2bean.Content2BeanUtil.setProperties(Object, Content)
          since 4.5 - unused - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.setProperties(Object, Content, boolean)
          since 4.5 - TODO - only used locally and by ModuleManagerImpl and TreeHandlerManager 
info.magnolia.content2bean.Content2BeanUtil.setProperties(Object, Content, boolean, Class)
          since 4.5 - TODO - only used locally - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.setProperties(Object, Content, boolean, Content2BeanTransformer)
          since 4.5 - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.setProperties(Object, Content, boolean, Content2BeanTransformer, ComponentProvider)
          since 4.5 - use Content2Bean 
info.magnolia.cms.core.SystemProperty.setProperty(String, String)
          since 4.5, use MagnoliaConfigurationProperties 
info.magnolia.cms.security.User.setProperty(String, String)
          since 4.5, use UserManager.setProperty(User, String, Value) instead 
info.magnolia.cms.security.MgnlUser.setProperty(String, String)
          since 4.5, use UserManager instead 
info.magnolia.content2bean.Content2BeanTransformer.setProperty(TransformationState, PropertyTypeDescriptor, Map)
          since 4.5, use Content2BeanTransformer.setProperty(TypeMapping, TransformationState, PropertyTypeDescriptor, java.util.Map) 
info.magnolia.cms.security.UserManager.setProperty(User, String, Value)
          since 4.5.7 - use UserManager.setProperty(User, String, String) 
info.magnolia.cms.exchange.ActivationManager.setSubscribers(Collection)
          means of setting the subscribers are implementation detail and should not be exposed 
info.magnolia.cms.util.ContentWrapper.setWrappedContent(Content)
          since 4.3 - use ContentWrapper.ContentWrapper(info.magnolia.cms.core.Content) instead. 
info.magnolia.cms.beans.config.ContentRepository.shutdown()
          since 4.5 - use RepositoryManager.shutdown() directly. 
info.magnolia.cms.servlets.MgnlServletContextListener.startServer(ServletContext)
          since 4.5, use MagnoliaServletContextListener.startServer(), dependencies are injected. 
info.magnolia.cms.util.ConfigUtil.string2DOM(String)
          since 4.0 - not used 
info.magnolia.cms.util.ConfigUtil.string2JDOM(String, Map)
          since 4.0 - not used 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content)
          since 4.5 - only used in tests - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content, boolean)
          since 4.5- only used in DelegateVoter - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content, boolean, Class)
          since 4.5 - TODO used in FilterManagerImpl, ParagraphManager and TemplateManager - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content, boolean, ComponentProvider)
          since 4.5- only used in DelegateVoter - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content, boolean, Content2BeanTransformer)
          since 4.5 use Content2Bean TODO -- this method has a bunch of usage points 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content, boolean, Content2BeanTransformer, ComponentProvider)
          since 4.5 use Content2Bean TODO -- this method has a bunch of usage points 
info.magnolia.content2bean.Content2BeanUtil.toBean(Content, Class)
          since 4.5 - only used in tests - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toMap(Content)
          since 4.5 - not used - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toMap(Content, boolean)
          since 4.5 - only used in info.magnolia.setup.for3_5.UpdateI18nConfiguration - use Content2Bean 
info.magnolia.content2bean.Content2BeanUtil.toMap(Content, boolean, Class)
          since 4.5 - TODO only used in DefaultMessagesManager - use Content2Bean 
info.magnolia.importexport.PropertiesImportExport.toProperties(HierarchyManager)
          since 4.3 This method is deprecated, it returns results in a format that does not match the format that the import method uses (doesn't include @uuid or @type properties) It is kept here to support existing test and applications that might break as a result of these changes (i.e. unit tests that are expecting a specific number of properties returned, etc) For new applications use the contentToProperties methods instead. 
info.magnolia.content2bean.Content2BeanUtil.toPureMaps(Content, boolean)
          since 4.5 - TODO only used in info.magnolia.setup.for3_5.CheckAndUpdateExistingFilters - use Content2Bean 
info.magnolia.cms.beans.config.ConfigLoader.unload(ServletContext)
          since 4.5, use ConfigLoader.unload(), dependencies are injected. 
info.magnolia.cms.security.MgnlUserManager.userInstance(Content)
          since 4.3.1 - use MgnlUserManager.newUserInstance(javax.jcr.Node) 
info.magnolia.module.delta.WorkspaceXmlConditionsUtil.workspaceHasOldIndexer()
          since 4.5 - use WorkspaceXmlConditionsUtil.textFilterClassesAreNotSet() instead. 
 

Deprecated Constructors
info.magnolia.cms.util.ContentWrapper()
          since 4.3 - use ContentWrapper.ContentWrapper(info.magnolia.cms.core.Content) instead. 
info.magnolia.cms.util.CustomServletConfig(String, ServletContext)
          not used 
info.magnolia.cms.security.ExternalUser(Subject)
          since 4.5 use ExternalUser(java.util.Map, info.magnolia.cms.security.auth.GroupList, info.magnolia.cms.security.auth.RoleList) instead 
info.magnolia.jcr.iterator.FilteringNodeIterator(NodeIterator, AbstractPredicate, NodeWrapperFactory)
          since 4.5.9 use FilteringNodeIterator.FilteringNodeIterator(NodeIterator, AbstractPredicate, ContentDecorator) instead. 
info.magnolia.jcr.iterator.FilteringPropertyIterator(PropertyIterator, AbstractPredicate, PropertyWrapperFactory)
          since 4.5.9 use FilteringPropertyIterator.FilteringPropertyIterator(PropertyIterator, AbstractPredicate, ContentDecorator) instead 
info.magnolia.freemarker.FreemarkerHelper()
          since 4.5, use IoC, i.e use FreemarkerHelper.FreemarkerHelper(FreemarkerConfig) 
info.magnolia.cms.core.MetaData(Node, AccessManager)
          since 4.5 use MetaData(Node) instead. 
info.magnolia.importexport.filters.MetadataUuidFilter(XMLReader)
          since 4.2.2 (MAGNOLIA-2960) 
info.magnolia.module.ModuleManagerImpl()
          since 4.5 - use IoC - temporarily kept for tests ? 
info.magnolia.module.ModuleManagerImpl(InstallContextImpl, ModuleDefinitionReader)
          since 4.5 - use IoC - temporarily kept for tests ? 
info.magnolia.jcr.iterator.WrappingNodeIterator(NodeIterator, NodeWrapperFactory)
          since 4.5.9 use WrappingNodeIterator.WrappingNodeIterator(NodeIterator, ContentDecorator) 
info.magnolia.jcr.iterator.WrappingPropertyIterator(PropertyIterator, PropertyWrapperFactory)
          since 4.5.9 use WrappingPropertyIterator.WrappingPropertyIterator(PropertyIterator, ContentDecorator) instead 
 



Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.