Package org.compiere.model
Class MPOSTerminal
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_U_POSTerminal
-
- org.compiere.model.MPOSTerminal
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,I_U_POSTerminal
,Evaluatee
public class MPOSTerminal extends X_U_POSTerminal
- Author:
- Ashley G Ramdass
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.compiere.model.X_U_POSTerminal
CARDTRANSFERTYPE_AD_Reference_ID, CARDTRANSFERTYPE_BankAccount, CARDTRANSFERTYPE_CashBook, CASHBOOKTRANSFERTYPE_AD_Reference_ID, CASHBOOKTRANSFERTYPE_BankAccount, CASHBOOKTRANSFERTYPE_CashBook, CHECKTRANSFERTYPE_AD_Reference_ID, CHECKTRANSFERTYPE_BankAccount, CHECKTRANSFERTYPE_CashBook
-
Fields 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, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_U_POSTerminal
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AutoLock, COLUMNNAME_C_CashBook_ID, COLUMNNAME_C_CashBPartner_ID, COLUMNNAME_C_TemplateBPartner_ID, COLUMNNAME_Card_BankAccount_ID, COLUMNNAME_CardTransferBankAccount_ID, COLUMNNAME_CardTransferCashBook_ID, COLUMNNAME_CardTransferType, COLUMNNAME_CashBookTransferType, COLUMNNAME_CashTransferBankAccount_ID, COLUMNNAME_CashTransferCashBook_ID, COLUMNNAME_Check_BankAccount_ID, COLUMNNAME_CheckTransferBankAccount_ID, COLUMNNAME_CheckTransferCashBook_ID, COLUMNNAME_CheckTransferType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_LastLockTime, COLUMNNAME_Locked, COLUMNNAME_LockTime, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_Name, COLUMNNAME_PO_PriceList_ID, COLUMNNAME_PrinterName, COLUMNNAME_SalesRep_ID, COLUMNNAME_SO_PriceList_ID, COLUMNNAME_U_POSTerminal_ID, COLUMNNAME_U_POSTerminal_UU, COLUMNNAME_UnlockingTime, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description MPOSTerminal(Properties ctx, int U_POSTerminal_ID, String trxName)
MPOSTerminal(Properties ctx, ResultSet rs, String trxName)
MPOSTerminal(Properties ctx, MPOSTerminal copy)
MPOSTerminal(Properties ctx, MPOSTerminal copy, String trxName)
MPOSTerminal(MPOSTerminal copy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
beforeSave(boolean newRecord)
Called before Save for Pre-Save Operationstatic void
checkLock(MPOSTerminal terminal)
static MPOSTerminal
get(int U_POSTerminal_ID)
static MPOSTerminal
get(Properties ctx, int U_POSTerminal_ID)
protected void
loadComplete(boolean success)
Load is complete-
Methods inherited from class org.compiere.model.X_U_POSTerminal
get_AccessLevel, getC_CashBook, getC_CashBook_ID, getC_CashBPartner, getC_CashBPartner_ID, getC_TemplateBPartner, getC_TemplateBPartner_ID, getCard_BankAccount, getCard_BankAccount_ID, getCardTransferBankAccount, getCardTransferBankAccount_ID, getCardTransferCashBook, getCardTransferCashBook_ID, getCardTransferType, getCashBookTransferType, getCashTransferBankAccount, getCashTransferBankAccount_ID, getCashTransferCashBook, getCashTransferCashBook_ID, getCheck_BankAccount, getCheck_BankAccount_ID, getCheckTransferBankAccount, getCheckTransferBankAccount_ID, getCheckTransferCashBook, getCheckTransferCashBook_ID, getCheckTransferType, getDescription, getHelp, getLastLockTime, getLockTime, getM_Warehouse, getM_Warehouse_ID, getName, getPO_PriceList, getPO_PriceList_ID, getPrinterName, getSalesRep, getSalesRep_ID, getSO_PriceList, getSO_PriceList_ID, getU_POSTerminal_ID, getU_POSTerminal_UU, getUnlockingTime, getValue, initPO, isAutoLock, isLocked, setAutoLock, setC_CashBook_ID, setC_CashBPartner_ID, setC_TemplateBPartner_ID, setCard_BankAccount_ID, setCardTransferBankAccount_ID, setCardTransferCashBook_ID, setCardTransferType, setCashBookTransferType, setCashTransferBankAccount_ID, setCashTransferCashBook_ID, setCheck_BankAccount_ID, setCheckTransferBankAccount_ID, setCheckTransferCashBook_ID, setCheckTransferType, setDescription, setHelp, setLastLockTime, setLocked, setLockTime, setM_Warehouse_ID, setName, setPO_PriceList_ID, setPrinterName, setSalesRep_ID, setSO_PriceList_ID, setU_POSTerminal_ID, setU_POSTerminal_UU, setUnlockingTime, setValue, toString
-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, 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_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Methods inherited from interface org.compiere.model.I_U_POSTerminal
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
-
-
-
Constructor Detail
-
MPOSTerminal
public MPOSTerminal(Properties ctx, ResultSet rs, String trxName)
- Parameters:
ctx
- Contextrs
- Result SettrxName
- Transaction
-
MPOSTerminal
public MPOSTerminal(Properties ctx, int U_POSTerminal_ID, String trxName)
- Parameters:
ctx
-U_POSTerminal_ID
-trxName
-
-
MPOSTerminal
public MPOSTerminal(MPOSTerminal copy)
- Parameters:
copy
-
-
MPOSTerminal
public MPOSTerminal(Properties ctx, MPOSTerminal copy)
- Parameters:
ctx
-copy
-
-
MPOSTerminal
public MPOSTerminal(Properties ctx, MPOSTerminal copy, String trxName)
- Parameters:
ctx
-copy
-trxName
-
-
-
Method Detail
-
get
public static MPOSTerminal get(int U_POSTerminal_ID)
- Parameters:
U_POSTerminal_ID
- Terminal ID- Returns:
- Terminal
-
get
public static MPOSTerminal get(Properties ctx, int U_POSTerminal_ID)
- Parameters:
ctx
- ContextU_POSTerminal_ID
- Terminal ID- Returns:
- Terminal
-
loadComplete
protected void loadComplete(boolean success)
Description copied from class:PO
Load is complete- Overrides:
loadComplete
in classPO
- Parameters:
success
- success To be extended by sub-classes
-
checkLock
public static void checkLock(MPOSTerminal terminal)
-
beforeSave
protected boolean beforeSave(boolean newRecord)
Description copied from class:PO
Called before Save for Pre-Save Operation- Overrides:
beforeSave
in classPO
- Parameters:
newRecord
- new record- Returns:
- true if record can be saved
- See Also:
PO.beforeSave(boolean)
-
-