|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aurel.track.report.datasource.accounting.AccountingDatasourceBase
public abstract class AccountingDatasourceBase
| Nested Class Summary | |
|---|---|
protected static class |
AccountingDatasourceBase.AccountigReports
The defined operation modes 0 - overview of own costs 1 - overview of all costs |
protected static class |
AccountingDatasourceBase.OperationMode
The defined operation modes 0 - overview of own costs 1 - overview of all costs |
protected static interface |
AccountingDatasourceBase.PARAMETER_NAME
|
protected static class |
AccountingDatasourceBase.TimeInterval
The defined time intervals |
| Constructor Summary | |
|---|---|
AccountingDatasourceBase()
|
|
| Method Summary | |
|---|---|
protected AccountingReportConfigStruct |
getConfigData(java.util.Map parameters,
java.lang.Integer userID)
Get |
boolean |
implementSerialization()
Whether the getSerializedDatasource(OutputStream outputStream, Object datasource) returns null or not |
protected java.util.Map |
loadParametersBeforeExecute(java.util.Map parameters,
java.lang.Integer personID)
Prepares the lists before execute because they might be needed by filtering the data |
java.util.Map |
prepareParameters(java.util.Map parameters,
DatasourceDescriptor datasourceDescriptor,
java.lang.Integer personID,
java.util.Locale locale)
Prepares the parameters map: 1. |
void |
serializeDatasource(java.io.OutputStream outputStream,
java.lang.Object datasource)
Serializes the raw data source object into an OutputStream (typically an XML file) - For jar templates (freemarker) it might be not needed to serialize the datasource object because it is a proprietary object built specifically for the template - For zip templates (jasper, fop, etc.) it is typically needed to take the serialized raw datasource as a file and use it as data source by editing the template file using a template editing tool If the serialized raw data is not needed then just return null, but then implementSerialization() should also return false |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.aurel.track.report.datasource.IPluggableDatasouce |
|---|
getDatasource |
| Constructor Detail |
|---|
public AccountingDatasourceBase()
| Method Detail |
|---|
public java.util.Map prepareParameters(java.util.Map parameters,
DatasourceDescriptor datasourceDescriptor,
java.lang.Integer personID,
java.util.Locale locale)
prepareParameters in interface IPluggableDatasouce
public void serializeDatasource(java.io.OutputStream outputStream,
java.lang.Object datasource)
IPluggableDatasouce
serializeDatasource in interface IPluggableDatasouceoutputStream - typically the OutputStream of the HttpResponse objectdatasource - typically DOM Document object or any other proprietary objectpublic boolean implementSerialization()
IPluggableDatasouce
implementSerialization in interface IPluggableDatasouce
protected AccountingReportConfigStruct getConfigData(java.util.Map parameters,
java.lang.Integer userID)
parameters - userID -
protected java.util.Map loadParametersBeforeExecute(java.util.Map parameters,
java.lang.Integer personID)
parameters - personID -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||