|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_R_RequestType
org.compiere.model.MRequestType
public class MRequestType
Request Type Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_R_RequestType |
|---|
CONFIDENTIALTYPE_AD_Reference_ID, CONFIDENTIALTYPE_Internal, CONFIDENTIALTYPE_PartnerConfidential, CONFIDENTIALTYPE_PrivateInformation, CONFIDENTIALTYPE_PublicInformation |
| 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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MRequestType(Properties ctx,
int R_RequestType_ID,
String trxName)
Standard Constructor |
|
MRequestType(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MRequestType |
get(Properties ctx,
int R_RequestType_ID)
Get Request Type (cached) |
int |
getClosed30No()
Get Closed in last 30 days of type |
static MRequestType |
getDefault(Properties ctx)
Get Default Request Type |
int |
getDefaultR_Status_ID()
Get Default R_Status_ID for Type |
int |
getNew30No()
Get New in the last 30 days of type |
int |
getOpenNo()
Get Open No of requests of type |
MQuery |
getQuery(MGoalRestriction[] restrictions,
String MeasureDisplay,
Timestamp date,
int R_Status_ID,
MRole role)
Get Zoom Query |
MRequest[] |
getRequests()
Get public Requests of Type |
MRequest[] |
getRequests(boolean selfService,
int C_BPartner_ID)
Get Requests of Type |
String |
getSqlBarChart(MGoalRestriction[] restrictions,
String MeasureDisplay,
String MeasureDataType,
Timestamp startDate,
MRole role)
Get Sql to value for the bar chart |
String |
getSqlPI(MGoalRestriction[] restrictions,
String MeasureScope,
String MeasureDataType,
Timestamp reportDate,
MRole role)
Get Sql to return single value for the Performance Indicator |
int |
getTotalNo()
Get Total No of requests of type |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MRequestType(Properties ctx,
int R_RequestType_ID,
String trxName)
ctx - contextR_RequestType_ID - idtrxName - transaction
public MRequestType(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MRequestType get(Properties ctx,
int R_RequestType_ID)
ctx - contextR_RequestType_ID - id
public static MRequestType getDefault(Properties ctx)
ctx - context
public int getTotalNo()
public int getOpenNo()
public int getClosed30No()
public int getNew30No()
public MRequest[] getRequests(boolean selfService,
int C_BPartner_ID)
selfService - self serviceC_BPartner_ID - id or 0 for public
public MRequest[] getRequests()
public int getDefaultR_Status_ID()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
public String toString()
toString in class X_R_RequestType
public String getSqlPI(MGoalRestriction[] restrictions,
String MeasureScope,
String MeasureDataType,
Timestamp reportDate,
MRole role)
restrictions - array of goal restrictionsMeasureScope - scope of this valueMeasureDataType - data typereportDate - optional report daterole - role
public String getSqlBarChart(MGoalRestriction[] restrictions,
String MeasureDisplay,
String MeasureDataType,
Timestamp startDate,
MRole role)
restrictions - array of goal restrictionsMeasureDisplay - scope of this valueMeasureDataType - data typestartDate - optional report start daterole - role
public MQuery getQuery(MGoalRestriction[] restrictions,
String MeasureDisplay,
Timestamp date,
int R_Status_ID,
MRole role)
restrictions - array of restrictionsMeasureDisplay - displaydate - dateR_Status_ID - statusrole - role
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||