Deprecated API


Contents
Deprecated Interfaces
lumis.portal.authentication.ILoginValidator
          to customize credential validation you must create a new JAAS login module or extend the LumisLoginModule 
 

Deprecated Classes
lumis.portal.event.BaseNotificationConfig
          Since 4.1.0, replaced by IPortalEventObserver and its implementations, such as AbstractPortalEvent and AbstractTransactionalPortalEvent. 
lumis.content.service.DetailsUtil
          This class will be removed in the future. 
lumis.portal.PortalContext.RelativePath
          Since 4.1.0, replaced by PortalFilePath. 
lumis.portal.PortalTransactionFactory
          Since 4.0.8 moved to lumis.portal.transaction package. Use PortalTransactionFactory instead. 
lumis.portal.servicecontainer.ServiceContainerUrl
          This class will be removed in a future release. Use IServiceInterfaceUrl instead. 
lumis.service.portalmanagement.service.ServiceSource
           
lumis.content.workflow.WorkflowControllerXml
          No longer used. 
 

Deprecated Enums
lumis.portal.PortalContext.RelativePathType
          Since 4.1.0, replaced by PortalBaseFolder. 
 

Deprecated Fields
lumis.portal.event.BaseNotificationConfig.NOTIFICATION_PARAMETER_LOCALEID
          Since 4.1.0, not used anymore. 
lumis.doui.table.QueryBuilder.sourceNode
          this attribute should not exist in the future. 
 

Deprecated Methods
lumis.doui.control.DataBoundControl.autoAddDateTimeValueValidator()
          may be removed in the future 
lumis.doui.control.DataBoundControl.autoAddDoubleValueValidator()
          may be removed in the future. 
lumis.doui.control.DataBoundControl.autoAddFileSizeValidator()
          may be removed in the future 
lumis.doui.control.DataBoundControl.autoAddIntegerValueValidator()
          may be removed in the future. 
lumis.doui.control.DataBoundControl.autoAddLengthValidator()
          may be removed in the future 
lumis.doui.control.DataBoundControl.autoAddLongValueValidator()
          may be removed in the future. 
lumis.doui.control.DataBoundControl.autoAddRequiredValueValidator()
          may be removed in the future 
lumis.portal.page.cache.PageCacheManager.clearCacheByPagesIds(SessionConfig, Collection, Parameters, int, boolean, ITransaction)
           
lumis.portal.page.cache.IPageCacheManager.clearCacheByPagesIds(SessionConfig, Collection, Parameters, int, boolean, ITransaction)
          Since 4.1.0 replaced by #clearCacheByPagesIds(SessionConfig,Collection,Parameters,Locale,int,boolean,ITransaction). 
lumis.portal.page.cache.PageCacheManager.clearCacheByPagesIds(SessionConfig, Collection, Parameters, int, ITransaction)
           
lumis.portal.page.cache.IPageCacheManager.clearCacheByPagesIds(SessionConfig, Collection, Parameters, int, ITransaction)
          Since 4.0.11 replaced by #clearCacheByPagesIds(SessionConfig,Collection,Parameters,int,boolean,ITransaction). 
lumis.portal.page.cache.PageCacheManager.clearCacheByServiceInterfaceInstances(SessionConfig, Collection, Parameters, int, ITransaction)
           
lumis.portal.page.cache.IPageCacheManager.clearCacheByServiceInterfaceInstances(SessionConfig, Collection, Parameters, int, ITransaction)
          Since 4.1.0 removed without replacement. Consider using IPageCacheManager.clearCacheByPagesIds(SessionConfig, Collection, Parameters, Locale, int, boolean, ITransaction) instead. 
lumis.portal.page.cache.PageCacheManager.clearCacheByServiceInterfaceInstancesIds(SessionConfig, Collection, Parameters, int, ITransaction)
           
lumis.portal.page.cache.IPageCacheManager.clearCacheByServiceInterfaceInstancesIds(SessionConfig, Collection, Parameters, int, ITransaction)
          Since 4.0.11 removed without replacement. Consider using IPageCacheManager.clearCacheByPagesIds(SessionConfig, Collection, Parameters, Locale, int, boolean, ITransaction) instead. 
lumis.portal.controller.ControllerHtml.deleteCookie(String)
          Since 4.0.7, use CookieUtil.deleteCookie(HttpServletRequest, HttpServletResponse, String) instead. 
