|
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_PA_MeasureCalc
org.compiere.model.MMeasureCalc
public class MMeasureCalc
Performance Measure Calculation
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_PA_MeasureCalc |
|---|
accessLevel, ENTITYTYPE_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 | |
|---|---|
MMeasureCalc(Ctx ctx,
int PA_MeasureCalc_ID,
String trxName)
Standard Constructor |
|
MMeasureCalc(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
static String |
addRestrictions(String sql,
boolean queryOnly,
MGoalRestriction[] restrictions,
MRole role,
String tableName,
String orgColumn,
String bpColumn,
String pColumn)
Add Restrictions to SQL |
static MMeasureCalc |
get(Ctx ctx,
int PA_MeasureCalc_ID)
Get MMeasureCalc from Cache |
Query |
getQuery(MGoalRestriction[] restrictions,
String MeasureDisplay,
Timestamp date,
MRole role)
Get Zoom Query |
String |
getSqlBarChart(MGoalRestriction[] restrictions,
String MeasureDisplay,
Timestamp startDate,
Timestamp endDate,
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 |
String |
getTableName()
Get Table Name |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_PA_MeasureCalc |
|---|
get_AccessLevel, getAD_Table_ID, getBPartnerColumn, getDateColumn, getDescription, getEntityType, getKeyColumn, getKeyNamePair, getName, getOrgColumn, getPA_MeasureCalc_ID, getProductColumn, getSelectClause, getWhereClause, initPO, setAD_Table_ID, setBPartnerColumn, setDateColumn, setDescription, setEntityType, setKeyColumn, setName, setOrgColumn, setPA_MeasureCalc_ID, setProductColumn, setSelectClause, setWhereClause |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MMeasureCalc(Ctx ctx,
int PA_MeasureCalc_ID,
String trxName)
ctx - contextPA_MeasureCalc_ID - idtrxName - trx
public MMeasureCalc(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static MMeasureCalc get(Ctx ctx,
int PA_MeasureCalc_ID)
ctx - contextPA_MeasureCalc_ID - id
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,
Timestamp startDate,
Timestamp endDate,
MRole role)
restrictions - array of goal restrictionsMeasureDisplay - scope of this valuestartDate - optional report start daterole - role
public Query getQuery(MGoalRestriction[] restrictions,
String MeasureDisplay,
Timestamp date,
MRole role)
restrictions - restrictionsMeasureDisplay - displaydate - daterole - role
public static String addRestrictions(String sql,
boolean queryOnly,
MGoalRestriction[] restrictions,
MRole role,
String tableName,
String orgColumn,
String bpColumn,
String pColumn)
sql - orig sqlqueryOnly - incomplete sql for query restrictionrestrictions - restrictionsrole - roletableName - table nameorgColumn - org columnbpColumn - bpartner columnpColumn - product column
public String getTableName()
public String toString()
toString in class X_PA_MeasureCalc
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||