|
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_C_Project
org.compiere.model.MProject
public class MProject
Project Model
| Field Summary |
|---|
| 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 | |
|---|---|
MProject(Ctx ctx,
int C_Project_ID,
String trxName)
Standard Constructor |
|
MProject(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeDelete()
Before Delete |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
int |
copyDetailsFrom(MProject project)
Copy Lines/Phase/Task from other Project |
static MProject |
copyFrom(Ctx ctx,
int C_Project_ID,
Timestamp dateDoc,
String trxName)
Create new Project by copying |
int |
copyLinesFrom(MProject project)
Copy Lines From other Project |
int |
copyPhasesFrom(MProject fromProject)
Copy Phases/Tasks from other Project |
int |
copyPhasesFrom(MProjectType type)
Copy Phases from Type |
int |
getC_ProjectType_ID_Int()
Get Project Type as Int (is Button). |
MProjectIssue[] |
getIssues()
Get Project Issues |
MProjectLine[] |
getLines()
Get Project Lines |
int |
getM_PriceList_ID()
Get Price List from Price List Version |
MProjectPhase[] |
getPhases()
Get Project Phases |
void |
setC_ProjectType_ID(int C_ProjectType_ID)
Set Project Type (overwrite r/o) |
void |
setM_PriceList_Version_ID(int M_PriceList_Version_ID)
Set PL Version |
void |
setProjectType(MProjectType type)
Set Project Type and Category. |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MProject(Ctx ctx,
int C_Project_ID,
String trxName)
ctx - contextC_Project_ID - idtrxName - transaction
public MProject(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MProject copyFrom(Ctx ctx,
int C_Project_ID,
Timestamp dateDoc,
String trxName)
ctx - contextC_Project_ID - projectdateDoc - date of the document datetrxName - transaction
public int getC_ProjectType_ID_Int()
public void setC_ProjectType_ID(int C_ProjectType_ID)
C_ProjectType_ID - idpublic String toString()
toString in class X_C_Projectpublic int getM_PriceList_ID()
public void setM_PriceList_Version_ID(int M_PriceList_Version_ID)
setM_PriceList_Version_ID in class X_C_ProjectM_PriceList_Version_ID - idpublic MProjectLine[] getLines()
public MProjectIssue[] getIssues()
public MProjectPhase[] getPhases()
public int copyDetailsFrom(MProject project)
project - project
public int copyLinesFrom(MProject project)
project - project
public int copyPhasesFrom(MProject fromProject)
fromProject - project
public void setProjectType(MProjectType type)
type - project typepublic int copyPhasesFrom(MProjectType type)
type - Project Type
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
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 | |||||||||