Package org.compiere.model
Class MBPartner
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_BPartner
org.compiere.model.MBPartner
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_C_BPartner,I_Persistent,Evaluatee,ImmutablePOSupport
Business Partner Model
- Version:
- $Id: MBPartner.java,v 1.5 2006/09/23 19:38:07 comdivision Exp $
- Author:
- Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
- BF [ 1568774 ] Walk-In BP: invalid created/updated values
- BF [ 1817752 ] MBPartner.getLocations should return only active one, Armen Rizal, GOODWILL CONSULT
- BF [ 2041226 ] BP Open Balance should count only Completed Invoice
- BF [ 2498949 ] BP Get Not Invoiced Shipment Value return null
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MBPBankAccount[]BP Bank Accountsprotected MUser[]Usersprotected MBPGroupBP Groupprotected MBPartnerLocation[]Addressedprotected IntegerPrim Userprotected IntegerPrim AddressFields inherited from class org.compiere.model.X_C_BPartner
AD_LANGUAGE_AD_Reference_ID, DELIVERYRULE_AD_Reference_ID, DELIVERYRULE_AfterPayment, DELIVERYRULE_Availability, DELIVERYRULE_CompleteLine, DELIVERYRULE_CompleteOrder, DELIVERYRULE_Force, DELIVERYRULE_Manual, DELIVERYVIARULE_AD_Reference_ID, DELIVERYVIARULE_Delivery, DELIVERYVIARULE_Pickup, DELIVERYVIARULE_Shipper, FREIGHTCOSTRULE_AD_Reference_ID, FREIGHTCOSTRULE_Calculated, FREIGHTCOSTRULE_CustomerAccount, FREIGHTCOSTRULE_FixPrice, FREIGHTCOSTRULE_FreightIncluded, FREIGHTCOSTRULE_Line, INVOICERULE_AD_Reference_ID, INVOICERULE_AfterDelivery, INVOICERULE_AfterOrderDelivered, INVOICERULE_CustomerScheduleAfterDelivery, INVOICERULE_Immediate, PAYMENTRULE_AD_Reference_ID, PAYMENTRULE_Cash, PAYMENTRULE_Check, PAYMENTRULE_CreditCard, PAYMENTRULE_DirectDebit, PAYMENTRULE_DirectDeposit, PAYMENTRULE_MixedPOSPayment, PAYMENTRULE_OnCredit, PAYMENTRULEPO_AD_Reference_ID, PAYMENTRULEPO_Cash, PAYMENTRULEPO_Check, PAYMENTRULEPO_CreditCard, PAYMENTRULEPO_DirectDebit, PAYMENTRULEPO_DirectDeposit, PAYMENTRULEPO_MixedPOSPayment, PAYMENTRULEPO_OnCredit, SOCREDITSTATUS_AD_Reference_ID, SOCREDITSTATUS_CreditHold, SOCREDITSTATUS_CreditOK, SOCREDITSTATUS_CreditStop, SOCREDITSTATUS_CreditWatch, SOCREDITSTATUS_NoCreditCheckFields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.compiere.model.I_C_BPartner
accessLevel, COLUMNNAME_AcqusitionCost, COLUMNNAME_ActualLifeTimeValue, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Language, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_OrgBP_ID, COLUMNNAME_BPartner_Parent_ID, COLUMNNAME_C_BP_Group_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_BPartner_UU, COLUMNNAME_C_Dunning_ID, COLUMNNAME_C_Greeting_ID, COLUMNNAME_C_InvoiceSchedule_ID, COLUMNNAME_C_PaymentTerm_ID, COLUMNNAME_C_TaxGroup_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CustomerProfileID, COLUMNNAME_Default1099Box_ID, COLUMNNAME_DeliveryRule, COLUMNNAME_DeliveryViaRule, COLUMNNAME_Description, COLUMNNAME_DocumentCopies, COLUMNNAME_DunningGrace, COLUMNNAME_DUNS, COLUMNNAME_FirstSale, COLUMNNAME_FlatDiscount, COLUMNNAME_FreightCostRule, COLUMNNAME_Invoice_PrintFormat_ID, COLUMNNAME_InvoiceRule, COLUMNNAME_Is1099Vendor, COLUMNNAME_IsActive, COLUMNNAME_IsCustomer, COLUMNNAME_IsDiscountPrinted, COLUMNNAME_IsEmployee, COLUMNNAME_IsManufacturer, COLUMNNAME_IsOneTime, COLUMNNAME_IsPOTaxExempt, COLUMNNAME_IsProspect, COLUMNNAME_IsSalesRep, COLUMNNAME_IsSummary, COLUMNNAME_IsTaxExempt, COLUMNNAME_IsVendor, COLUMNNAME_Logo_ID, COLUMNNAME_M_DiscountSchema_ID, COLUMNNAME_M_PriceList_ID, COLUMNNAME_NAICS, COLUMNNAME_Name, COLUMNNAME_Name2, COLUMNNAME_NumberEmployees, COLUMNNAME_PaymentRule, COLUMNNAME_PaymentRulePO, COLUMNNAME_PO_DiscountSchema_ID, COLUMNNAME_PO_PaymentTerm_ID, COLUMNNAME_PO_PriceList_ID, COLUMNNAME_POReference, COLUMNNAME_PotentialLifeTimeValue, COLUMNNAME_Rating, COLUMNNAME_ReferenceNo, COLUMNNAME_SalesRep_ID, COLUMNNAME_SalesVolume, COLUMNNAME_SendEMail, COLUMNNAME_ShareOfCustomer, COLUMNNAME_ShelfLifeMinPct, COLUMNNAME_SO_CreditLimit, COLUMNNAME_SO_CreditUsed, COLUMNNAME_SO_Description, COLUMNNAME_SOCreditStatus, COLUMNNAME_TaxID, COLUMNNAME_TotalOpenBalance, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_URL, COLUMNNAME_Value, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionMBPartner(Properties ctx) Constructor for new BPartner from TemplateMBPartner(Properties ctx, int C_BPartner_ID, String trxName) MBPartner(Properties ctx, int C_BPartner_ID, String trxName, String... virtualColumns) MBPartner(Properties ctx, String C_BPartner_UU, String trxName) UUID based ConstructorMBPartner(Properties ctx, ResultSet rs, String trxName) MBPartner(Properties ctx, MBPartner copy) Copy constructorMBPartner(Properties ctx, MBPartner copy, String trxName) Copy constructorCopy constructorMBPartner(X_I_BPartner impBP) Import Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanafterDelete(boolean success) Execute after Delete operations.protected booleanafterSave(boolean newRecord, boolean success) Called after Save for Post-Save Operation.
Default implementation is nop, to be implemented in sub-classes that needed it.protected booleanbeforeSave(boolean newRecord) Called before Save for Pre-Save Operation.
Default implementation is nop, to be implemented in sub-classes that needed it.static MBPartnerget(Properties ctx, int C_BPartner_ID) Get BPartner with idstatic MBPartnerget(Properties ctx, int C_BPartner_ID, String trxName) Get BPartner with id in a transactionstatic MBPartnerget(Properties ctx, String Value) Get BPartner with Valuestatic MBPartnerget(Properties ctx, String Value, String trxName) Get BPartner with Value in a transactionintDeprecated, for removal: This API element is subject to removal in a future version.getBankAccounts(boolean requery) Get Bank Accountsstatic MBPartnergetBPartnerCashTrx(Properties ctx, int AD_Client_ID) Get Cash Trx Business Partner (as template for new BP)Get BP GroupgetContact(int AD_User_ID) Get specified or first ContactMUser[]getContacts(boolean reload) Get All ContactsGet Credit Watch Ratiostatic MBPartnergetFirstWithTaxID(Properties ctx, String taxID, String trxName) Get BPartner with taxID in a transactiongetLocation(int C_BPartner_Location_ID) Get location for C_BPartner_Location_ID or first bill Location or first locationgetLocations(boolean reload) Get All Locations (only active)intGet DiscountSchema idintGet PriceList IDstatic BigDecimalgetNotInvoicedAmt(int C_BPartner_ID) Get Not Invoiced Shipment ValueintGet PO DiscountSchema idintGet PO PriceList IDintGet Primary AD_User_IDGet Primary C_BPartner_Location (BillTo or First)intGet Primary C_BPartner_Location_ID (First BillTo or First)getSOCreditStatus(BigDecimal additionalAmt) Get SO CreditStatus with additional amountstatic MBPartnergetTemplate(Properties ctx, int AD_Client_ID) Create new Business Partner from template (not save)protected booleaninitTemplate(int AD_Client_ID) Initialize BPartner record from templatebooleanCredit Status is Stop or Hold.mark PO as immutableprotected booleanExecute after the Delete operation have been committed to database.
Default implementation is nop, to be implemented in sub-classes that needed it.voidCalculate Actual Life Time Invoiced Value from DBvoidsetBPGroup(MBPGroup group) Set BP GroupvoidsetClientOrg(int AD_Client_ID, int AD_Org_ID) Set Client/OrgvoidsetPrimaryAD_User_ID(int AD_User_ID) Set Primary AD_User_IDvoidsetPrimaryC_BPartner_Location_ID(int C_BPartner_Location_ID) Set Primary C_BPartner_Location_IDvoidUpdate Credit Status for sales transactionvoidCalculate Total Open Balance and SO_CreditUsed.toString()String RepresentationMethods inherited from class org.compiere.model.X_C_BPartner
get_AccessLevel, getAcqusitionCost, getActualLifeTimeValue, getAD_Language, getAD_OrgBP_ID, getBPartner_Parent_ID, getC_BP_Group, getC_BP_Group_ID, getC_BPartner_ID, getC_BPartner_UU, getC_Dunning, getC_Dunning_ID, getC_Greeting, getC_Greeting_ID, getC_InvoiceSchedule, getC_InvoiceSchedule_ID, getC_PaymentTerm, getC_PaymentTerm_ID, getC_TaxGroup, getC_TaxGroup_ID, getCustomerProfileID, getDefault1099Box, getDefault1099Box_ID, getDeliveryRule, getDeliveryViaRule, getDescription, getDocumentCopies, getDunningGrace, getDUNS, getFirstSale, getFlatDiscount, getFreightCostRule, getInvoice_PrintFormat, getInvoice_PrintFormat_ID, getInvoiceRule, getKeyNamePair, getLogo_ID, getM_DiscountSchema, getM_PriceList, getNAICS, getName, getName2, getNumberEmployees, getPaymentRule, getPaymentRulePO, getPO_DiscountSchema, getPO_PaymentTerm, getPO_PaymentTerm_ID, getPO_PriceList, getPOReference, getPotentialLifeTimeValue, getRating, getReferenceNo, getSalesRep, getSalesRep_ID, getSalesVolume, getShareOfCustomer, getShelfLifeMinPct, getSO_CreditLimit, getSO_CreditUsed, getSO_Description, getSOCreditStatus, getTaxID, getTotalOpenBalance, getURL, getValue, initPO, is1099Vendor, isCustomer, isDiscountPrinted, isEmployee, isManufacturer, isOneTime, isPOTaxExempt, isProspect, isSalesRep, isSendEMail, isSummary, isTaxExempt, isVendor, setAcqusitionCost, setActualLifeTimeValue, setAD_Language, setAD_OrgBP_ID, setBPartner_Parent_ID, setC_BP_Group_ID, setC_BPartner_ID, setC_BPartner_UU, setC_Dunning_ID, setC_Greeting_ID, setC_InvoiceSchedule_ID, setC_PaymentTerm_ID, setC_TaxGroup_ID, setCustomerProfileID, setDefault1099Box_ID, setDeliveryRule, setDeliveryViaRule, setDescription, setDocumentCopies, setDunningGrace, setDUNS, setFirstSale, setFlatDiscount, setFreightCostRule, setInvoice_PrintFormat_ID, setInvoiceRule, setIs1099Vendor, setIsCustomer, setIsDiscountPrinted, setIsEmployee, setIsManufacturer, setIsOneTime, setIsPOTaxExempt, setIsProspect, setIsSalesRep, setIsSummary, setIsTaxExempt, setIsVendor, setLogo_ID, setM_DiscountSchema_ID, setM_PriceList_ID, setNAICS, setName, setName2, setNumberEmployees, setPaymentRule, setPaymentRulePO, setPO_DiscountSchema_ID, setPO_PaymentTerm_ID, setPO_PriceList_ID, setPOReference, setPotentialLifeTimeValue, setRating, setReferenceNo, setSalesRep_ID, setSalesVolume, setSendEMail, setShareOfCustomer, setShelfLifeMinPct, setSO_CreditLimit, setSO_CreditUsed, setSO_Description, setSOCreditStatus, setTaxID, setTotalOpenBalance, setURL, setValueMethods inherited from class org.compiere.model.PO
beforeDelete, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_C_BPartner
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
m_contacts
Users -
m_locations
Addressed -
m_accounts
BP Bank Accounts -
m_primaryC_BPartner_Location_ID
Prim Address -
m_primaryAD_User_ID
Prim User -
m_group
BP Group
-
-
Constructor Details
-
MBPartner
Constructor for new BPartner from Template- Parameters:
ctx- context
-
MBPartner
- Parameters:
ctx- contextrs- ResultSet to load fromtrxName- transaction
-
MBPartner
UUID based Constructor- Parameters:
ctx- ContextC_BPartner_UU- UUID keytrxName- Transaction
-
MBPartner
- Parameters:
ctx- contextC_BPartner_ID- partner or 0 or -1 (load from template)trxName- transaction
-
MBPartner
Import Constructor- Parameters:
impBP- import
-
MBPartner
Copy constructor- Parameters:
copy-
-
MBPartner
Copy constructor- Parameters:
ctx-copy-
-
MBPartner
Copy constructor- Parameters:
ctx-copy-trxName-
-
MBPartner
- Parameters:
ctx-C_BPartner_ID-trxName-virtualColumns-
-
-
Method Details
-
getTemplate
Create new Business Partner from template (not save)- Parameters:
ctx- contextAD_Client_ID- client- Returns:
- new Business Partner created from template or null
-
getBPartnerCashTrx
Get Cash Trx Business Partner (as template for new BP)- Parameters:
ctx- contextAD_Client_ID- client- Returns:
- Cash Trx Business Partner or null
-
get
Get BPartner with Value- Parameters:
ctx- contextValue- value- Returns:
- BPartner or null
-
get
Get BPartner with Value in a transaction- Parameters:
ctx- contextValue- valuetrxName- transaction- Returns:
- BPartner or null
-
getFirstWithTaxID
Get BPartner with taxID in a transaction- Parameters:
ctx- contexttaxID- taxIDtrxName- transaction- Returns:
- BPartner or null
-
get
Get BPartner with id- Parameters:
ctx- contextC_BPartner_ID-- Returns:
- BPartner or null
-
get
Get BPartner with id in a transaction- Parameters:
ctx- contextC_BPartner_ID-trxName- transaction- Returns:
- BPartner or null
-
getNotInvoicedAmt
Get Not Invoiced Shipment Value- Parameters:
C_BPartner_ID- partner- Returns:
- value in accounting currency
-
initTemplate
protected boolean initTemplate(int AD_Client_ID) Initialize BPartner record from template- Parameters:
AD_Client_ID- client- Returns:
- true if loaded
-
getContacts
Get All Contacts- Parameters:
reload- true to reload from DB- Returns:
- contacts
-
getContact
Get specified or first Contact- Parameters:
AD_User_ID- optional user- Returns:
- contact or null
-
getLocations
Get All Locations (only active)- Parameters:
reload- true to reload from DB- Returns:
- locations
-
getLocation
Get location for C_BPartner_Location_ID or first bill Location or first location- Parameters:
C_BPartner_Location_ID- optional explicit location- Returns:
- location or null
-
getBankAccounts
Get Bank Accounts- Parameters:
requery- true to reload from DB- Returns:
- Bank Accounts
-
toString
String Representation- Overrides:
toStringin classX_C_BPartner- Returns:
- info
-
setClientOrg
public void setClientOrg(int AD_Client_ID, int AD_Org_ID) Set Client/Org- Overrides:
setClientOrgin classPO- Parameters:
AD_Client_ID- clientAD_Org_ID- org
-
getAD_OrgBP_ID_Int
Deprecated, for removal: This API element is subject to removal in a future version.Get Linked Organization. (is Button) The Business Partner is another Organization for explicit Inter-Org transactions- Returns:
- AD_Org_ID if BP
-
getPrimaryC_BPartner_Location_ID
public int getPrimaryC_BPartner_Location_ID()Get Primary C_BPartner_Location_ID (First BillTo or First)- Returns:
- C_BPartner_Location_ID
-
getPrimaryC_BPartner_Location
Get Primary C_BPartner_Location (BillTo or First)- Returns:
- C_BPartner_Location
-
getPrimaryAD_User_ID
public int getPrimaryAD_User_ID()Get Primary AD_User_ID- Returns:
- AD_User_ID or -1
-
setPrimaryC_BPartner_Location_ID
public void setPrimaryC_BPartner_Location_ID(int C_BPartner_Location_ID) Set Primary C_BPartner_Location_ID- Parameters:
C_BPartner_Location_ID- id
-
setPrimaryAD_User_ID
public void setPrimaryAD_User_ID(int AD_User_ID) Set Primary AD_User_ID- Parameters:
AD_User_ID- id
-
setTotalOpenBalance
public void setTotalOpenBalance()Calculate Total Open Balance and SO_CreditUsed. -
setActualLifeTimeValue
public void setActualLifeTimeValue()Calculate Actual Life Time Invoiced Value from DB -
setSOCreditStatus
public void setSOCreditStatus()Update Credit Status for sales transaction -
getSOCreditStatus
Get SO CreditStatus with additional amount- Parameters:
additionalAmt- additional amount in Accounting Currency- Returns:
- simulated credit status
-
getCreditWatchRatio
Get Credit Watch Ratio- Returns:
- BP Group ratio or 0.9
-
isCreditStopHold
public boolean isCreditStopHold()Credit Status is Stop or Hold.- Returns:
- true if Stop/Hold
-
getBPGroup
Get BP Group- Returns:
- group
-
setBPGroup
Set BP Group- Parameters:
group- group
-
getM_PriceList_ID
public int getM_PriceList_ID()Get PriceList ID- Specified by:
getM_PriceList_IDin interfaceI_C_BPartner- Overrides:
getM_PriceList_IDin classX_C_BPartner- Returns:
- BP M_PriceList_ID or BP Group M_PriceList_ID
-
getPO_PriceList_ID
public int getPO_PriceList_ID()Get PO PriceList ID- Specified by:
getPO_PriceList_IDin interfaceI_C_BPartner- Overrides:
getPO_PriceList_IDin classX_C_BPartner- Returns:
- BP PO price list id or BP Group PO price list id
-
getM_DiscountSchema_ID
public int getM_DiscountSchema_ID()Get DiscountSchema id- Specified by:
getM_DiscountSchema_IDin interfaceI_C_BPartner- Overrides:
getM_DiscountSchema_IDin classX_C_BPartner- Returns:
- Discount Schema id
-
getPO_DiscountSchema_ID
public int getPO_DiscountSchema_ID()Get PO DiscountSchema id- Specified by:
getPO_DiscountSchema_IDin interfaceI_C_BPartner- Overrides:
getPO_DiscountSchema_IDin classX_C_BPartner- Returns:
- po discount schema id
-
beforeSave
protected boolean beforeSave(boolean newRecord) Description copied from class:POCalled before Save for Pre-Save Operation.
Default implementation is nop, to be implemented in sub-classes that needed it.- Overrides:
beforeSavein classPO- Parameters:
newRecord- true if it is a new record- Returns:
- true if record can be saved
-
afterSave
protected boolean afterSave(boolean newRecord, boolean success) Description copied from class:POCalled after Save for Post-Save Operation.
Default implementation is nop, to be implemented in sub-classes that needed it. -
afterDelete
protected boolean afterDelete(boolean success) Description copied from class:POExecute after Delete operations.
Default implementation is nop, to be implemented in sub-classes that needed it.- Overrides:
afterDeletein classPO- Parameters:
success- true if record deleted- Returns:
- true if delete is a success
-
postDelete
protected boolean postDelete()Description copied from class:POExecute after the Delete operation have been committed to database.
Default implementation is nop, to be implemented in sub-classes that needed it.- Overrides:
postDeletein classPO- Returns:
- true if post delete is a success
-
markImmutable
Description copied from interface:ImmutablePOSupportmark PO as immutable- Specified by:
markImmutablein interfaceImmutablePOSupport- Returns:
- PO
-