Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Record Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
Terminally Deprecated ElementsElementDescriptionuse
WeekDaydirectlyuseRecur.Builderdirectlyjust use a normal listjust for backwards compatibility. always use POST requests for tracking.
-
Deprecated InterfacesInterfaceDescriptionUse the methods provided by
EntityModelUse the methods provided byEntityModelcan be removed once we no longer support netui/dwras this extension is only used by the legacy newsletter implementation, it is not supported by the new send mail jobonly used by old action, useCreateClassroomDefaultsModifierfor the new actionfor new widget email is sent direcly inMembershipRegistrationResourceonly used by old widgetuseQueryBuilderBaseuseEntitiesValidatorinsteaduseDeleteServiceinsteadReplace this withFunction
-
Deprecated ClassesClassDescriptioncan be removed once we no longer support netui/dwruse
WeekDaydirectlyuseRecur.Builderdirectlyjust use a normal listimplemented inEventRegistrationResourcefor new widgettask is replaced withMembershipRegistrationResourcefor new widgetfeature is not implemented inMembershipRegistrationResourcech.tocco.nice2.optional.reservationcalendarexport.impl.actions.CreateCalendarExportActionServiceImpluseEntityFacadeListenerdirectlyplease use api from exec packageplease use api from exec packageplease use tasks inEntityTasksuse same named class in exec packageuse PersistTaskIterable from exec packageuse the same named class from exec packagethis (huge) class is now deprecated in favor for the api in exec package or classes in task2 package. many convenience methods are not necessary anymore, because combination should now be much less noisyuseQueryBuilderFactorydirectlytry to sort on the database whenever possible, refer to methods inEntityModelUtilsuseAbstractEntitiesValidatorinsteadUse methods of date beans directly (i.e. ${today.date.pattern("dd. MM. yyyy")}.UseQueryDirectivein combination withListDirectiveuse freemarker syntax directly (e.g. `${entity.firstname}` instead of `[@loadValue entity=entity path="firstname"]`)useDurationorPeriodif you absolutely need to work with different time unitsuseJoiner
-
Deprecated Enum Classes
-
Deprecated Exception ClassesException ClassDescription
-
Deprecated Record ClassesRecord ClassDescription
-
Deprecated Annotation InterfacesAnnotation InterfaceDescription
-
Deprecated FieldsFieldDescriptionUse
PersistQLLexer.VOCABULARYinstead.UsePersistQLParser.VOCABULARYinstead.UseACLLexer.VOCABULARYinstead.UseACLParser.VOCABULARYinstead.
-
Deprecated MethodsMethodDescriptionuse
BusinessUnitManager.withBusinessUnit(BusinessUnitChange)instead, enabling the `noLogin` optionuse `getSearchFilters()`use `getSearchFilters()`use putWithScope()Has been replaced withAccrualMethodService.calculate(Voucher, Order, LocalDate, T)to be able to do the stuff with the prepared data of multiple entities at once (more efficient)Has been replaced withAccrualMethodService.check(Voucher, Order, LocalDate, T)to be able to do the stuff with the prepared data of multiple entities at once (more efficient)just for backwards compatibility. always use POST requests for tracking.useAbstractNode.getUniqueKey()which has same format asInstance.getUniqueKey()useContext.tx()useEntityList.stream()andStream.filter(Predicate)or create new queryorder in queryplease use api in exec packageplease use api in exec packageplease use api in exec packageuseQuery.getOnlyResultOrNull()()}useEntitiesValidator.validate(List, Map)insteaduseDefaultDisplayService.evaluateDisplay(Entity, String...)as naming is confusinguseExcelBuilder.addSheet(ExcelSheetData). It allows a way more flexible sheet creation.useExcelBuilder.addSheet(ExcelSheetData). It allows a way more flexible sheet creation.useExcelBuilder.addSheet(ExcelSheetData). It allows a way more flexible sheet creation.useExcelBuilder.addSheet(ExcelSheetData). It allows a way more flexible sheet creation.useExcelBuilder.addSheet(ExcelSheetData). It allows a way more flexible sheet creation.UseSecurityManager.privileged()insteadUseSecurityManager.privileged()insteaduseJobDataMapReader.require(String)(String)}entities can now be inserted in the template model just like any other objects...entities can now be inserted in the template model just like any other objects...entities can now be inserted in the template model just like any other objects...Replaced withType.getRelationTo(Type)UsegetTemplateorloadwithout a businessUsegetTemplateorloadwithout a business
-
Deprecated ConstructorsConstructorDescriptioncan be removed once we no longer support netui/dwr
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse UPDATE insteadUse DETAIL instead