lumis.portal.controller.ControllerHtml.getCookie(String)
          Since 4.0.7, use CookieUtil.getCookie(HttpServletRequest, String) instead. 
lumis.doui.source.Source.getDefinitionNode()
          This method may not be public in the future. 
lumis.doui.source.field.ISourceField.getDefinitionNode()
          hopefully this should not be used. 
lumis.content.workflow.WorkflowConfig.getDefinitionXmlNode()
          Since 4.0.11, this method is no longer used and may be removed in the future. 
lumis.portal.serialization.ISerializationManager2.getExternalDependenciesSerializationSettings()
           
lumis.doui.source.TabularSource.getFieldId(String)
          This method may be removed in the future, because it is public and references field xml definition. 
lumis.doui.source.TabularSource.getFieldIds(String)
          This method may be removed in the future, because it is public and references field xml definition. 
lumis.util.TextUtil.getFileWriter(String, boolean)
          Since 4.0.9 because this method uses the system default charset encoding. 
lumis.collaboration.chat.IChatManager.getLatestMessages(SessionConfig, String, String, int, boolean, Date, ITransaction)
          Since 4.0.11 this method was replaced by IChatManager.getLatestMessages(SessionConfig, String, String, int, int, boolean, Date, ITransaction). 
lumis.collaboration.chat.ChatManager.getLatestMessages(SessionConfig, String, String, int, boolean, Date, ITransaction)
           
lumis.portal.manager.ManagerFactory.getLogger()
          Use LoggerFactory to obtain a logger instead of calling this method. 
lumis.upgrade.IUpgradeManager.getNextBuild(String, String, String, ITransaction)
          this method may change during a future refactor. 
lumis.portal.servicecontainer.ServiceContainerActionResponse.getRenderParameter(String)
           
lumis.portal.serviceinterface.IServiceInterfaceActionResponse.getRenderParameter(String)
          This method may be removed in the future. If the render parameter set needs to be read, consider storing it somewhere else, for example, as a request attribute. For better backwards compatibility in the doui framework, if the argument is "itemId" and no such render parameter exists, it is also searched in the request attributes. 
lumis.portal.servicecontainer.ServiceContainerActionResponse.getRenderParameters()
           
lumis.portal.serviceinterface.IServiceInterfaceActionResponse.getRenderParameters()
          This method may be removed in the future. If the render parameter set needs to be read, consider storing it somewhere else, for example, as a request attribute. For better backwards compatibility in the doui framework, if no "itemId" render parameter exists, it is also searched in the request attributes. 
lumis.doui.source.TabularSource.getSortedFieldIds(String)
          This method may be removed in the future, because it is public and references field xml definition. 
lumis.doui.control.DataBoundControl.getUnboundedConverter()
          Since 4.0.10, this method is not used anymore. For best backward compatibility, this implementation delegates to dataType's IDouiDataType.getConverter(). 
lumis.portal.servicecontainer.ServiceContainerUrl.getUrl()
          Since 4.0.7 this method was replaced by ServiceContainerUrl.toString() method, so this interface uses the same method as specified in the PortletURL interface. 
lumis.portal.serviceinterface.IServiceInterfaceUrl.getUrl()
          Since 4.0.7 this method was replaced by IServiceInterfaceUrl.toString() method, so this interface uses the same method as specified in the PortletURL interface. 
lumis.portal.user.UserManager.getUserId(SessionConfig, String, ITransaction)
           
lumis.portal.user.IUserManager.getUserId(SessionConfig, String, ITransaction)
          Since 4.0.10, replaced by IUserManager.getUserIdByLogin(SessionConfig, String, ITransaction). 
lumis.portal.authentication.IAuthenticationManager.getUserIdBySessionId(SessionConfig, ITransaction)
          Since 4.0.8, this method was replaced by SessionConfig.getUserId(). 
lumis.portal.authentication.AuthenticationManager.getUserIdBySessionId(SessionConfig, ITransaction)
           
lumis.portal.PortalContext.getWebInfPath(String)
          Data is not stored in WEB-INF anymore, so this method should not be used. Instead use PortalContext.getDefinitionPath(String), PortalContext.getConfigPath(String), or PortalContext.getDataPath(String). 
