Deprecated Classes |
info.magnolia.cms.util.AbstractContentComparator
since 4.2 - now irrelevant since using generics, implement Comparator instead of extending this. |
info.magnolia.module.templating.AbstractRenderable
since 4.5, use ConfiguredRenderableDefinition instead. |
info.magnolia.module.templating.AbstractRenderer
since 4.5, replaced by AbstractRenderer
FIXME remove most of the code and and try to extend the new AbstractRenderer |
info.magnolia.jaas.principal.ACLImpl
since 4.5 use ACLImpl instead |
info.magnolia.module.workflow.commands.flow.ActivationFlowCommand
since 3.0 - please use info.magnolia.module.workflow.commands.ActivationFlowCommand instead. |
info.magnolia.module.delta.AddUserToRoleTask
since 4.3.7, use AddRoleToUserTask . |
info.magnolia.cms.filters.BackwardCompatibilityFilter
since 4.3 |
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 HttpClientCallback s, 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.cms.taglibs.util.Date
see cms:out. |
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.module.templating.engine.DefaultRenderingEngine
since 4.5, replaced by DefaultRenderingEngine |
info.magnolia.content2bean.impl.DescriptorFileBasedTypeMapping
since 4.5, unused. Custom Transformer should be enough. |
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.jaas.principal.EntityImpl
|
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.taglibs.util.FileSrc
see cms:out. |
info.magnolia.cms.core.ItemType
since 4.5 - use MgnlNodeType }. |
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.cms.cache.MockCacheRequest
unused (deprecated since 3.6) |
info.magnolia.freemarker.ModeDependentTemplateExceptionHandler
since 4.5 - Replaced by info.magnolia.rendering.engine.ModeDependentRenderExceptionHandler.ModeDependentRenderExceptionHandler(
ServerConfiguration) that can be set on the RenderingEngine . |
info.magnolia.module.templating.ModelExecutionFilter
since 4.5, replaced by ModelExecutionFilter |
info.magnolia.module.ModuleManager.Factory
since 4.5, use IoC. |
info.magnolia.module.ModuleRegistry.Factory
since 4.5, use IoC ! |
info.magnolia.cms.cache.MultiplexServletOutputStream
since 3.6 - use TeeOutputStream from commons-io along with SimpleServletOutputStream |
info.magnolia.module.templating.Paragraph
since 4.5, the differentiation of paragraphs and templates were removed. Use RenderableDefinition instead. |
info.magnolia.module.templating.ParagraphManager
since 4.5, use the TemplateDefinitionRegistry instead |
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.security.auth.callback.RealmCallback
|
info.magnolia.module.templating.RenderingFilter
since 4.5, replaced by RenderingFilter |
info.magnolia.module.templating.RenderingModelImpl
since 4.5, use RenderingModelImpl instead. |
info.magnolia.repository.RepositoryMapping
since 4.5 - use RepositoryDefinition instead. |
info.magnolia.repository.RepositoryNameMap
since 4.5 - use WorkspaceMappingDefinition instead.
$Id: RepositoryNameMap.java 50645 2011-11-02 07:52:22Z dlipp $ |
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.Resource
since 4.0 - use Resource if you really have to, but it is deprecated and will eventually be dropped. |
info.magnolia.cms.taglibs.Resource
since 4.0 - should not be used. AggregationState should be usable as a replacement in most cases. |
info.magnolia.cms.util.RuleBasedContentFilter
since 4.5 use RuleBasedNodePredicate instead |
info.magnolia.cms.taglibs.SetNode.NodeMapWrapper
use info.magnolia.cms.util.NodeMapWrapper instead |
info.magnolia.cms.taglibs.util.SimpleMailTag
since 4.0 |
info.magnolia.cms.core.SystemProperty
since 4.5, use MagnoliaConfigurationProperties |
info.magnolia.module.templating.Template
since 4.5, the differentiation of paragraphs and templates were removed. Use RenderableDefinition instead. |
info.magnolia.module.templating.TemplateManager
since 4.5, use the TemplateDefinitionRegistry instead |
info.magnolia.cms.i18n.TemplateMessagesUtil
officially since 4.0 - informally since 3.0 |
info.magnolia.module.templating.TemplatingModule
since 4.5, replaced by info.magnolia.rendering.module.TemplatingModule |
info.magnolia.content2bean.TypeMapping.Factory
since 4.5, use IoC. |
info.magnolia.voting.Voting.Factory
since 4.4, use one of the constants |
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.gui.control.Tree.addItemType(String)
pass the icon to use as a second parameter |
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.gui.dialog.DialogControlImpl.clearWebsiteNode()
websitenode should only be set in init(), this is a workaround used in DialogDate |
info.magnolia.templating.freemarker.AbstractDirective.content(Map, String, Content)
|
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 BaseVersionManager.createVersion(Node, Rule) instead |
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.gui.inline.ButtonEdit.drawHtml(JspWriter)
use drawHtml(Writer out) instead. |
info.magnolia.cms.gui.inline.BarNew.drawHtml(JspWriter)
use drawHtml(Writer out) instead. |
info.magnolia.cms.gui.inline.BarMain.drawHtml(JspWriter)
use drawHtml(Writer out) instead. |
info.magnolia.cms.gui.inline.BarEdit.drawHtml(JspWriter)
use drawHtml(Writer out) instead. |
info.magnolia.cms.gui.inline.BarMain.drawHtmlLinks(JspWriter)
use drawHtmlLinks(Writer out) instead. |
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.taglibs.util.SimpleSearchTag.generateComplexXPathQuery()
as from 3.5.5, this query is deemed to complex and not properly working, since it
forces a search on non-indexed word. The better generateSimpleQuery() method is recommended. |
info.magnolia.cms.i18n.MessagesUtil.generateJavaScript(Messages)
since 4.0, use generateJavaScript(Writer out, Messages messages) instead. |
info.magnolia.cms.taglibs.util.SimpleSearchTag.generateXPathQuery()
as from 3.5.5, this query is deemed to complex and not properly working, since it
forces a search on non-indexed word. The better generateSimpleQuery() method is recommened. |
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.taglibs.Resource.getActivePage()
use AggregationState |
info.magnolia.cms.beans.config.ContentRepository.getAllRepositoryNames()
since 4.5 - use RepositoryManager.getWorkspaceNames() directly. |
info.magnolia.module.mail.util.MailUtil.getAllUserNodes()
use getAllUserNodes(UserManager manager) instead |
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.templating.editor.client.dom.MgnlElement.getComment()
|
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.module.admininterface.DialogHandlerManager.getDialogConfigNode(String)
since 4.3.2, is obsolete since fix for MAGNOLIA-2907 |
info.magnolia.cms.taglibs.BaseContentTag.getFirtMatchingNode()
Use BaseContentTag.getFirstMatchingNode() 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.module.admininterface.AdminInterfaceModule.getInstance()
since 4.5, use IoC ! |
info.magnolia.module.mail.MailModule.getInstance()
since 4.5, use IoC ! |
info.magnolia.module.cache.CacheModule.getInstance()
since 4.5, use IoC/CDI |
info.magnolia.module.cache.mbean.CacheMonitor.getInstance()
since 4.5, use IoC instead |
info.magnolia.module.workflow.WorkflowModule.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.module.cache.executor.Store.getModule()
since 4.5, use IoC/CDI |
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.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.taglibs.Resource.getPostedForm()
since 4.0 - use WebContext.getPostedForm() |
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.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.cache.MockCacheRequest.getRealPath(String)
|
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.taglibs.Resource.getSelector()
since 4.0 - use SelectorUtil.getSelector() |
info.magnolia.cms.taglibs.Resource.getSelector(int)
since 4.0 - use SelectorUtil.getSelector() |
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.module.templating.AbstractRenderable.getTemplatePath()
since 4.5 - use AbstractRenderable.getTemplateScript() instead |
info.magnolia.module.templating.AbstractRenderable.getType()
since 4.5 - use AbstractRenderable.getRenderType() instead |
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.module.exchangesimple.ReceiveFilter.getUser(HttpServletRequest)
since 4.5. This method is not used anymore and there is no replacement. Authentication of activation is now handled by exchange of info encrypted by PPKey. |
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.gui.dialog.DialogControlImpl.getWebsiteNode()
use getStorageNode() |
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.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.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.cache.MockCacheRequest.isRequestedSessionIdFromUrl()
|
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.logging.AuditLoggingUtil.log(String, String, ItemType, String)
since 4.5, use AuditLoggingUtil.log(String, String, NodeType, String) instead. |
info.magnolia.templating.freemarker.AbstractDirective.mandatoryContent(Map, String)
|
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.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.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.module.admininterface.PageHandlerManager.registerPageDefinition(String, PageHandlerManager.PageDefinition)
|
info.magnolia.cms.beans.config.ContentRepository.reload()
since 4.5 - use RepositoryManager.reload() directly. |
info.magnolia.cms.taglibs.Resource.removeGlobalContentNode()
not used |
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.jaas.principal.PrincipalCollectionImpl.set(Collection)
since 4.5 |
info.magnolia.cms.core.ContentHandler.setAccessManager(AccessManager)
use setHierarchyManager instead |
info.magnolia.cms.taglibs.BaseContentTag.setActpage(boolean)
|
info.magnolia.cms.taglibs.util.Date.setActpage(boolean)
|
info.magnolia.cms.taglibs.IfEmpty.setAtomName(String)
|
info.magnolia.cms.taglibs.util.FileSrc.setAtomName(String)
|
info.magnolia.cms.taglibs.util.Date.setAtomName(String)
|
info.magnolia.cms.taglibs.util.AHref.setAtomName(String)
use the nodeDataName attribute instead. |
info.magnolia.cms.gui.inline.BarEdit.setButtonDelete()
use BarEdit.setButtonDelete(String) |
info.magnolia.cms.gui.inline.BarEdit.setButtonDelete(String, String, String)
use BarEdit.setButtonDelete(String) |
info.magnolia.cms.taglibs.Set.setContainer(Content)
use the contentNode attribute |
info.magnolia.cms.taglibs.Include.setContainer(Content)
use the contentNode attribute instead |
info.magnolia.cms.taglibs.IfEmpty.setContainerListName(String)
use the contentNodeCollectionName attribute instead. |
info.magnolia.cms.taglibs.Set.setContainerName(String)
use the contentNodeName attribute |
info.magnolia.cms.taglibs.IfEmpty.setContainerName(String)
use the contentNodeName attribute instead. |
info.magnolia.cms.taglibs.util.FileSrc.setContainerName(String)
|
info.magnolia.cms.taglibs.SetNode.setContent(Content)
use the contentNode attribute |
info.magnolia.cms.taglibs.util.FileSrc.setContentNodeName(String)
|
info.magnolia.cms.taglibs.Resource.setCurrentActivePage(Content)
since 4.0 - use AggregationState. |
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.gui.inline.ButtonEdit.setDefaultOnclick(HttpServletRequest)
since 4.0 - do not pass an HttpServletRequest |
info.magnolia.cms.taglibs.EditButton.setEditLabel(String)
use the label attribute instead. |
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, Value) instead |
info.magnolia.cms.beans.runtime.Document.setExtention(String)
since 4.1.1 typo in method name - use setExtension instead |
info.magnolia.cms.taglibs.util.FileSrc.setFileNameOnly(String)
|
info.magnolia.content2bean.impl.Content2BeanProcessorImpl.setForceCreation(boolean)
only used in tests |
info.magnolia.cms.gui.control.Tree.setIcon(String, String)
since 4.4 use Tree.addIcon(String, String) instead. |
info.magnolia.cms.gui.control.Tree.setIconContentNode(String)
since 4.4, use addIcon(ItemType.CONTENTNODE.getSystemName(), src) instead |
info.magnolia.cms.gui.control.Tree.setIconNodeData(String)
since 4.4, use addIcon(ItemType.MGNL_NODE_DATA, src) instead |
info.magnolia.cms.gui.control.Tree.setIconPage(String)
since 4.4, use addIcon(ItemType.CONTENT.getSystemName(), src) instead |
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.taglibs.util.Date.setLanguage(String)
|
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.jaas.principal.EntityImpl.setName(String)
use addProperty(NAME, name) |
info.magnolia.cms.taglibs.util.FileSrc.setNodeDataName(String)
|
info.magnolia.cms.taglibs.util.Date.setNodeDataName(String)
|
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.taglibs.MainBar.setParagraph(String)
use the dialog attribute instead |
info.magnolia.cms.taglibs.EditButton.setParagraph(String)
since 4.1, use the setDialog() instead. |
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.cms.taglibs.Include.setPath(String)
file to be included (e.g. "/templates/jsp/x.jsp").
Just use basic jsp tags (i.e. ) if you need to include a jsp in your templates. |
info.magnolia.cms.taglibs.util.Date.setPattern(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.gui.control.ControlImpl.setRequest(HttpServletRequest)
|
info.magnolia.cms.taglibs.Resource.setShowPreview(boolean)
use AggregationState |
info.magnolia.cms.exchange.ActivationManager.setSubscribers(Collection)
means of setting the subscribers are implementation detail and should not be exposed |
info.magnolia.cms.taglibs.util.SimpleSearchTag.setSupportSubstringSearch(boolean)
not used when useSimpleJcrQuery is set to true. |
info.magnolia.module.templating.AbstractRenderable.setTemplatePath(String)
since 4.5 - use AbstractRenderable.setTemplateScript(String) instead |
info.magnolia.module.templating.AbstractRenderable.setType(String)
since 4.5 - use AbstractRenderable.setRenderType(String) instead |
info.magnolia.cms.util.ContentWrapper.setWrappedContent(Content)
since 4.3 - use ContentWrapper.ContentWrapper(info.magnolia.cms.core.Content) instead. |
info.magnolia.cms.taglibs.Resource.showPreview()
use AggregationState.isPreviewMode |
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. |