Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionSee IDEMPIERE-1022ticket IDEMPIERE-1963 replaced this with an Info Windowticket IDEMPIERE-1965 replaced this with an Info Windowreplace by billboard based implementationreplace by billboard based implementationnot implementednot implementednot implementedReplace by
ToolBarUseWindowinsteadnot implementednot implementedShould useProcessInfoDialog(String, String, ProcessInfo, boolean)for flexible show messagenot implementeduse 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) not usenot useuseInfoPanel.buildDataSQLFragment(int, int)insteaduse getSaveKeys- is not required anymore, for login preferences the client is being set now as the user client- useWArchive(Component, int, int, String)insteadticket IDEMPIERE-1963 replaced this with an Info Windowticket IDEMPIERE-1965 replaced this with an Info Windowreplace byGridField.getDependentOn()use 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)insteadColors are not used in the new web UIlegacy method for the now deprecated Swing UIlegacy method for the now deprecated Swing UIlegacy method for the now deprecated Swing UIonly orgs are now fetched automaticallyUseMAlertRule.getSql(boolean)insteaduse the version with postingType and trxNameuse the version with trxNameUseMAttachment.getID(int, int, String)insteadorg.compiere.model.MChangeLog(Properties, int, String, int, int, int, int, int, int, Object, Object) UseMChat.getID(int, int, String)insteadincomplete/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 getSQLFilterHalf build and not use in current codeSince ADempiere 3.5.2a; please useMFactAcct.deleteEx(int, int, String)instead.since 3.5.3a . Please useMInventory(MWarehouse, String).Create new Invoice by copyingnot implementedfor deprecated swing client onlyuse 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)insteadPlease useMPInstance(MProcess, int, int, String)UseMPostIt.getID(int, int, String)instead- use UPDATE insteadSince 3.5.3a. Please useMProduct.forS_Resource_ID(Properties, int, String)Use constructor with explicit trxName parameterUse 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 fully implementednot fully implementednot fully implemented- 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.not fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionarynot fully implement, marked as inactive in application dictionaryorg.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.UseQuery(Properties, MTable, String, String)instead because this method is security error proneorg.compiere.model.Tax.getCharge(Properties, int, Timestamp, Timestamp, int, int, int, int, boolean) not fully implementedsince 3.3.1bnot fully implementedreplace byPrintData.getNodeByPrintFormatItemId(int)usePrintData.getSQLClause()insteadusePrintData.setSQLClause(SQLFragment)insteadPlease useServerReportCtl.PARAM_PRINT_FORMATPlease useServerReportCtl.PARAM_PRINT_INFOPlease useServerReportCtl.PARAM_PRINTER_NAMEnot fully implementednot fully implementedsuggested to use commitEx insteadnot 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 dictionarynot recommended to use, problematic method to enable/disable the log globallyuse inFilterForCSV insteaduse inFilterForCSV insteaduse intersectFilterForCSV insteaduse intersectFilterForCSV insteaduse subsetFilterForCSV insteadThis class was moved toDBExceptionand will be removed in future.Swing client have been deprecatedworking only with gmail host.window is always cache for better performance- wrong method name fixed with IDEMPIERE-5355 - please use getOpenTransactionsSwing client have been deprecateddummy method, not doing anythingnot fully implemented, marked as inactive in dictionaryplease useMWFNode.getAD_Workflow()workflow process run in the same thread, this is meaningless- method not used - will be deleted in future versionsUseSimpleBooleanLexer.VOCABULARYinstead.UseSimpleBooleanParser.VOCABULARYinstead.
-
Deprecated Interfaces
-
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 clientticket 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 FieldsFieldDescriptionPlease use
ServerReportCtl.PARAM_PRINT_FORMATPlease useServerReportCtl.PARAM_PRINT_INFOPlease useServerReportCtl.PARAM_PRINTER_NAMEUseSimpleBooleanLexer.VOCABULARYinstead.UseSimpleBooleanParser.VOCABULARYinstead.
-
Deprecated MethodsMethodDescriptionSee IDEMPIERE-1022not implementednot implementednot implementednot implementednot implementednot implementeduse getSQLFilter() insteaduse setSQLFilter(SQLFragment sqlFilter) insteaduse
InfoPanel.buildDataSQLFragment(int, int)insteaduse getSaveKeysreplace byGridField.getDependentOn()use 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)insteadColors are not used in the new web UIlegacy method for the now deprecated Swing UIlegacy method for the now deprecated Swing UIlegacy method for the now deprecated Swing UIonly orgs are now fetched automaticallyUseMAlertRule.getSql(boolean)insteaduse the version with postingType and trxNameuse the version with trxNameUseMAttachment.getID(int, int, String)insteadUseMChat.getID(int, int, String)insteadincomplete/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 anythingplease 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)insteadorg.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.