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 
lumis.content.metadata.IMetaDataManager
          Since 4.2.0, replaced by IContentManager. 
 

Deprecated Classes
lumis.portal.event.BaseNotificationConfig
          Since 4.1.0, replaced by IPortalEventObserver and its implementations, such as AbstractPortalEvent and AbstractTransactionalPortalEvent. 
lumis.content.metadata.CommentConfig
          since 4.2.0, replaced by the entities available in lumis.content.core. 
lumis.content.service.DetailsUtil
          This class will be removed in the future. 
lumis.content.metadata.MetaDataConfig
          since 4.2.0, replaced by the entities available in lumis.content.core. 
lumis.content.metadata.MetaDataController
          Since 4.2.0, replaced by ContentMetaDataController. 
lumis.content.metadata.MetaDataManager
          Since 4.2.0, replaced by IContentManager. 
lumis.content.source.filter.MetaDataSourceFilter
          Since 4.2.0, due to changes in content storage structure. 
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.util.security.acl.AccessControlList.checkPermission(Collection, IPermission)
          Since %LUM_NEXT_VERSION%, this method is no longer used and may be removed in the future. 
lumis.content.workflow.WorkflowManager.contentMayBePublished(SessionConfig, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.contentMayBePublished(SessionConfig, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.contentMayBePublished(SessionConfig, ContentLocale, ITransaction). 
lumis.util.XmlUtil.convertToUTFBytes(byte[])
          Since 4.2.0, this method is no longer used and may be removed in the future. 
lumis.content.workflow.WorkflowManager.createNewContentWorkflowMetaData(SessionConfig, String, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.createNewContentWorkflowMetaData(SessionConfig, String, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.createNewContentWorkflowMetaData(SessionConfig, ContentLocale, String, ITransaction). 
lumis.content.workflow.WorkflowManager.deleteContentWorkflowMetaData(SessionConfig, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.deleteContentWorkflowMetaData(SessionConfig, String, String, String, ITransaction)
          Since 4.2.0 replaced by IWorkflowManager.deleteContentWorkflowMetaData(SessionConfig, ContentLocale, ITransaction). 
lumis.portal.controller.ControllerHtml.deleteCookie(String)
          Since 4.0.7, use CookieUtil.deleteCookie(HttpServletRequest, HttpServletResponse, String) instead. 
lumis.content.workflow.WorkflowManager.executeAction(SessionConfig, String, String, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.executeAction(SessionConfig, String, String, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.executeAction(SessionConfig, ContentLocale, String, String, ITransaction). 
lumis.content.metadata.IMetaDataManager.get(SessionConfig, String, ITransaction)
           
lumis.content.workflow.WorkflowManager.getAccessibleTransitions(SessionConfig, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.getAccessibleTransitions(SessionConfig, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.getAccessibleTransitions(SessionConfig, ContentLocale, ITransaction) and IWorkflowManager.getAccessibleTransitions(SessionConfig, WorkflowStateConfig, String, boolean, ITransaction). 
lumis.content.metadata.IMetaDataManager.getByItemId(SessionConfig, String, boolean, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getByItemId(SessionConfig, String, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getByItemIdAndServiceId(SessionConfig, String, String, String, boolean, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getByItemIdAndServiceId(SessionConfig, String, String, String, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getByItemIdAndServiceInstanceId(SessionConfig, String, String, String, boolean, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getByItemIdAndServiceInstanceId(SessionConfig, String, String, String, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getComments(SessionConfig, String, ITransaction)
           
lumis.content.workflow.WorkflowManager.getContentWorkflowMetaData(SessionConfig, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.getContentWorkflowMetaData(SessionConfig, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.getContentWorkflowMetaData(SessionConfig, ContentLocale, ITransaction). 
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.content.metadata.IMetaDataManager.getIdsByServiceInstanceId(SessionConfig, String, ITransaction)
           
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.content.workflow.ContentWorkflowMetaData.getMetaDataId()
          Since 4.2.0, replaced by ContentWorkflowMetaData.getContentLocaleId(). 
lumis.content.ContentManagerFactory.getMetaDataManager()
          Since 4.2.0, replaced by ContentManagerFactory.getContentManager(). 
lumis.upgrade.IUpgradeManager.getNextBuild(String, String, String, ITransaction)
          this method may change during a future refactor. 
lumis.content.metadata.IMetaDataManager.getNumComments(SessionConfig, String, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getNumVersions(SessionConfig, String, String, String, ITransaction)
           
lumis.content.metadata.IMetaDataManager.getParentServiceInstanceId(SessionConfig, String, String, ITransaction)
           
lumis.content.workflow.WorkflowManager.getPossibleAssignedToForAction(SessionConfig, String, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.getPossibleAssignedToForAction(SessionConfig, String, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.getPossibleAssignedTo(SessionConfig, String, WorkflowStateConfig, ITransaction). 
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.portal.transaction.PortalTransactionFactory.getTransaction()
          Since 4.2.0, replaced by PortalTransactionFactory.createTransaction() and PortalTransactionFactory.getCurrentTransaction(). Current implementation behaves as createTransaction(). 
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.util.XmlUtil.getXMLDocumentFromString(String)
          since 4.2.0 replaced by XmlUtil.getDocument(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.content.workflow.WorkflowManager.hasEditPermission(SessionConfig, String, String, String, ITransaction)
           
lumis.content.workflow.IWorkflowManager.hasEditPermission(SessionConfig, String, String, String, ITransaction)
          Since 4.2.0, replaced by IWorkflowManager.hasEditPermission(SessionConfig, ContentLocale, 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.content.workflow.WorkflowManager.hasPermission(SessionConfig, String, IPermissionable, String, String, String, ITransaction)
          Since 4.2.0, replaced by WorkflowManager.hasPermission(SessionConfig, String, IPermissionable, ContentLocale, String, ITransaction) 
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.content.table.ContentTableSource.reindex(boolean)
           
lumis.doui.source.TabularSource.reindex(boolean)
           
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.content.workflow.ContentWorkflowMetaData.setMetaDataId(String)
          Since 4.2.0, replaced by ContentWorkflowMetaData.setContentLocaleId(String). 
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.doui.control.DataBoundControl.setsSourceParameters()
          Since 4.2.0, this method is no longer used and may be removed in a future version. 
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.2.1.080903 - Copyright � 2001-2007, Lumis. All Rights Reserved.