Deprecated Methods |
info.magnolia.cms.gui.control.Tree.addItemType(String)
pass the icon to use as a second parameter |
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.util.WebXmlUtil.areFilterDispatchersConfiguredProperly(String, List, List)
since 3.6.4, use checkFilterDispatchersConfiguration() |
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.cms.link.LinkHelper.convertAbsolutePathToUUID(String)
use LinkFactory.parseLink(String) .getUUID() instead |
info.magnolia.cms.util.LinkUtil.convertUUIDsToAbsoluteLinks(String, boolean)
use info.magnolia.link.LinkUtil#convertToAbsoluteLinks(String, boolean) instead |
info.magnolia.cms.util.LinkUtil.convertUUIDsToBrowserLinks(String, String)
use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead using BrowserLinkTransformer |
info.magnolia.cms.util.LinkUtil.convertUUIDsToEditorLinks(String)
use info.magnolia.link.LinkUtil#convertToEditorLinks(String, String) instead |
info.magnolia.cms.util.LinkUtil.convertUUIDsToLinks(String, LinkTransformer)
use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead |
info.magnolia.cms.util.LinkUtil.convertUUIDsToRelativeLinks(String, String)
use info.magnolia.link.LinkUtil#convertToRelativeLinks(String, String) instead |
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.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.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.search.QueryResultImpl.getAccessManager()
|
info.magnolia.cms.core.version.ContentVersion.getAccessManager()
use getHierarchyManager instead |
info.magnolia.cms.taglibs.Resource.getActivePage()
use AggregationState |
info.magnolia.module.templating.AbstractRenderer.getAggrigationStateSafely()
since 4.3 - typo, use getAggregationStateSafely() |
info.magnolia.module.mail.util.MailUtil.getAllUserNodes()
use getAllUserNodes(UserManager manager) instead |
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.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.module.templating.Paragraph.getDialogPath(String)
since 4.0 use the dialog property |
info.magnolia.cms.taglibs.BaseContentTag.getFirtMatchingNode()
Use BaseContentTag.getFirstMatchingNode() instead |
info.magnolia.cms.util.FactoryUtil.getImplementation(Class)
since 4.3 - use info.magnolia.objectfactory.Components#getComponentProvider()#getImplementation(Class) |
info.magnolia.module.templating.TemplateManager.getInfo(String)
since 4.0 Use TemplateManager.getTemplateDefinition(String) instead |
info.magnolia.module.templating.ParagraphManager.getInfo(String)
since 4.0 Use ParagraphManager.getParagraphDefinition(String) instead |
info.magnolia.freemarker.FreemarkerConfig.getInstance()
since 4.3 should not be needed - components using this can keep their instance |
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 - 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.HierarchyManager.getPage(String, String)
since 4.0 - only used by taglibs - should go/move. |
info.magnolia.cms.core.DefaultHierarchyManager.getPage(String, String)
since 4.0 - only used by taglibs - should go/move. |
info.magnolia.cms.util.HierarchyManagerWrapper.getPage(String, String)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
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.module.templating.Template.getPath()
since 4.0. use getTemplatePath() instead |
info.magnolia.cms.taglibs.Resource.getPostedForm()
since 4.0 - use WebContext.getPostedForm() |
info.magnolia.cms.core.MetaData.getProperties()
since 4.0 - not used. |
info.magnolia.cms.core.SystemProperty.getPropertyList()
since 3.0 - use getProperties() instead |
info.magnolia.cms.cache.MockCacheRequest.getRealPath(String)
|
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.module.ModuleVersionHandler.getStartupDelta(InstallContext)
It seems irrelevant to have startup tasks in a VersionHandler. These should probably be moved to ModuleLifecycle. |
info.magnolia.module.templating.Paragraph.getTemplateType()
since 4.0 use the type property |
info.magnolia.jackrabbit.ProviderImpl.getUnderlineRepository()
typo - use get #getUnderlyingRepository() - since 4.0 |
info.magnolia.repository.Provider.getUnderlineRepository()
typo - use get #getUnderlyingRepository() - since 4.0 |
info.magnolia.module.AbstractModuleVersionHandler.getUpdate(InstallContext)
since 4.2, renamed to getDefaultUpdate(InstallContext installContext) |
info.magnolia.cms.gui.dialog.DialogControlImpl.getWebsiteNode()
use getStorageNode() |
info.magnolia.freemarker.models.MagnoliaObjectWrapper.handleCalendar(Calendar)
since 4.3 use CalendarModel instead. |
info.magnolia.cms.core.MetaData.hasProperty(String)
since 4.0 - not used |
info.magnolia.importexport.DataTransporter.importProperties(Properties, String)
since 4.0 - use the PropertiesImportExport class instead. |
info.magnolia.cms.security.ContentSecurityFilter.isAuthorized(AccessManager)
since 4.3 when overriding this method, override isAllowed() instead |
info.magnolia.cms.core.HierarchyManager.isNodeType(String, ItemType)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
info.magnolia.cms.core.DefaultHierarchyManager.isNodeType(String, ItemType)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
info.magnolia.cms.util.HierarchyManagerWrapper.isNodeType(String, ItemType)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
info.magnolia.cms.core.HierarchyManager.isNodeType(String, String)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
info.magnolia.cms.core.DefaultHierarchyManager.isNodeType(String, String)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
info.magnolia.cms.util.HierarchyManagerWrapper.isNodeType(String, String)
since 4.0 - use getContent().isNodeType() instead. |
info.magnolia.cms.core.HierarchyManager.isPage(String)
since 4.0 - use getContent().isNodeType() instead. |
info.magnolia.cms.core.DefaultHierarchyManager.isPage(String)
since 4.0 - use getContent().isNodeType() instead. (not used currently) |
info.magnolia.cms.util.HierarchyManagerWrapper.isPage(String)
since 4.0 - use getContent().isNodeType() instead. |
info.magnolia.cms.cache.MockCacheRequest.isRequestedSessionIdFromUrl()
|
info.magnolia.cms.util.ClassUtil.isSubClass(Class>, Class>)
since 4.3, use parentClass.isAssignableFrom(subClass) |
info.magnolia.cms.util.LinkUtil.makeRelativePath(String, String)
use LinkUtil.makePathRelative(String, 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.admininterface.PageHandlerManager.registerPageDefinition(String, PageHandlerManager.PageDefinition)
|
info.magnolia.cms.taglibs.Resource.removeGlobalContentNode()
not used |
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.module.templating.TemplateRenderer.renderTemplate(Template, HttpServletRequest, HttpServletResponse)
since 4.0 |
info.magnolia.module.templating.renderers.AbstractTemplateRenderer.renderTemplate(Template, HttpServletRequest, HttpServletResponse)
since 4.0 |
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.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.module.templating.Paragraph.setDialogPath(String)
since 4.0 use the dialog property |
info.magnolia.cms.taglibs.EditButton.setEditLabel(String)
use the label attribute 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.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.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.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.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.module.templating.Template.setPath(String)
since 4.0 use AbstractRenderable.setTemplatePath(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.cms.gui.control.ControlImpl.setRequest(HttpServletRequest)
|
info.magnolia.cms.taglibs.Resource.setShowPreview(boolean)
use AggregationState |
info.magnolia.cms.taglibs.util.SimpleSearchTag.setSupportSubstringSearch(boolean)
not used when useSimpleJcrQuery is set to true. |
info.magnolia.cms.core.MetaData.setTemplateType(String)
since 4.0 - not used - template type is determined by template definition |
info.magnolia.module.templating.Paragraph.setTemplateType(String)
since 4.0 use the type property |
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.util.ConfigUtil.string2DOM(String)
since 4.0 - not used |
info.magnolia.cms.util.ConfigUtil.string2JDOM(String, Map)
since 4.0 - not used |
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.cms.security.MgnlUserManager.userInstance(Content)
since 4.3.1 - use MgnlUserManager.newUserInstance(info.magnolia.cms.core.Content) |