public interface RemoteParameterRecorder
extends java.rmi.Remote
RemoteParameterRecorder
manages the report parameter.Modifier and Type | Method and Description |
---|---|
void |
appendUsedParameter(java.lang.String userName,
org.w3c.dom.Document document)
Appends the used parameter info for the specific user to his historical parameter records.
|
void |
decreaseUserParameterRecordSize(java.lang.String userName,
int maxNum)
Decreases the size of the auto-complete list, and removes the previous setting.
|
boolean |
deleteReportParamList(java.lang.String userName,
java.lang.String reportPath,
java.lang.String reportParamListName,
byte reportParamListType)
Delete parameter value list and remove it from history-parameter.xml file by specified name.
|
void |
deleteRptParameterRecords(java.lang.String report)
Deletes all used parameter records for all users for the specified report.
|
void |
deleteUserParameterRecord(java.lang.String userName)
Deletes all used parameter records for the specific user.
|
boolean |
existReportParamList(java.lang.String userName,
java.lang.String reportPath,
java.lang.String reportParamListName,
byte reportParamListType)
Check whether the saved parameter value list existed?
|
ReportParamList |
getDefaultReportParamList(java.lang.String userName,
java.lang.String reportPath)
Get user defined default saved parameter value list.
|
ReportParamList |
getReportParamList(java.lang.String userName,
java.lang.String reportPath,
java.lang.String reportParamListName,
byte reportParamListType)
Get saved parameter value list by specified name.
|
java.util.List<ReportParamList> |
getReportParamLists(java.lang.String userName,
java.lang.String reportPath,
byte reportParamListType)
Get saved parameter value list collection.
|
org.w3c.dom.Document |
getUserParameterRecords(java.lang.String userName)
Gets the used parameter info for a specific user.
|
boolean |
isDontShowParamPage(java.lang.String userName,
java.lang.String reportPath)
Check whether show parameter page when running report.
|
void |
modifyUsedParameter(java.lang.String userName,
org.w3c.dom.Document document)
Changes the used parameter values for the specific user in his historical parameter records.
|
void |
removeUsedParameter(java.lang.String userName,
org.w3c.dom.Document document)
Removes the used parameter record for the specific user from his historical parameter records.
|
boolean |
saveReportParamList(java.lang.String userName,
ReportParamList reportParamList)
Save parameter value list and persist to history-parameter.xml file.
|
void |
setDontShowParamPage(java.lang.String userName,
java.lang.String reportPath,
boolean dontShow)
Set whether show parameter page when next running report.
|
org.w3c.dom.Document getUserParameterRecords(java.lang.String userName) throws java.rmi.RemoteException
userName
- The user name, same as user ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void decreaseUserParameterRecordSize(java.lang.String userName, int maxNum) throws java.rmi.RemoteException
userName
- The user name, same as user ID.maxNum
- The maximum number of auto-complete lists on preference page.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void appendUsedParameter(java.lang.String userName, org.w3c.dom.Document document) throws java.rmi.RemoteException
userName
- The user name, same as user ID.document
- A set of used parameter values.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void modifyUsedParameter(java.lang.String userName, org.w3c.dom.Document document) throws java.rmi.RemoteException
userName
- The user name, same as user ID.document
- A set of used parameter values.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void removeUsedParameter(java.lang.String userName, org.w3c.dom.Document document) throws java.rmi.RemoteException
userName
- The user name, same as user ID.document
- A set of used parameter values.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void deleteRptParameterRecords(java.lang.String report) throws java.rmi.RemoteException
report
- The full path report name on resource tree, such as /SampleReports/Report1.cls.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void deleteUserParameterRecord(java.lang.String userName) throws java.rmi.RemoteException
userName
- The user name, same as user ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean saveReportParamList(java.lang.String userName, ReportParamList reportParamList) throws java.rmi.RemoteException
ReportParamList
class.userName
- this user name is name of user current running reportreportParamList
- the object is a report level parameter value list, null will be ignore.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean existReportParamList(java.lang.String userName, java.lang.String reportPath, java.lang.String reportParamListName, byte reportParamListType) throws java.rmi.RemoteException
userName
- the current name of user running report.reportPath
- the current report resource path.reportParamListName
- specified saved parameter value list namereportParamListType
- specified saved parameter value list type, reference ReportParamList.TYPE_XXXX
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean deleteReportParamList(java.lang.String userName, java.lang.String reportPath, java.lang.String reportParamListName, byte reportParamListType) throws java.rmi.RemoteException
userName
- this user name is name of user current running reportreportPath
- the current report resource path.reportParamListName
- specified saved parameter value list namereportParamListType
- specified saved parameter value list type, reference ReportParamList.TYPE_XXXX
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.ReportParamList getReportParamList(java.lang.String userName, java.lang.String reportPath, java.lang.String reportParamListName, byte reportParamListType) throws java.rmi.RemoteException
ReportParamList object properties are corresponding with XML nodes or attributes, the detail relationship of corresponding reference ReportParamList
class.
userName
- this user name is name of user current running reportreportPath
- the current report resource path.reportParamListName
- specified saved parameter value list name, this name can be auto saved name or manual saved name.reportParamListType
- specified saved parameter value list type, reference ReportParamList.TYPE_XXXX
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.ReportParamList getDefaultReportParamList(java.lang.String userName, java.lang.String reportPath) throws java.rmi.RemoteException
ReportParamList object properties are corresponding with XML nodes or attributes, the detail relationship of corresponding reference ReportParamList
class.
userName
- this user name is name of user current running reportreportPath
- the current report resource path.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.List<ReportParamList> getReportParamLists(java.lang.String userName, java.lang.String reportPath, byte reportParamListType) throws java.rmi.RemoteException
If saved parameter type is automatically in profile settings, and will remove all manually saved parameter value list.
If saved parameter type is manually in profile settings, and will remove all automatically saved parameter value list.
userName
- this user name is name of user current running reportreportPath
- the current report resource path.reportParamListType
- specified saved parameter value list type, reference ReportParamList.TYPE_XXXX
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean isDontShowParamPage(java.lang.String userName, java.lang.String reportPath) throws java.rmi.RemoteException
It is corresponding with "dontShowParamPage" attribute of <history-parameter> node.
userName
- this user name is name of user current running reportreportPath
- the report resource path, such as "/SampleReports/Cascade Parameters.cls"java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setDontShowParamPage(java.lang.String userName, java.lang.String reportPath, boolean dontShow) throws java.rmi.RemoteException
It is corresponding with "dontShowParamPage" attribute of <history-parameter> node.
userName
- this user name is name of user current running reportreportPath
- the report resource path, such as "/SampleReports/Cascade Parameters.cls"dontShow
- this value will be save to "dontShowParamPage" attribute of <history-parameter> node.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.