|
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_PA_MeasureCalc
org.compiere.model.MMeasureCalc
public class MMeasureCalc
Performance Measure Calculation
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_PA_MeasureCalc |
|---|
ENTITYTYPE_AD_Reference_ID |
| 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 |
| Fields inherited from interface org.compiere.model.I_PA_MeasureCalc |
|---|
accessLevel, COLUMNNAME_AD_Table_ID, COLUMNNAME_BPartnerColumn, COLUMNNAME_DateColumn, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_KeyColumn, COLUMNNAME_Name, COLUMNNAME_OrgColumn, COLUMNNAME_PA_MeasureCalc_ID, COLUMNNAME_ProductColumn, COLUMNNAME_SelectClause, COLUMNNAME_WhereClause, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MMeasureCalc(Properties ctx,
int PA_MeasureCalc_ID,
String trxName)
Standard Constructor |
|
MMeasureCalc(Properties 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(Properties ctx,
int PA_MeasureCalc_ID)
Get MMeasureCalc from Cache |
MQuery |
getQuery(MGoalRestriction[] restrictions,
String MeasureDisplay,
Timestamp date,
MRole role)
Get Zoom Query |
String |
getSqlBarChart(MGoalRestriction[] restrictions,
String MeasureDisplay,
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 |
String |
getTableName()
Get Table Name |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_PA_MeasureCalc |
|---|
get_AccessLevel, getAD_Table_ID, getAD_Table, 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, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MMeasureCalc(Properties ctx,
int PA_MeasureCalc_ID,
String trxName)
ctx - contextPA_MeasureCalc_ID - idtrxName - trx
public MMeasureCalc(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static MMeasureCalc get(Properties 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,
MRole role)
restrictions - array of goal restrictionsMeasureDisplay - scope of this valuestartDate - optional report start daterole - role
public MQuery 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
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||