Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionAs of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.Replaced by
DetailsProcessorInterfaceUseExecution2Interfaceinstead.UseExecutionStatusListener2Interfaceinstead.UseStoredProcess2Interfaceinstead.
-
Deprecated ClassesClassDescriptionThe methods in this class are ambiguous. Use com.sas.iom.WorkspaceFactory instead. It is not always clear when calling
getPooledWorkspaceif the intent is to create a new connection pool or to get a connection from an existing pool. Furthermore, calls toclosePoolmay match more than one pool, and the caller has no way to control which pools should be closed.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.As of release 9.3, replaced by SAS Midtier Eventing Architecture.
-
Deprecated Exception ClassesException ClassDescriptionWorkspacePoolDriver and WorkspacePoolException have been deprecated in favor of the less ambiguous WorkspaceFactory and WorkspaceFactoryException.
-
Deprecated FieldsFieldDescriptionThis flag is no longer used by the server. This flag value is now used by OMI_FULL_OBJECT which uses the public type template to return the full object.Use SmartTypes.TYPE_SERVER_ESRIMAP.Use SmartTypes.TYPE_SERVER_FTP.Use SmartTypes.TYPE_SERVER_HTTP.Use TYPE_PROMPT for the prompt type string.serialVersionUID will be deleted in a future release.The metadata server no longer supports this permission and it should be removed from any application that is using it.serialVersionUID will be deleted in a future release.
-
Deprecated MethodsMethodDescriptionprefer use of create table by executeUpdate with SQL grammar.all connection factory and connection activity is logged on loggers named
com.sas.services.connectionandcom.sas.iom.orb, respectively. The logger returned by this method is not used by this factory.all connection factory and connection activity is logged on loggers namedcom.sas.services.connectionandcom.sas.iom.orb, respectively. The logger with the name returned by this method will not be used by the factory created from the specified configuration.all connection factory and connection activity is logged on loggers namedcom.sas.services.connectionandcom.sas.iom.orb, respectively. The logger with the name returned by this method will not be used by the factory created from the specified configuration.use getRemoteObject()all connection factory and connection activity is logged on loggers namedcom.sas.services.connectionandcom.sas.iom.orb, respectively. The logger with the name returned by this method will not be used by the factory created from the specified configuration.As of release 9.2, this class is no longer being supported.As of release 9.2, this class is no longer being supported.As of release 9.2, this class is no longer being supported.As of release 9.2, this class is no longer being supported.in favor of getObjectByPathStringin favor of searchTreeFromBase.in favor of getXMLSelect().Use of tracking ids is no longer supported.As of release 9.2, replaced byMetadataInterface.getAttribute(String)As of release 9.2, replaced byMetadataInterface.setAttribute(String,String)As of 9.1.3SP4, replaced byMetadataInterface.getAttribute(String)As of 9.1.3SP4, replaced byMetadataInterface.setAttribute(String, String)fetch the map and set the name on it directlyshould not be usedin favor of getItemByClassin favor of getItemByType.in favor of getItemsByClass.in favor of getItemsByType.Please use the correctly spelled version.This method goes back to when there was not a single, canonical root in the metadata. Now that there is, there can only be one path. And since it had a guaranteed NPE for metadata objects I'm pretty sure no one is using it, so don't start.Tracking ids are no longer supported.Use removeResponsibleParty2, as it fixes a bug that can remove the wrong responsible party.Use addEmail( EmailInterface email ) insteadUse getEmails() insteadUse removeEmail( EmailInterface email ) insteadfrom v920m3 on. Do not use this anymore.from v920m3 on. Do not use this anymore.This method is not usable across a remote interface.This method is not usable across a remote interface.Tracking ids are no longer supported.This method will not work across a remote connection.This method will not work across a remote connection.Use getObjectByPath( String, String, String )in favor of getObjectByPathString.in favor of newMetadataByModel.in favor of searchTreeFromBase.Tracking ids are no longer supported.As of 9.3, this method is no longer usedAs of 9.3, this method is no longer usedConsumers should use the getTemplate(ServerInterface) since the template is no longer loaded automatically.Use getObjectByPath( String rootFolderName, String path, String type)in favor of getObjectByPathStringTracking id usage is no longer supported.in favor of newMetadataByModel.in favor of searchTreeFromBase.This is not referenced outside platform services, and shouldn't be called by a client. The public method will no longer have any effect.The Logging Service has been deprecated. Use Log4J directly instead of calling this method to get the Logging Service logger.The Logging Service has been deprecated. Use Log4J directly instead of calling this method to get the Logging Service logger.The Logging Service has been deprecated. UseAlertUtil.sendNotification(Document doc, SessionContextInterface sessionContext, MailServiceInterface mailService)The Logging Service has been deprecated. UseAlertUtil.sendNotification(Document doc, SessionContextInterface sessionContext, MailServiceInterface mailService)The Logging Service has been deprecated. UseAlertUtil.sendNotification(Document doc, SessionContextInterface sessionContext, MailServiceInterface mailService)UseBinaryFileEntry.getInputStream()which now supports remote input streams.UseBinaryFileEntry.getInputStream()which now supports remote input streams.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentUseBinaryFileEntryInterface.getInputStream()which now supports remote input streams.UseBinaryFileEntryInterface.getInputStream()which now supports remote input streams.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentUseHTMLFile.getInputStream()which now supports remote input streams.UseHTMLFile.getInputStream()which now supports remote input streams.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentUseHTMLFileInterface.getInputStream()which now supports remote input streams.UseHTMLFileInterface.getInputStream()which now supports remote input streams.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentUseResultPackage.getInputStream()which now supports remote input streams.UseResultPackage.getInputStream()which now supports remote input streams.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentUseResultPackageInterface.getInputStream()which now supports remote input streams.UseResultPackageInterface.getInputStream()which now supports remote input streams.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentUseTextFileEntry.getReader()which now supports remote readers.UseTextFileEntry.getReader()which now supports remote readers.this method no longer needed as getReader() will return a reader that can be used in a remote environmentUseTextFileEntryInterface.getReader()which now supports remote readers.UseTextFileEntryInterface.getReader()which now supports remote readers.this method no longer needed as getReader() will return a reader that can be used in a remote environmentcom.sas.services.publish.TransportFactory.getArchiveTransport(File, Logger, SessionContextInterface) The Logging Service has been deprecated. UseTransportFactory.getArchiveTransport(File, SessionContextInterface)The Logging Service has been deprecated. Use Log4J directly instead of calling this method to get the Logging Service logger.The Logging Service has been deprecated. Use Log4J directly instead of calling this method to set the Logging Service logger.UseViewerEntry.getInputStream()which now supports remote input streams.UseViewerEntry.getReader()which now supports remote readers.UseViewerEntry.getInputStream()which now supports remote input streams.UseViewerEntry.getReader()which now supports remote readers.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentthis method no longer needed as getReader() will return a reader that can be used in a remote environmentUseViewerEntryInterface.getInputStream()which now supports remote input streams.UseViewerEntryInterface.getReader()which now supports remote readers.UseViewerEntryInterface.getInputStream()which now supports remote input streams.UseViewerEntryInterface.getReader()which now supports remote readers.this method no longer needed as getInputStream() will return an input stream that can be used in a remote environmentthis method no longer needed as getReader() will return a reader that can be used in a remote environmentTheStoredProcessInterfaceservice object returned by this method cannot be used to avail of features introduced in 9.2 or later. SeeStoredProcessInterface.newServiceObject().UseStoredProcess2Interface.getDataTargets(). Returns the fileref names of theGenericStreamandXMLStreamobjects returned by getDataTargets().UseStoredProcess2Interface.getDataSources(). Returns the fileref names of theGenericStreamandXMLStreamobjects returned by getDataSources().TheStoredProcessInterfaceservice object returned by this method cannot be used with the Prompting Framework. SeeStoredProcessServiceInterface.newStoredProcess(int, StoredProcessOptions).TheStoredProcessInterfaceservice object returned by this method cannot be used to avail of features introduced in 9.2 or later. SeeStoredProcessServiceInterface.newStoredProcess(com.sas.services.storedprocess.metadata.StoredProcessInterface, StoredProcessOptions).This method has been deprecated since it is a pass through call to the deprecatedStoredProcessServiceInterface.newStoredProcess(SessionContextInterface, int, int).This method has been deprecated since it is a pass through call to the deprecatedStoredProcessServiceInterface.newStoredProcess(SessionContextInterface, com.sas.services.storedprocess.metadata.StoredProcessInterface).Group profile functionality is no longer supported.Group profile functionality is no longer supported.Use getPrincipal instead.This adds no information above and beyond the principal.Use getAuthServer instead.Use getAuthServerName instead.User getPrincipal instead.This adds no useful information above and beyond the principal.This method should no longer be used. In order for the platform to effectively direct requests in a clustered environment, the Discovery Service needs to be able to select the correct available service rather than having the client specify one. If this method is used, the Information Service parameter will be ignored.Use the version that takes a UserContextInterfaceUse the version that takes a UserContextInterface.Use the version that takes a UserContextInterface.This method should no longer be used. In order for the platform to effectively direct requests in a clustered environment, the Discovery Service needs to be able to select the correct available service rather than having the client specify one.
-
Deprecated ConstructorsConstructorDescriptionuse OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer)use OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer)use PlatformConnectionFactoryConfiguration(LogicalServerInterface,String,UserServiceInterface)PlatformConnectionFactoryConfiguration(RepositoryInterface,String,String,UserServiceInterface)As of release 9.2, this class is no longer being supported.As of release 9.2, this class is no longer being supported.As of release 9.2, this class is no longer being supported.As of release 9.2, this class is no longer being supported.