|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.server.api.paramlist.ParamList
jet.server.api.paramlist.ReportParamList
public class ReportParamList
The ReportParamList object contains all saved parameter values of report level parameter value list.
The report parameter value list contains 3 types:
TYPE_MANUAL
TYPE_AUTO
TYPE_DEFAULT
| Field Summary | |
|---|---|
static byte |
TYPE_AUTO
This constant used to describe saved parameter value list type is auto. |
static byte |
TYPE_BUILDIN_DEFAULT
This constant used to describe this report parameter value list is build in default of template, and cannot be saved to XML file. |
static byte |
TYPE_DEFAULT
This constant used to describe saved parameter value list type is user defined default value. |
static byte |
TYPE_MANUAL
This constant used to describe saved parameter value list type is manual. |
| Constructor Summary | |
|---|---|
ReportParamList(java.lang.String reportPath,
byte type)
New a report parameter value list object. |
|
| Method Summary | |
|---|---|
void |
addSheetParamList(SheetParamList sheetParamList)
Add report sheet parameter value list object. |
java.lang.String |
getReportPath()
Get report resource path. |
SheetParamList |
getSheetParamList(java.lang.String sheetName)
Get report sheet parameter value list object by specified sheet name. |
java.util.Map<java.lang.String,SheetParamList> |
getSheetParamListMap()
Get report sheet saved parameter value list map. |
byte |
getType()
Get parameter value list saved type, it can be TYPE_MANUAL/TYPE_AUTO/TYPE_DEFAULT |
boolean |
isAuto()
Check whether this parameter value list is saved automatically. |
boolean |
isBuildin()
Check whether this parameter value list is build in default values of template. |
boolean |
isDefault()
Check whether this parameter value list is saved user defined default. |
boolean |
isManual()
Check whether this parameter value list is saved manually. |
boolean |
isSheetsEquals(java.util.Map<java.lang.String,SheetParamList> thatSheetParamListMap)
|
void |
setReportPath(java.lang.String reportPath)
Set report resource path. |
void |
setSheetParamListMap(java.util.Map<java.lang.String,SheetParamList> sheetParamListMap)
Set report sheet parameter value list map. |
void |
setType(byte type)
Set parameter value list saved type, it can be TYPE_MANUAL/TYPE_AUTO/TYPE_DEFAULT |
java.lang.String |
toString()
|
| Methods inherited from class jet.server.api.paramlist.ParamList |
|---|
addParamValue, get, getAttributes, getName, getParamValue, getParamValueMap, getParamValues, isParamValuesEquals, set, setAttributes, setName, setParamValues, sizeOfParamValues, sort |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte TYPE_BUILDIN_DEFAULT
public static final byte TYPE_MANUAL
public static final byte TYPE_AUTO
public static final byte TYPE_DEFAULT
| Constructor Detail |
|---|
public ReportParamList(java.lang.String reportPath,
byte type)
reportPath - report resource path. for example: "/SampleReports/Cascade Parameters.cls"type - the report parameter list type, options are ReportParamList.TYPE_XXXX.| Method Detail |
|---|
public java.util.Map<java.lang.String,SheetParamList> getSheetParamListMap()
They are corresponding with <SheetParamList> node list nested in <ReportParamList>
public void setSheetParamListMap(java.util.Map<java.lang.String,SheetParamList> sheetParamListMap)
The report sheet parameter value list will be save to <SheetParamList> nodes nested in <ReportParamList> node in XML file.
They are corresponding with <SheetParamList> nodes list nested in <ReportParamList>
sheetParamListMap - SheetParamList collectionpublic void addSheetParamList(SheetParamList sheetParamList)
The report sheet parameter value list will be save to <SheetParamList> node nested in <ReportParamList> node in XML file.
sheetParamList - report sheet level parameter value list objectpublic SheetParamList getSheetParamList(java.lang.String sheetName)
sheetName - specified sheet name.
public java.lang.String getReportPath()
Example: /SampleReports/Cascade Parameters.cls
It is corresponding with "report" attribute of <history-parameter> node.
public void setReportPath(java.lang.String reportPath)
Example: /SampleReports/Cascade Parameters.cls
It's will be save to "report" attribute of <history-parameter> node.
public byte getType()
The default value is TYPE_MANUAL.
It is corresponding with "isAutosaveParam" attribute of <ParameterListXXX>(deprecated since V11.1Update1) or "type" attribute of <ReportParamList>(since V11.1Update1) node.
public void setType(byte type)
The default value is TYPE_MANUAL.
It is corresponding with "isAutosaveParam" attribute of <ParameterListXXX>(deprecated since V11.1Update1) or "type" attribute of <ReportParamList>(since V11.1Update1) node.
public boolean isManual()
public boolean isAuto()
public boolean isDefault()
public boolean isBuildin()
public boolean isSheetsEquals(java.util.Map<java.lang.String,SheetParamList> thatSheetParamListMap)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||