Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionDo only use if absolutely required. This will be removed as soon as closing works reliable.Use
DatabaseName.IRISinstead.Switch toDatabaseName.H2or another DBMS instead.Moved toNetworkTools.getUniqueNodeName(Logger).The security manager has been deprecated and removed. This class is no longer of use, just perform the action directly.UseServiceInformation.isExported()andServiceInformation.isRemote()instead.de.aristaflow.adept2.core.eventmanager.common.AbstractActivityEventHandler.canHandle(Event, boolean) Use and implementAbstractActivityEventHandler.getHandleImpossibleMessage(Event, boolean)instead.UseAbstractEventSource(Registry, String, LogService)instead.UseAbstractEventSource(String, String, LogService)instead.UseMemoryResultSetImpl(List, List, Logger)instead.UseAbstractInstanceStartEventHandler.CONF_PROCESS_TYPEinstead.de.aristaflow.adept2.core.eventmanager.mailevents.ClientCredentialsAccessTokenProvider.clientTimeoutde.aristaflow.adept2.core.eventmanager.mailevents.ClientCredentialsAccessTokenProvider.tokenEndpointUseMailTools.getStringContentOfMessage(Message, Logger)instead.UseAttributeMetaData.getNames(Collection)instead.This method is no longer used and will be removed. Subclasses should remove at least theOverrideannotation.UseFilter.clearSelections()instead.UseAbstractXmlBasedUdt.unmarshalByteContent(Node)instead.UseFileUDT(String, String, byte[])instead.UseFileUDT(String, String, String, byte[])instead.UseFileUDT(String, String, MediaType, byte[])instead.UseFileUDT(UDTValue, boolean...)instead.UseFileUDT(File, boolean...)instead.UseFileUDT(String, File)instead.UseFileUDT(InputStream, boolean...)instead.UseFileUDT.toUdtValue()instead.UseFileUDT.getBytes()instead.UseLocalisationUdt.getContentString(UDTValue)instead.UseLocalisationUdt.udtValueFromContentString(String)instead.de.aristaflow.adept2.model.common.collection.AbstractTimeTrackingRemoteIterator(boolean, long, long) UseEmptyRemoteIterator(long, long)instead.UseRemoteIterator.close()instead.UseServerInputStream(InputStream, long, long)instead.For serialisation compatibility with pre-17.0.0.UseLicenceInformation.getReleaseName()instead.UseADEPT2UDTValue(byte[], String)instead.UseADEPT2UDTValue(InputStream, String)instead.UseADEPT2UDTValue(InputStream, String)instead.UseADEPT2UDTValue(byte[], String)with aBoundedInputStreaminstead.UseFileUDTValue.getContentStream(FileDescriptor)instead.UseJsonUdtValue(InputStream, boolean[])instead.UseJsonUdtValue(InputStream, boolean[])instead.UseJsonUdtValue(InputStream)instead.UseJsonUdtValue(InputStream, boolean[])with aBoundedInputStreaminstead.UseJsonUdtValue(JSONObject, boolean[])instead.UseJsonUdtValue.fromUdtValue(UDTValue)instead.UseJsonUdtValue.getJsonObject()instead.UseJsonUdtValue.getJsonString(UDTValue)instead.UseJsonUdtValue.toUtf8InputStream(JSONObject)instead.UseJsonUdtValue(String)instead.UseServerUDTInputStream(UDTValue, long, long)instead.Use and implementUDTValue.getBytes()instead.Use and implementUDTValue.getInputStream()instead.UseEmail(Logger)instead.This is not and was not a publicly accessible OM attribute.Replaced by a separate OM extension mapping relation.UsegetInstRef().getBaseTemplateId()instead.UseInstanceNode.getVarParSiblings()instead.UseSettableDataContext(Logger)instead.UseSettableDataContext(Map, Map, Map, Logger)instead.UseIncrementalWorklist.close()instead.Use and implementIncrementalWorklistUpdate.close()instead.Not used and not required.UseInternalWorklistItem.getSubstitutionLevels()instead.UseInternalWorklistItem.removeSubstitution(UUID, int)instead.UseMediaTypes.detect(String)instead.UseHTMLContext.Attachment.getInputStream()instead.UseHTMLContext.Attachment.getInputStream()instead.UseResponse(int, String)instead.UseHTMLContext.Response.getInputStream()instead.UseMediaTypeandMediaTypesinstead.Use the more efficientAristaFlowHTTPService.getParameterAttachments(List)instead. That does not need to consider attachments possibly already being part of the designated maps.Use and implementSWTBrowserContext.deployForDownload(InputStream, String, String)instead.UseCleanup.CollCloseTaskinstead.Use try-with-resources appropriately instead.The minimum Java version is Java 11, there is no need for this class any more since all ResourceBundles are UTF-8-encoded.UseRereadableContentinstead.Use and implementObjectPoolListener.objectReclaimed(Object, ReclaimAction, CallerTrace, CallerTrace)instead.UseStreamTools.cloneViaStream(Serializable, Class)instead.UseStreamTools.getSHA512DigestAndClose(InputStream)instead which closes the designated stream. Resetting big streams does not work so prepare the stream for reusage before.Do only use if absolutely required. This will be removed as soon as closing works reliable.Do only use if absolutely required. This will be removed as soon as closing works reliable.UseString(byte[], String)instead.UseString.getBytes(String)instead.de.aristaflow.adept2.util.threading.CachedThreadPoolExecutor(int, int, boolean, Adept2ThreadFactory) UseAbstractPipeliningExecutor(int, Adept2ThreadFactory)instead.UseUnlimitedPipelineExecutor(int, Adept2ThreadFactory)instead.UseXMLHelperTools.getStreamForDocument(Node)instead.UseXMLHelperTools.getStreamForDocument(Node, boolean)instead.UseXMLHelperTools.getStreamForDocument(Node)instead.UseXMLHelperTools.getStreamForDocument(Node, boolean)instead.UseXMLHelperTools.getStreamForDocument(Node, Source)instead.UseStreamTools.readUtf8String(InputStream)instead.UseAbstractIteratorHandler.closeOrDefer(boolean, UUID, ServerSideProxy)instead unless having a proxy object of which the server-side object does not haveServerSideProxy.close()yet.UseTransformation.fromIlm(DataContainer, Logger)instead.UseTransformation.fromIlm(WritingDataContainer, Logger)instead.UseTransformation.fromIlm(ResourceModelFactory, Atribute, Logger)instead.UseLicenceManagerWebService.getLicenceInformation()instead.
-
Deprecated InterfacesInterfaceDescriptionThis interface is subject of change and must not be used yet except for testing purpose.
-
Deprecated ClassesClassDescriptionThe security manager has been deprecated and removed. This class is no longer of use, just perform the action directly.This class is subject of change and must not be used yet except for testing purpose. Its interface and implementation may change any time!use
WebFormContainerinstead. This class facilitates the handling and manipulation of WJP containers.useWebFormSubtableinstead. This class facilitates the handling and manipulation of WJP subtables.UseMediaTypeandMediaTypesinstead.UseCleanup.CollCloseTaskinstead.The minimum Java version is Java 11, there is no need for this class any more since all ResourceBundles are UTF-8-encoded.UseRereadableContentinstead.
-
Deprecated Enum ClassesEnum ClassDescriptionFor serialisation compatibility with pre-17.0.0.
-
Deprecated ExceptionsExceptionsDescriptionThis class is only for a very special use-case. Do not use it, it will be removed shortly.
-
Deprecated FieldsFieldDescriptionUse
AbstractInstanceStartEventHandler.CONF_PROCESS_TYPEinstead.de.aristaflow.adept2.core.eventmanager.mailevents.ClientCredentialsAccessTokenProvider.clientTimeoutde.aristaflow.adept2.core.eventmanager.mailevents.ClientCredentialsAccessTokenProvider.tokenEndpointthere are no prefixes any moreUseSystemDataConstants.UDT_NAME_FILEinstead.This is not and was not a publicly accessible OM attribute.Replaced by a separate OM extension mapping relation.Do only use if absolutely required. This will be removed as soon as closing works reliable.This is only for debugging purpose.
-
Deprecated MethodsMethodDescriptionUse
ADEPT2CallbackExport.exportCallback(Class, Object)with aServerSideProxyinstead.Do only use if absolutely required. This will be removed as soon as closing works reliable.UseConnection.commit()and try-with-resources instead.Use try-with-resources instead.Use try-with-resources instead.UseConnection.rollback()or simplyExtendedConnection.close()and try-with-resources instead.Use try-with-resources instead.Use try-with-resources instead.Use try-with-resources instead.Use try-with-resources instead.Use try-with-resources instead.Use try-with-resources instead.UseJDBCTools.rollbackLogged(Logger, Connection)instead.Moved toNetworkTools.getUniqueNodeName(Logger).UseServiceInformation.isExported()andServiceInformation.isRemote()instead.de.aristaflow.adept2.core.eventmanager.common.AbstractActivityEventHandler.canHandle(Event, boolean) Use and implementAbstractActivityEventHandler.getHandleImpossibleMessage(Event, boolean)instead.UseMailTools.getStringContentOfMessage(Message, Logger)instead.UseAttributeMetaData.getNames(Collection)instead.This method is no longer used and will be removed. Subclasses should remove at least theOverrideannotation.UseFilter.clearSelections()instead.This method is subject of change and should not be used yet.UseAbstractXmlBasedUdt.unmarshalByteContent(Node)instead.UseFileUDT.toUdtValue()instead.UseFileUDT.getBytes()instead.UseLocalisationUdt.getContentString(UDTValue)instead.UseLocalisationUdt.udtValueFromContentString(String)instead.UseRemoteIterator.close()instead.UseLicenceInformation.getReleaseName()instead.This method may, depending on the data model, not be used except in some special cases.This method may, depending on the data model, not be used except in some special cases.UseFileUDTValue.getContentStream(FileDescriptor)instead.UseJsonUdtValue.fromUdtValue(UDTValue)instead.UseJsonUdtValue.getJsonObject()instead.UseJsonUdtValue.getJsonString(UDTValue)instead.UseJsonUdtValue.toUtf8InputStream(JSONObject)instead.UseJsonUdtValue(String)instead.Use and implementUDTValue.getBytes()instead.Use and implementUDTValue.getInputStream()instead.UsegetInstRef().getBaseTemplateId()instead.UseInstanceNode.getVarParSiblings()instead.UseIncrementalWorklist.close()instead.Use and implementIncrementalWorklistUpdate.close()instead.Not used and not required.UseInternalWorklistItem.getSubstitutionLevels()instead.UseInternalWorklistItem.removeSubstitution(UUID, int)instead.UseMediaTypes.detect(String)instead.UseHTMLContext.Attachment.getInputStream()instead.UseHTMLContext.Attachment.getInputStream()instead.UseHTMLContext.Response.getInputStream()instead.Use the more efficientAristaFlowHTTPService.getParameterAttachments(List)instead. That does not need to consider attachments possibly already being part of the designated maps.Use and implementSWTBrowserContext.deployForDownload(InputStream, String, String)instead.Use try-with-resources appropriately instead.UseLocale.forLanguageTag(String)instead. Make sure the locale has the right format (IETF BCP 47), which is different from the usualLocaleformat. For instance, the localede_DEhas the language tagde-DE!Use and implementObjectPoolListener.objectReclaimed(Object, ReclaimAction, CallerTrace, CallerTrace)instead.UseStreamTools.cloneViaStream(Serializable, Class)instead.UseStreamTools.getSHA512DigestAndClose(InputStream)instead which closes the designated stream. Resetting big streams does not work so prepare the stream for reusage before.Do only use if absolutely required. This will be removed as soon as closing works reliable.UseString(byte[], String)instead.UseString.getBytes(String)instead.UseXMLHelperTools.getStreamForDocument(Node)instead.UseXMLHelperTools.getStreamForDocument(Node, boolean)instead.UseXMLHelperTools.getStreamForDocument(Node)instead.UseXMLHelperTools.getStreamForDocument(Node, boolean)instead.UseXMLHelperTools.getStreamForDocument(Node, Source)instead.UseStreamTools.readUtf8String(InputStream)instead.UseAbstractIteratorHandler.closeOrDefer(boolean, UUID, ServerSideProxy)instead unless having a proxy object of which the server-side object does not haveServerSideProxy.close()yet.UseTransformation.fromIlm(DataContainer, Logger)instead.UseTransformation.fromIlm(WritingDataContainer, Logger)instead.UseTransformation.fromIlm(ResourceModelFactory, Atribute, Logger)instead.UseLicenceManagerWebService.getLicenceInformation()instead.
-
Deprecated ConstructorsConstructorDescriptionUse
AbstractEventSource(Registry, String, LogService)instead.UseAbstractEventSource(String, String, LogService)instead.UseMemoryResultSetImpl(List, List, Logger)instead.UseFileUDT(String, String, byte[])instead.UseFileUDT(String, String, String, byte[])instead.UseFileUDT(String, String, MediaType, byte[])instead.UseFileUDT(UDTValue, boolean...)instead.UseFileUDT(File, boolean...)instead.UseFileUDT(String, File)instead.UseFileUDT(InputStream, boolean...)instead.de.aristaflow.adept2.model.common.collection.AbstractTimeTrackingRemoteIterator(boolean, long, long) UseEmptyRemoteIterator(long, long)instead.UseServerInputStream(InputStream, long, long)instead.UseADEPT2UDTValue(byte[], String)instead.UseADEPT2UDTValue(InputStream, String)instead.UseADEPT2UDTValue(InputStream, String)instead.UseADEPT2UDTValue(byte[], String)with aBoundedInputStreaminstead.UseJsonUdtValue(InputStream, boolean[])instead.UseJsonUdtValue(InputStream, boolean[])instead.UseJsonUdtValue(InputStream)instead.UseJsonUdtValue(InputStream, boolean[])with aBoundedInputStreaminstead.UseJsonUdtValue(JSONObject, boolean[])instead.UseServerUDTInputStream(UDTValue, long, long)instead.UseEmail(Logger)instead.UseSettableDataContext(Logger)instead.UseSettableDataContext(Map, Map, Map, Logger)instead.UseResponse(int, String)instead.de.aristaflow.adept2.util.threading.CachedThreadPoolExecutor(int, int, boolean, Adept2ThreadFactory) UseAbstractPipeliningExecutor(int, Adept2ThreadFactory)instead.UseUnlimitedPipelineExecutor(int, Adept2ThreadFactory)instead.
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse
DatabaseName.IRISinstead.Switch toDatabaseName.H2or another DBMS instead.
ADEPT2CallbackExport.exportCallback(Class, Object)with aServerSideProxyinstead.