|
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_Product_Category
org.compiere.model.MProductCategory
public class MProductCategory
Product Category Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_Product_Category |
|---|
accessLevel, MMPOLICY_AD_Reference_ID, MMPOLICY_FiFo, MMPOLICY_LiFo, 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 | |
|---|---|
MProductCategory(Ctx ctx,
int M_Product_Category_ID,
String trxName)
Default Constructor |
|
MProductCategory(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeDelete()
Before Delete |
static MProductCategory |
get(Ctx ctx,
int M_Product_Category_ID)
Get from Cache |
static MProductCategory |
getDefault(Ctx ctx)
Get Default Category for Client |
static MProductCategory |
getOfProduct(Ctx ctx,
int M_Product_ID)
Get MProductCategory from Product |
static boolean |
isCategory(int M_Product_Category_ID,
int M_Product_ID)
Is Product in Category |
boolean |
isFiFo()
FiFo Material Movement Policy |
| Methods inherited from class org.compiere.model.X_M_Product_Category |
|---|
get_AccessLevel, getA_Asset_Group_ID, getAD_PrintColor_ID, getDescription, getKeyNamePair, getM_Product_Category_ID, getMMPolicy, getName, getPlannedMargin, getValue, initPO, isDefault, isMMPolicyValid, isPurchasedToOrder, isSelfService, setA_Asset_Group_ID, setAD_PrintColor_ID, setDescription, setIsDefault, setIsPurchasedToOrder, setIsSelfService, setM_Product_Category_ID, setMMPolicy, setName, setPlannedMargin, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MProductCategory(Ctx ctx,
int M_Product_Category_ID,
String trxName)
ctx - contextM_Product_Category_ID - idtrxName - transaction
public MProductCategory(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MProductCategory get(Ctx ctx,
int M_Product_Category_ID)
ctx - contextM_Product_Category_ID - id
public static MProductCategory getOfProduct(Ctx ctx,
int M_Product_ID)
ctx - contextM_Product_ID - Product id
public static boolean isCategory(int M_Product_Category_ID,
int M_Product_ID)
M_Product_Category_ID - categoryM_Product_ID - product
public static MProductCategory getDefault(Ctx ctx)
ctx - context
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected boolean beforeDelete()
beforeDelete in class POpublic boolean isFiFo()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||