Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Exception 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
only 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
-
ClassDescriptionThe property nice2.entityoperation.privilegedTransaction=true is used to introduce a new feature where the whole merging transaction is executed privileged and this contribution is ignored. Once the new toggles have been in production for some time without any problems, we can remove the property to enable/disable the toggle and remove this contribution (also see TOCDEV-8206).The property nice2.entityoperation.privilegedTransaction=true is used to introduce a new feature where the whole merging transaction is executed privileged and the logic here is not necessary. Once the new toggles have been in production for some time without any problems, we can remove the property to enable/disable the toggle and remove this RelationMergeHandler (also see TOCDEV-8206).replaced with
AccrualPostingExportTask
which is more efficient (same functionality)useWeekDay
directlyuseRecur.Builder
directlyjust use a normal listimplemented inEventRegistrationResource
for new widgettask is replaced withMembershipRegistrationResource
for new widgetfeature is not implemented inMembershipRegistrationResource
use 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
useDuration
orPeriod
if you absolutely need to work with different time unitsuseJoiner
-
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.useContext.tx()
useEntity.getChangedFields()
(String)}useEntityList.stream()
andStream.filter(Predicate)
or create new queryorder in 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
-
ConstructorDescriptionuse constructor without context argument.
-
Enum ConstantDescriptionUse UPDATE insteadUse DETAIL instead