|
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_S_Resource
org.compiere.model.MResource
public class MResource
Resource Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_S_Resource |
|---|
accessLevel, 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 | |
|---|---|
MResource(Ctx ctx,
int S_Resource_ID,
String trxName)
Standard Constructor |
|
MResource(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MProduct |
getProduct()
Get Product |
MResourceType |
getResourceType()
Get cached Resource Type |
| Methods inherited from class org.compiere.model.X_S_Resource |
|---|
get_AccessLevel, getAD_User_ID, getChargeableQty, getDescription, getKeyNamePair, getM_Warehouse_ID, getName, getS_Resource_ID, getS_ResourceType_ID, getValue, initPO, isAvailable, setAD_User_ID, setChargeableQty, setDescription, setIsAvailable, setM_Warehouse_ID, setName, setS_Resource_ID, setS_ResourceType_ID, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MResource(Ctx ctx,
int S_Resource_ID,
String trxName)
ctx - contextS_Resource_ID - id
public MResource(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result set| Method Detail |
|---|
public MResourceType getResourceType()
public MProduct getProduct()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||