Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionreplace by ClientInfo.isMobile()use getSQLFilter() insteaduse setSQLFilter(SQLFragment sqlFilter) insteadorg.adempiere.webui.info.InfoAssetWindow
(int, String, String, String, boolean, String, int, boolean) org.adempiere.webui.info.InfoInOutWindow(int, String, String, String, boolean, String, int, boolean) org.adempiere.webui.info.InfoOrderWindow(int, String, String, String, boolean, String, int, boolean) useInfoPanel.buildDataSQLFragment(int, int)insteadkeep for compatible, replace byWindowContainer.addWindow(Component, String, boolean, DecorateInfo)keep for compatible, replace byWindowContainer.addWindow(Component, String, boolean, boolean, DecorateInfo)keep for compatible, replace byWindowContainer.insertAfter(Tab, Component, String, boolean, boolean, DecorateInfo)keep for compatible, replace byWindowContainer.insertBefore(Tab, Component, String, boolean, boolean, DecorateInfo)Many methods in this class receive parameters that are never used. As of iDempiere 10, use theDialogclass instead.use getExtendedFilter() insteaduseGridTable.dataRequery(SQLFragment, boolean, int)instead- better use the new constructor with organization includedSince 3.5.3a. Please useMBPartnerLocation.getForBPartner(Properties, int, String).use getAccount(Charge, as) instead- not used at all, you can delete references to this methoduse getSQLFilteruse getSqlBarChartFragment insteaduse getSqlPIFragmentUse addRestriction (SQLFilter sqlFilter)Use addRestriction (SQLFragment sqlFilter, boolean andCondition, boolean notCondition, boolean existsCondition, int joinDepth)Use addRestriction (SQLFragment sqlFilter, boolean andCondition, boolean notCondition, int joinDepth)Use addRestriction (SQLFragment sqlFilter, boolean andCondition, int joinDepth)Use addRestriction (SQLFilter sqlFilter, int joinDepth, String andOrCondition)Use addRestriction (SQLFilter sqlFilter, String Operator, String InfoName, String InfoDisplay)Use getSQLFilter()Use getSQLFilter(boolean fullyQualified)Use getSQLFilter(int index)not use for the new billboard implementationreplace byPrintData.getNodeByPrintFormatItemId(int)usePrintData.getSQLClause()insteadusePrintData.setSQLClause(SQLFragment)insteaduse inFilterForCSV insteaduse inFilterForCSV insteaduse intersectFilterForCSV insteaduse intersectFilterForCSV insteaduse subsetFilterForCSV insteaddummy method, not doing anythingDeprecated since 3.4.0. Use insteadMWFEventAudit.get(Properties, int, String)Deprecated since 3.4.0. Use insteadMWFEventAudit.get(Properties, int, int, String)
-
Deprecated InterfacesInterfaceDescriptionHalf build and not use in current code
-
Deprecated ClassesClassDescriptionticket IDEMPIERE-1963 replaced this with an Info Windowticket IDEMPIERE-1965 replaced this with an Info Windowreplace by billboard based implementationreplace by billboard based implementationReplace by
ToolBarUseWindowinsteadnot usenot use- is not required anymore, for login preferences the client is being set now as the user clientMany methods in this class receive parameters that are never used. As of iDempiere 10, use theDialogclass instead.ticket IDEMPIERE-1963 replaced this with an Info Windowticket IDEMPIERE-1965 replaced this with an Info Windowfor deprecated swing client onlynot fully implementednot fully implementednot fully implementednot fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionarynot fully implementednot fully implementednot fully implementednot fully implementednot fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionarySwing client have been deprecatednot fully implemented, marked as inactive in dictionary
-
Deprecated Exceptions
-
Deprecated FieldsFieldDescriptionnot use for the new billboard implementationPlease use
ServerReportCtl.PARAM_PRINT_FORMATPlease useServerReportCtl.PARAM_PRINT_INFOPlease useServerReportCtl.PARAM_PRINTER_NAMEUseSimpleBooleanLexer.VOCABULARYinstead.UseSimpleBooleanParser.VOCABULARYinstead.
-
Deprecated MethodsMethodDescriptionSee IDEMPIERE-1022replace by ClientInfo.isMobile()not implementednot implementednot implementednot implementednot implementednot implementeduse getSQLFilter() insteaduse setSQLFilter(SQLFragment sqlFilter) insteaduse
InfoPanel.buildDataSQLFragment(int, int)insteaduse getSaveKeyskeep for compatible, replace byWindowContainer.addWindow(Component, String, boolean, DecorateInfo)keep for compatible, replace byWindowContainer.addWindow(Component, String, boolean, boolean, DecorateInfo)keep for compatible, replace byWindowContainer.insertAfter(Tab, Component, String, boolean, boolean, DecorateInfo)keep for compatible, replace byWindowContainer.insertBefore(Tab, Component, String, boolean, boolean, DecorateInfo)UseDialog.warn(windowNo, adMessage, message, null) instead Display warning with warning iconuse validateValueNoDirect insteadthe functionality related to AD_Tab.Included_Tab_ID is deprecateduse getStatusLine and configure Status Line insteaduse getExtendedFilter() insteadThe method getIncluded now validate against the structure, this method is called nowhereuseGridTable.dataRequery(SQLFragment, boolean, int)insteadonly orgs are now fetched automaticallyUseMAlertRule.getSql(boolean)insteaduse the version with postingType and trxNameuse the version with trxNameUseMAttachment.getID(int, int, String)insteadSince 3.5.3a. Please useMBPartnerLocation.getForBPartner(Properties, int, String).use getAccount(Charge, as) insteadUseMChat.getID(int, int, String)instead- not used at all, you can delete references to this methodincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interfaceincomplete/abandon implementation of DocAction interface- using the method to get a specific account ID doesn't make sense because of the flag IsAnyAcct use method getAll() insteaduse getSQLFilterSince ADempiere 3.5.2a; please useMFactAcct.deleteEx(int, int, String)instead.Create new Invoice by copyingnot implementeduse getSqlBarChartFragment insteaduse getSqlPIFragmentnot fully implementednot fully implementedfor deprecated swing client onlyUse C_BankAccount.C_PaymentProcessor_IDUse C_BankAccount.C_PaymentProcessor_IDUse C_BankAccount.C_PaymentProcessor_IDsince 3.3.1b; useMPeriod.isOpen(String, Timestamp)insteadUseMPostIt.getID(int, int, String)instead- use UPDATE insteadSince 3.5.3a. Please useMProduct.forS_Resource_ID(Properties, int, String)Use addRestriction (SQLFilter sqlFilter)Use addRestriction (SQLFragment sqlFilter, boolean andCondition, boolean notCondition, boolean existsCondition, int joinDepth)Use addRestriction (SQLFragment sqlFilter, boolean andCondition, boolean notCondition, int joinDepth)Use addRestriction (SQLFragment sqlFilter, boolean andCondition, int joinDepth)Use addRestriction (SQLFilter sqlFilter, int joinDepth, String andOrCondition)Use addRestriction (SQLFilter sqlFilter, String Operator, String InfoName, String InfoDisplay)Use getSQLFilter()Use getSQLFilter(boolean fullyQualified)Use getSQLFilter(int index)- useMRequest.newRequest(GridTab, int, int, String, int)insteadreplace byGridTab.isQueryMax(int)replace byGridTab.isQueryRequire(int)use the static getNextID or getDocumentNo method insteaduse Get and Create functions.org.compiere.model.MStorageOnHand.add(Properties, int, int, int, int, BigDecimal, Timestamp, String) replace by getBigDecimalValuereplace by getBigDecimalValuereplace by getBigDecimalValueSince 3.5.3a. Please useMUser.getOfBPartner(Properties, int, String).useMWFNode.getWFNodes(Properties, String, String)instead.org.compiere.model.Tax.getCharge(Properties, int, Timestamp, Timestamp, int, int, int, int, boolean) replace byPrintData.getNodeByPrintFormatItemId(int)usePrintData.getSQLClause()insteadusePrintData.setSQLClause(SQLFragment)insteadsuggested to use commitEx insteadnot recommended to use, problematic method to enable/disable the log globallyuse inFilterForCSV insteaduse inFilterForCSV insteaduse intersectFilterForCSV insteaduse intersectFilterForCSV insteaduse subsetFilterForCSV insteadwindow is always cache for better performance- wrong method name fixed with IDEMPIERE-5355 - please use getOpenTransactionsSwing client have been deprecateddummy method, not doing anythingDeprecated since 3.4.0. Use insteadMWFEventAudit.get(Properties, int, String)Deprecated since 3.4.0. Use insteadMWFEventAudit.get(Properties, int, int, String)please useMWFNode.getAD_Workflow()workflow process run in the same thread, this is meaningless- method not used - will be deleted in future versions
-
Deprecated ConstructorsConstructorDescriptionShould use
ProcessInfoDialog(String, String, ProcessInfo, boolean)for flexible show messageorg.adempiere.webui.info.InfoAssetWindow(int, String, String, String, boolean, String, int, boolean) org.adempiere.webui.info.InfoInOutWindow(int, String, String, String, boolean, String, int, boolean) org.adempiere.webui.info.InfoOrderWindow(int, String, String, String, boolean, String, int, boolean) - useWArchive(Component, int, int, String)instead- better use the new constructor with organization includedorg.compiere.model.MChangeLog(Properties, int, String, int, int, int, int, int, int, Object, Object) since 3.5.3a . Please useMInventory(MWarehouse, String).Please useMPInstance(MProcess, int, int, String)Use constructor with explicit trxName parameterUseQuery(Properties, MTable, String, String)instead because this method is security error pronesince 3.3.1bworking only with gmail host.