gran.app.adapter.external.report
Class BaseSecuredReportAdapter
java.lang.Object
gran.app.adapter.external.report.BaseSecuredReportAdapter
- All Implemented Interfaces:
- Adapter, SecuredAdapter, SecuredReportAdapter
- public class BaseSecuredReportAdapter
- extends java.lang.Object
- implements SecuredReportAdapter
|
Method Summary |
java.lang.String |
createReportImpl(SessionContext sc,
java.lang.String name,
java.lang.String rtypeId,
boolean priv,
java.lang.String filterId,
java.lang.String taskId,
java.lang.String result)
|
void |
deleteReportImpl(SessionContext sc,
java.lang.String reportId)
|
java.lang.String |
getDescription()
Get description of adapter as plain text |
TaskFValue |
getFValueImpl(SessionContext sc,
java.lang.String reportId,
TaskFValue result)
|
GeneralReport |
getReportImpl(SessionContext sc,
java.lang.String reportId,
java.lang.String taskId,
java.lang.String params,
GeneralReport result)
|
java.util.List |
getReportListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
|
java.util.List |
getRtypeListImpl(SessionContext sc,
java.util.List result)
|
boolean |
init()
Initialize adapter. |
void |
saveReportParamsImpl(SessionContext sc,
java.lang.String reportId,
java.lang.String params)
|
void |
updateReportImpl(SessionContext sc,
java.lang.String reportId,
java.lang.String name,
boolean priv,
java.lang.String rtypeId,
java.lang.String filterId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSecuredReportAdapter
public BaseSecuredReportAdapter()
init
public boolean init()
- Description copied from interface:
Adapter
- Initialize adapter. TrackStudio calls this method
during startup.
- Specified by:
init in interface Adapter
- Returns:
- true when adapter initialized, false otherwise.
getDescription
public java.lang.String getDescription()
- Description copied from interface:
Adapter
- Get description of adapter as plain text
- Specified by:
getDescription in interface Adapter
createReportImpl
public java.lang.String createReportImpl(SessionContext sc,
java.lang.String name,
java.lang.String rtypeId,
boolean priv,
java.lang.String filterId,
java.lang.String taskId,
java.lang.String result)
throws GranException
- Specified by:
createReportImpl in interface SecuredReportAdapter
- Throws:
GranException
updateReportImpl
public void updateReportImpl(SessionContext sc,
java.lang.String reportId,
java.lang.String name,
boolean priv,
java.lang.String rtypeId,
java.lang.String filterId)
throws GranException
- Specified by:
updateReportImpl in interface SecuredReportAdapter
- Throws:
GranException
saveReportParamsImpl
public void saveReportParamsImpl(SessionContext sc,
java.lang.String reportId,
java.lang.String params)
throws GranException
- Specified by:
saveReportParamsImpl in interface SecuredReportAdapter
- Parameters:
sc - reportId - params - формат строки такой: PARAM1=VALUE1;PARAM2=VALUE2;PARAM#=VALUE3;...
- Throws:
GranException
deleteReportImpl
public void deleteReportImpl(SessionContext sc,
java.lang.String reportId)
throws GranException
- Specified by:
deleteReportImpl in interface SecuredReportAdapter
- Throws:
GranException
getFValueImpl
public TaskFValue getFValueImpl(SessionContext sc,
java.lang.String reportId,
TaskFValue result)
throws GranException
- Specified by:
getFValueImpl in interface SecuredReportAdapter
- Throws:
GranException
getRtypeListImpl
public java.util.List getRtypeListImpl(SessionContext sc,
java.util.List result)
throws GranException
- Specified by:
getRtypeListImpl in interface SecuredReportAdapter
- Throws:
GranException
getReportListImpl
public java.util.List getReportListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
throws GranException
- Specified by:
getReportListImpl in interface SecuredReportAdapter
- Throws:
GranException
getReportImpl
public GeneralReport getReportImpl(SessionContext sc,
java.lang.String reportId,
java.lang.String taskId,
java.lang.String params,
GeneralReport result)
throws GranException
- Specified by:
getReportImpl in interface SecuredReportAdapter
- Parameters:
sc - reportId - taskId - params - формат строки такой: PARAM1=VALUE1;PARAM2=VALUE2;PARAM#=VALUE3;...result -
- Returns:
- GeneralReport
- Throws:
GranException
Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.