Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Record Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
ElementDescriptionuse
WeekDay
directlyuseRecur.Builder
directlyjust use a normal listjust for backwards compatibility. always use POST requests for tracking.
-
InterfaceDescriptionUse the methods provided by
EntityModel
Use the methods provided byEntityModel
can 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, useCreateClassroomDefaultsModifier
for the new actionfor new widget email is sent direcly inMembershipRegistrationResource
only used by old widgetuseQueryBuilderBase
useEntitiesValidator
insteaduseDeleteService
insteadReplace this withFunction
-
ClassDescriptioncan be removed once we no longer support netui/dwruse
WeekDay
directlyuseRecur.Builder
directlyjust use a normal listimplemented inEventRegistrationResource
for new widgetmigrateDelegatingEventCopyExtension.oldExtension
and use new extension directlytask is replaced withMembershipRegistrationResource
for new widgetfeature is not implemented inMembershipRegistrationResource
ch.tocco.nice2.optional.reservationcalendarexport.impl.actions.CreateCalendarExportActionServiceImpluse joda or java built inuseEntityFacadeListener
directlyPersistTask
has default method implementations - there is need of extending this abstract class anymore. You can even use lambdas now.please use api from exec packageplease use api from exec packageplease use tasks inEntityTasks
use 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 noisyuseQueryBuilderFactory
directlytry to sort on the database whenever possible, refer to methods inEntityModelUtils
useAbstractEntitiesValidator
insteadUse methods of date beans directly (i.e. ${today.date.pattern("dd. MM. yyyy")}.UseQueryDirective
in combination withListDirective
use freemarker syntax directly (e.g. `${entity.firstname}` instead of `[@loadValue entity=entity path="firstname"]`)useDuration
orPeriod
if you absolutely need to work with different time unitsuseJoiner
-
Enum ClassDescription
-
Exception ClassDescription
-
Record ClassDescription
-
Annotation InterfaceDescription
-
FieldDescriptionUse
PersistQLLexer.VOCABULARY
instead.UsePersistQLParser.VOCABULARY
instead.UseACLLexer.VOCABULARY
instead.UseACLParser.VOCABULARY
instead.
-
MethodDescriptionuse
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()
useEntity.getChangedFields()
(String)}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)
UsegetTemplate
orload
without a businessUsegetTemplate
orload
without a business
-
ConstructorDescriptioncan be removed once we no longer support netui/dwruse constructor without context argument.
-
Enum ConstantDescriptionUse UPDATE insteadUse DETAIL instead