|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_M_Warehouse
org.compiere.model.MWarehouse
public class MWarehouse
Warehouse Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_Warehouse |
|---|
accessLevel, M_WAREHOUSESOURCE_ID_AD_Reference_ID, Model, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MWarehouse(Ctx ctx,
int M_Warehouse_ID,
String trxName)
Standard Constructor |
|
MWarehouse(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MWarehouse(MOrg org)
Organization Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeDelete()
Before Delete |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MWarehouse |
get(Ctx ctx,
int M_Warehouse_ID)
Get from Cache |
MLocator |
getDefaultLocator()
Get Default Locator |
int |
getDefaultM_Locator_ID()
Get Default M_Locator_ID |
static MWarehouse[] |
getForOrg(Ctx ctx,
int AD_Org_ID)
Get Warehouses for Org |
MLocator[] |
getLocators(boolean reload)
Get Locators |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_M_Warehouse |
|---|
get_AccessLevel, getC_Location_ID, getDescription, getKeyNamePair, getM_Warehouse_ID, getM_WarehouseSource_ID, getName, getReplenishmentClass, getSeparator, getValue, initPO, isDisallowNegativeInv, setC_Location_ID, setDescription, setIsDisallowNegativeInv, setM_Warehouse_ID, setM_WarehouseSource_ID, setName, setReplenishmentClass, setSeparator, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MWarehouse(Ctx ctx,
int M_Warehouse_ID,
String trxName)
ctx - contextM_Warehouse_ID - idtrxName - transaction
public MWarehouse(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MWarehouse(MOrg org)
org - parent| Method Detail |
|---|
public static MWarehouse get(Ctx ctx,
int M_Warehouse_ID)
ctx - contextM_Warehouse_ID - id
public static MWarehouse[] getForOrg(Ctx ctx,
int AD_Org_ID)
ctx - contextAD_Org_ID - id
public MLocator[] getLocators(boolean reload)
reload - if true reload
public MLocator getDefaultLocator()
public int getDefaultM_Locator_ID()
public String toString()
toString in class X_M_Warehouseprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - newsuccess - success
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected boolean beforeDelete()
beforeDelete in class PO
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||