Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
Terminally Deprecated ElementsElementDescriptionThis method is deprecated and should not be used. Use
MicroSession.fetch(String)instead.This method is deprecated and should not be used. UseMicroSessionCacheService.put(MicroSession, long)instead.useDATSendMessage.setSendingData(Map, String)instead.useBOUserType.isActive()Gets if the user type is active or not.useBOUserType.isCompanyAdmin()Gets if the user's type is a tenant admin or not.useBOUserType.isSuper()Gets if the user's type is a system admin or not.UseBOUserType.isTenantAdmin()insteadUseBOUserType.isSystemAdmin()insteadUseBOUserType.setTenantAdmin(Boolean)insteaduseBOUserType.setActive(Boolean)Sets if the user is active or not.useBOUserType.setCompanyAdmin(Boolean)Sets if the user's type is a tenant admin or not.useBOUserType.setSuper(Boolean)Sets if the user's type is a system admin or not.UseBOUserType.setSystemAdmin(Boolean)insteadDon't use this attribute, seesetAUTOFOCUS()insteadUsesetEVENTPARAMinsteadUsesetEVENTPROMPTinsteadDon't use it anymore. Sets the child lookup, withInputLookup.setPARENTLOOKUP(java.lang.String)define a dependency between two InputLookup.Don't use it anymore. Defines the type of the field values for the child lookup.Don't use it anymore. Sets the parent lookup, withInputLookup.setCHILDLOOKUP(java.lang.String)define a dependency between two InputLookup.Don't use it anymore. Defines the type of the field values for the parent lookup.useFileUtils.validateFileContentType(UpFile, List)insteaduseMessageConsumerinsteaduseIOLogProcessor.put(IOLogTracer)insteaduseLang.getSystemDefaultLangName(String)insteaduseDynO.toMap()instead. Pay attention thatDynO.toMap()will manage the null values also. To filter out them, usetoMap(false)insteaduseDynO.toMap(boolean)instead.useDynO.from(Map, Class)instead.this method converts map objects to string before setting to the object. UseDynO.insert(java.util.Map)insteadUseSecretsManagerProvider.getInstance().get(companyId, secretsManagerType)instead.
Returns theSecretsManagerinstance by passing itsSecretsManagerType. If it doesn't exist it's created.usePlatforminsteadThis method is deprecated and should not be used. UseMicroSession.fetch(String)instead.useAuthenticationinsteaduseCriterion.DISCARD_USELESS_COLLECTIONinstead, an improved version that also includes subclasses ofCollection.useCriterion.TAKE_EMPTY_COLLECTIONinstead, an improved version that also includes subclasses ofCollection.useCriterion.USELESS_COLLECTIONinstead, an improved version that also includes subclasses ofCollection.useDecision.forUselessCollection()instead, an improved version that also includes subclasses ofCollection.useDecision.onUselessCollection()instead, an improved version that also includes subclasses ofCollection.useWindowManager.sendCookie(String, String, boolean, boolean)instead. Sends aCookieto the client and add it to the set of cookie sent..useWindowManager.sendCookie(String, String, boolean, boolean, int, String)instead. Sends aCookieto the client and add it to the set of cookie sent.useComponent.RegistryinsteaduseUserTypeUtilinsteadsince 21.0UseCodes.PDA001UseDeleteEventUseInsertEventUseLoadEventUseOrderUseOrderCriterionUseSearchEventUseUpdateEventUseValidExecutionoverit.geocallapp.wfm.core.bl.datacollection.template.event.DataCollectionTemplateHeaderSearchFilteroverit.geocallapp.wfm.core.datacollection.rs2.optionsgroup.DTODataCollectionOptionsGroupSearchFilteroverit.geocallapp.wfm.execution.PropertiesExecution.Accounting.getAgendaResourceAutovalidationDays()
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionthis component does nothingUse
ServerMultiFormUseDAOinstead Class to extend when you want to create an object that accesses a table of the database. The goal of the class is to avoid writing SQL and going to build inferential rules that, based on the parameter map passed, can deduce the SQL code to be created. To use the class you need to extend it and using the annotation that gives the fundamental information of the table that you want to map.
This class implements some basic functions such the selection of one or all the table records or the deletion, insertion or updating of a record.
The methods that can be extended to create the desired logic are:DAO0.validate(CommandContext, PooledConnection)to perform a validation on the data,DAO0.defineValues(CommandContext, PooledConnection)to set up the values,DAO0.getFilterCriterion(CommandContext)to insert theCriteriathat will build the SQL code andDAO0.feedback(CommandContext, PooledConnection, DBStatement)to manage the results.usePlatforminsteaduseAuthenticationinsteaduseLogsinsteaduse a static LogChannel for any class, to Log messagesuseArgon2V2usePBKDF2V2useSCryptV2UseMenuLandingTree.
This class allows you to define landing pages for each xml leaf entry. Use involves creating a subclass that has a public constructor without parameters, and defines the Lander, the menu path and any other configurations for the landing.Here is an example that expose the menu's landing pages
{@literal @}Geocall.Provider public class BasLeandingTree extends SimpleLandingTree { public BasLeandingTree() { super(new Lander(), "+/menu.xml"); } }In order for the pages to be published at the start of the count, you must add the
@Geocall.Providerannotation to the sub-classuseUserTypeUtilinsteadsince 21.0UseDeleteEventUseInsertEventUseLoadEventUseOrderUseSearchEventUseUpdateEventoverit.geocallapp.wfm.core.bl.datacollection.template.event.DataCollectionTemplateHeaderSearchFilteruse kernel eventUserCreateEventuse kernel eventUserLoadEventuse kernel eventUserUpdateEventuse kernel eventUserCreateEventwith the related Business Taskuse kernel eventUserLoadEventwith the related Business Taskuse kernel eventUserUpdateEventwith the related Business TaskUse foundation BOBOUserTypeUse foundation eventUserTypeLoadEventUse foundation eventUsersLoadEventUse foundation eventUsersLoadEventUse foundation eventUserTypeLoadEventUse foundation eventUserTypeLoadEventuseWorkOrderCancelInputwith the eventWorkOrderCancelEventuseWorkOrderCancelOutputwith the eventWorkOrderCancelEventuse the eventWorkOrderCancelEvent
-
Deprecated Enum Classes
-
Deprecated Annotation Interfaces
-
Deprecated FieldsFieldDescriptionthis field shouldn't be registered anymorethis is not supported anymoreuse
DAO.UPSERT,DAO.INSERTorDAO.UPDATE_PKaccording to your needs. The correct functioning of thisCommandon all databases is not guaranteed (Postgres aborts the transaction if the INSERT raises a unique constraint violation, and the subsequent UPDATE will fail).useDAO.UPSERT,DAO.INSERTorDAO.UPDATE_PKaccording to your needs. The correct functioning of thisCommandon all databases is not guaranteed (Postgres aborts the transaction if the INSERT raises a unique constraint violation, and the subsequent UPDATE will fail).useCriterion.DISCARD_USELESS_COLLECTIONinstead, an improved version that also includes subclasses ofCollection.useCriterion.TAKE_EMPTY_COLLECTIONinstead, an improved version that also includes subclasses ofCollection.useCriterion.USELESS_COLLECTIONinstead, an improved version that also includes subclasses ofCollection.UseCodes.PDA001
-
Deprecated MethodsMethodDescriptionThis method is deprecated and should not be used. Use
MicroSession.fetch(String)instead.This method is deprecated and should not be used. UseMicroSessionCacheService.put(MicroSession, long)instead.useDATSendMessage.setSendingData(Map, String)instead.useBOUserType.isActive()Gets if the user type is active or not.useBOUserType.isCompanyAdmin()Gets if the user's type is a tenant admin or not.useBOUserType.isSuper()Gets if the user's type is a system admin or not.UseBOUserType.isTenantAdmin()insteadUseBOUserType.isSystemAdmin()insteadUseBOUserType.setTenantAdmin(Boolean)insteaduseBOUserType.setActive(Boolean)Sets if the user is active or not.useBOUserType.setCompanyAdmin(Boolean)Sets if the user's type is a tenant admin or not.useBOUserType.setSuper(Boolean)Sets if the user's type is a system admin or not.UseBOUserType.setSystemAdmin(Boolean)insteaduseDAOinsteadUseForm.isVisible()insteaduse the more specific overload instead It shows (make visible with the pop-up effect) the panelReturn theWebResourceon which the ResourceView is baseduseDAOinstead Returns the DAO0 used to fetch the recordsDon't use this method, useTableView.buildScrollScript(StringBuilder)instead.UseonCopy(uim)UseonCut(uim)UseonPaste(uim)UseonRemove(uim)UseonSelect(uim)insteadImplementscreateMenu(tree)ImplementscreateMenu(tree)UsecreateMenu(tree)ImplementscreateMenu(tree)The opening of the menu is managed in response to the Ajax OpenMenu event
ImplementscreateMenu(tree)UseColumn.isVisible()insteadTo useGridFrame.isVisible()Don't use this attribute, seesetAUTOFOCUS()insteadUsesetEVENTPARAMinsteadUsesetEVENTPROMPTinsteadDon't use it anymore. Sets the child lookup, withInputLookup.setPARENTLOOKUP(java.lang.String)define a dependency between two InputLookup.Don't use it anymore. Defines the type of the field values for the child lookup.Don't use it anymore. Sets the parent lookup, withInputLookup.setCHILDLOOKUP(java.lang.String)define a dependency between two InputLookup.Don't use it anymore. Defines the type of the field values for the parent lookup.useFileUtils.validateFileContentType(UpFile, List)insteaduseTableOrder.getOrderIconHD()to get the icon andIcon.getSrc()to extract the icon's path.Returns the html of the menu bar positioned at the top of the page (maintained only for the old versions of the kernel)UseTaskMessage.isVisible()insteadImplement the interface IXlsValuesModificator and useXlsxDBStatementView.setXlsValuesModificator(overit.geocall.basic.ui.xlsx.IXlsxValueModificator)UseDABase.getDBFields()instead, that makes a fetch on the tableDon't use this method, useDABase.giveDBObjectMap()instead.Don't use this method, useDABase.giveDBObjectMap()instead.this method should not be used anymoreuseIOLogProcessor.put(IOLogTracer)insteaduseLang.getSystemDefaultLangName(String)insteaduseDynO.toMap()instead. Pay attention thatDynO.toMap()will manage the null values also. To filter out them, usetoMap(false)insteaduseDynO.toMap(boolean)instead.useDynO.from(Map, Class)instead.this method converts map objects to string before setting to the object. UseDynO.insert(java.util.Map)insteadUseSecretsManagerProvider.getInstance().get(companyId, secretsManagerType)instead.
Returns theSecretsManagerinstance by passing itsSecretsManagerType. If it doesn't exist it's created.useFactory.collect(String, Class)insteaduseFactory.make(java.lang.Class)insteadThis method is deprecated and should not be used. UseMicroSession.fetch(String)instead.use locateFolder insteadthe identity is not useful, so use directly the correctWebResourceFactory.locateFolder(java.lang.String, boolean)use locateResource insteaduse locateResource insteaduse directly the correctWebResourceFactory.locateFolder(java.lang.String, boolean)useDecision.forUselessCollection()instead, an improved version that also includes subclasses ofCollection.useDecision.onUselessCollection()instead, an improved version that also includes subclasses ofCollection.Only for backward compatibility withDBView.getFieldMap()usedbStatement.executeQuery()ordbStatement.executeQuery().setRoData()insteadusedbStatement.executeQuery()ordbStatement.executeQuery().setRoData()insteaduse equivalent static method Cleaner objectUsebuildSetupScript(). Remains only for backward compatibility with legacy objects created to work both on geocall 4 and following versionsuseControl.isEnabled()insteaduseControl.setENABLED(java.lang.String)insteadUse getWS().getClipboard();useWindowManager.sendCookie(String, String, boolean, boolean)instead. Sends aCookieto the client and add it to the set of cookie sent..useWindowManager.sendCookie(String, String, boolean, boolean, int, String)instead. Sends aCookieto the client and add it to the set of cookie sent.@return The code attribute of the CodeuseCode.getDescription()insteaduseCode.getCode(java.lang.String)insteaduseIdentity.getBranchDescription()insteaduseIdentity.getCompany()company property, insteaduseIdentity.getCompany()companylogin property, insteaduseIdentity.getCompany()package property, insteaduseIdentity.getUsername()insteaduseIdentity.hasFunction(String)insteaduseLogChannel.isEnabled(Level)instead.useLogChannel.message(Level, LogMessage, Throwable)instead.useLogChannel.out(String, Level, String, Throwable)instead.useLogChannel.out(Level, String)instead.useLogChannel.out(Level, String, Throwable)instead.useLogChannel.out(Level, Throwable)instead.useLogChannel.forClass(java.lang.Class)insteadthis exceptions will be untraceable and uncostumizable. Use a custom logger to track exceptionsUseDBView.getLongSet(java.lang.String)
Creates a LongSet and fills it with the values extracted from the column of theDBViewuseThreadContext.isTracing()insteadoverit.geocallapp.wfm.execution.PropertiesExecution.Accounting.getAgendaResourceAutovalidationDays()Use the return type of the Event to retrieve the result of the elaboration in the JournalUse the return type of the Event to retrieve the result of the elaboration in the Journal
-
Deprecated ConstructorsConstructorDescriptionuse teacher.getTeacher instead of explicit instantiationuse
DBRowComparator(String)insteadLegacy mode. Please useDBView(DBFields). For example if you want to clone aDBViewdbvjust writenew DBView(dbv.getDBFields());useIdentity(Long)insteaduseZones()instead
-
Deprecated Enum Constants