lumis.portal.hyperlink.IHyperLinkManager.getXmlString(SessionConfig, Node, String, String, String, ITransaction)
          This method may be removed in the future. 
lumis.portal.hyperlink.HyperLinkManager.getXmlString(SessionConfig, Node, String, String, String, ITransaction)
           
lumis.doui.source.TabularSource.hasField(String)
          This method may be removed in the future, because it is public and references field xml definition. 
lumis.portal.channel.ChannelConfig.isInheritProtocol()
          since 4.0.11. This property is acquired via the ChannelConfig.getProtocol() method. 
lumis.portal.controller.ControllerXml.loadUserInfo(Document, ITransaction)
          Since 4.0.7 this method does nothing. ControllerXml.sessionConfig is now initialized in the constructor. 
lumis.portal.authentication.IAuthenticationManager.loginFramworkClockUser(ITransaction)
          Since 4.0.8, instead of calling this method generate a impersonated SessionConfig by calling IAuthenticationManager.impersonate(String) using UserConfig.USER_FRAMEWORKCLOCK_ID as parameter. 
lumis.portal.authentication.AuthenticationManager.loginFramworkClockUser(ITransaction)
           
lumis.portal.authentication.IAuthenticationManager.loginUser(String, String, ITransaction)
          Since 4.0.8, this method has been replaced by IAuthenticationManager.login(String, String, ITransaction). 
lumis.portal.authentication.AuthenticationManager.loginUser(String, String, ITransaction)
           
lumis.portal.authentication.IAuthenticationManager.loginUserGuest()
          Since 4.0.8, instead of calling this method generate a impersonated SessionConfig by calling IAuthenticationManager.impersonate(String) using UserConfig.USER_GUEST_ID as parameter. 
lumis.portal.authentication.AuthenticationManager.loginUserGuest()
           
lumis.portlet.container.manager.PortletManager.main(String[])
          This method is a way to process a JSR-168 WAR file, but it is not defined if it will exist permanently or not. 
lumis.portal.event.PortalEventManager.notifyObservers(Object)
           
lumis.portal.event.IPortalEventManager.notifyObservers(Object)
          Since 4.1.0, replaced by IPortalEventManager.notifyObservers(IPortalEvent). 
lumis.util.TextUtil.readFile(String)
          This method uses the system default encoding, which if diferent from the file's encoding may cause data corruption. Instead of using this method use TextUtil.readFile(String, String) specifying the correct encoding. 
lumis.upgrade.IUpgradeManager.setBuildStatus(SessionConfig, BuildConfig, String, String, ITransaction)
          this method may change during a future refactor. 
lumis.portal.controller.ControllerHtml.setCookie(String, String)
          Since 4.0.7, use CookieUtil.setCookie(HttpServletRequest, HttpServletResponse, String, String) instead. 
lumis.portal.channel.ChannelConfig.setInheritProtocol(boolean)
          since 4.0.11. This property is set via the #setProtocol() method. 
lumis.doui.table.TableAddMultiRowDataProcessActionHandler.setPrimaryKeyRenderParameter(String)
           
lumis.doui.table.TableAddDataProcessActionHandler.setPrimaryKeyRenderParameter(String)
          Since 4.0.10 the primary key is no longer stored as a render parameter. This method was replaced by TableAddDataProcessActionHandler.setPrimaryKeyAttribute(String). For backward compatibility, this method calls TableAddDataProcessActionHandler.setPrimaryKeyAttribute(String). 
lumis.portal.authentication.SessionConfig.setUserSessionId(String)
          Since 4.0.8, you should obtain the session config instance already constructed from SessionConfig.getCurrentSessionConfig() or a method in IAuthenticationManager and there is no need to set the userSessionId. 
lumis.util.TextUtil.writeFile(String, String, boolean)
          Since 4.0.8, use TextUtil.writeFile(String, String, String, boolean) because this method uses the system default charset encoding. 
 

Deprecated Constructors
lumis.doui.source.field.type.FileDataType.Data(FileConfig)
          Since 4.0.8 replaced by #Data(FileConfig, String) so icon value is also set. 
lumis.portal.authentication.SessionConfig()
          Since 4.0.8, the SessionConfig should not be created using this constructor. Instead obtain it by calling SessionConfig.getCurrentSessionConfig() or the methods available in IAuthenticationManager. 
 



Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.