Deprecated API
Contents
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescription
-
Deprecated ClassesClassDescriptionPlease use
IAcquireService
, since it is the one exposed via Saga public SDKThis is not properly tested and using it for migrations is error-prone. It is fine to use in tests. Please use DbInitDatabase.schema() to create/alter tables in migrations instead.
-
Deprecated Enum Classes
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionuse
ExtensionInfo
annotation instead, since it better fits into the Saga extensions hierarchy (can annotate module/configuration/context/extension point/extension).
-
Deprecated MethodsMethodDescriptionWe started to support operating modes where ElasticSearch is not present, but custom indexing is still functional. In those modes supporting full syntax of ElasticSearch query language doesn't make sense. For stable cross-mode functionality a new SDK will be introduced. Until then use this method with caution, because you can potentially produce code not compatible between different Saga operating modes.use more lenient
VocabularyHelper.extractVocabularies(com.persequor.event.CustomTag)
insteadUse `from` and `to` instead, since `from` is required for search by quantity elements. Search by EPCs is still using to/at only.UseIEventService.getAncestry(AncestryRequest)
insteadUseIEventService.getDescendants(DescendancyRequest)
insteadUseIEventService.getDescendants(DescendancyRequest)
insteadUseIEventService.traceEvent(TraceRequest)
insteaduseExtensionLink.dialog(Class)
insteadPlease use justify() insteaduseProps.of()
.square(...) instead.useProps.of()
.elevation(...) instead.use queryIssues() instead, for more optionsbecause of the `module` term clash. The new meaning of module is described here:ExtensionModule
. UseExtensionModule.getExtensionContext(Class)
method instead.This functionality has been removeduseIDatabaseExtensionPoints.sql(Class, Consumer)
insteaduseIOfflineResponse.alert(AlertType, I18nText)
instead.useIOfflineResponse.alert(AlertType, String)
instead.pick one explicitlyuseXmlUtilService.loadXML(String)
instead.because it requires the table to not have a primary key, which is not allowed on MySQL ifsql_require_primary_key
is set.because it requires the table to not have a primary key, which is not allowed on MySQL ifsql_require_primary_key
is set.because it will fail on MySQL ifsql_require_primary_key
is set.because it will fail on MySQL ifsql_require_primary_key
is set.Please avoid using this method, since you will need to update it every time a new database is added.Do not use this method unless you have a very good reason to do so. In that case, please contact us first, to confirm that it is indeed a very good reason. Note that you have to call it on the very first run when updating past the version that introduced it, before any migrations from that version are ran. Also, once used, it has to be used forever with the same argument.useOrmResultSet.getBlob(String)
insteaduseOrmResultSet.getLocalDate(String)
insteaduseOrmResultSet.getZonedDateTime(String)
insteaduseOrmResultSet.getLong(String)
insteaduseOrmResultSet.getString(String)
insteadNo longer used, it is automatically determined if the field is a collection.You should probably useToken.get(String)
, or one of the specific format methods. If you know what you're doing, suppress the warningYou should probably useToken.get(String)
, or one of the specific format methods. If you know what you're doing, suppress the warninguseVarClientResponse.getSetCookies()
insteadIndividually add controllers withVarConfiguration.addController(Class)
instead
-
Deprecated ConstructorsConstructorDescription
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse header3 instead.Only used for legacy support of indexed varchar columns longer than 768 characters.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionNo longer used, it is automatically determined if the field is a collection.
SerializationFactory
instead.