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.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.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.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.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.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.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.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)
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.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, Value) 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.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. |