KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > enterprise > common > ReportManagerSL


1 package com.calipso.reportgenerator.enterprise.common;
2
3
4 import com.calipso.reportgenerator.common.*;
5 import com.calipso.reportgenerator.reportdefinitions.ReportView;
6 import com.calipso.reportgenerator.reportdefinitions.ReportDefinition;
7 import com.calipso.reportgenerator.reportdefinitions.ReportSourceDefinition;
8 import com.calipso.reportgenerator.reportcalculator.Matrix;
9
10 import java.util.Map JavaDoc;
11 import java.util.Set JavaDoc;
12 import java.util.Vector JavaDoc;
13 import java.util.Collection JavaDoc;
14 import java.rmi.RemoteException JavaDoc;
15
16 import com.calipso.reportgenerator.common.InfoException;
17
18
19
20 /**
21  * Esta clase representa los métodos sobre los cuales opera el cliente
22  * cuando interactúa con EJB objetcs. El EJB container implementará
23  * esta interface; el objeto implementado es el EJB object, que es
24  * el responsable de delegar las invocaciones al Bean Stateless determinado.
25  * Las métodos correspondientes están implementados en ReportManager.
26  * @see com.calipso.reportgenerator.reportmanager.ReportManager
27  */

28
29 public interface ReportManagerSL extends javax.ejb.EJBObject JavaDoc{
30
31   public int PrepareReport(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID) throws InfoException, RemoteException JavaDoc;
32
33   public int PrepareReport(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId , Map JavaDoc paramValues) throws InfoException, RemoteException JavaDoc;
34
35   public void ReleaseReport(ReportGeneratorConfiguration configuration, int handle) throws InfoException, RemoteException JavaDoc;
36
37   public void prepareReportSource(ReportGeneratorConfiguration configuration, String JavaDoc reportSourceDefinitionId) throws InfoException, RemoteException JavaDoc;
38
39   public Map JavaDoc getReportDefinitions(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
40
41   public Map JavaDoc getReportSourceDefinitions(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
42
43   public Map JavaDoc getReportsForEntity(ReportGeneratorConfiguration configuration, String JavaDoc entityID) throws InfoException, RemoteException JavaDoc;
44
45   public void ExecuteAction(ReportGeneratorConfiguration configuration, int handle, String JavaDoc actionName, Object JavaDoc params) throws InfoException, RemoteException JavaDoc;
46
47   public void saveReportDefinition(ReportGeneratorConfiguration configuration, ReportDefinition reportDefinition) throws InfoException, RemoteException JavaDoc;
48
49   public void saveReportSourceDefinition(ReportGeneratorConfiguration configuration, ReportSourceDefinition reportSourceDefinition) throws InfoException, RemoteException JavaDoc;
50
51   public void invalidateReportSource(ReportGeneratorConfiguration configuration, String JavaDoc reportSourceDefinitionId) throws InfoException, RemoteException JavaDoc;
52
53   public ReportQuery getReportQuery(ReportGeneratorConfiguration configuration, int handle) throws InfoException, RemoteException JavaDoc;
54
55   public ReportQuery getDefaultReportQuery(ReportGeneratorConfiguration configuration, int handle) throws InfoException, RemoteException JavaDoc;
56
57   public ReportQuery getReportQuery(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId) throws InfoException, RemoteException JavaDoc;
58
59   public ReportQuery getDefaultReportQuery(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId) throws InfoException, RemoteException JavaDoc;
60
61   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, int handle, Map JavaDoc paramValues) throws InfoException, RemoteException JavaDoc;
62
63   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, int handle, ReportQuery query) throws InfoException, RemoteException JavaDoc;
64
65   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID, Map JavaDoc paramValues) throws InfoException, RemoteException JavaDoc;
66
67   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID, ReportQuery query) throws InfoException, RemoteException JavaDoc;
68
69   public ReportQuery getDefaultReportQuery(ReportGeneratorConfiguration configuration, int handle,String JavaDoc userID) throws InfoException, RemoteException JavaDoc;
70
71   public Map JavaDoc getReportViews(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID, String JavaDoc userID) throws InfoException, RemoteException JavaDoc;
72
73   public Map JavaDoc getReportViews(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID) throws InfoException, RemoteException JavaDoc;
74
75   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, int handle, String JavaDoc reportViewId) throws InfoException, RemoteException JavaDoc;
76
77   public String JavaDoc getDefaultReportViewId(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId, String JavaDoc userId) throws InfoException, RemoteException JavaDoc;
78
79   public ReportSpec getReportSpec(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId, String JavaDoc reportSourceDefId) throws InfoException, RemoteException JavaDoc;
80
81   public ReportSpec getReportSpec(ReportGeneratorConfiguration configuration, ReportDefinition reportDefinition, ReportSourceDefinition reportSourceDef) throws InfoException, RemoteException JavaDoc;
82
83   public ReportSpec getReportSpec(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId) throws InfoException, RemoteException JavaDoc;
84
85   public void registerDefinitions(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
86
87   public Vector JavaDoc registerReportSourceDefinitions(ReportGeneratorConfiguration configuration, Vector JavaDoc vector) throws InfoException, RemoteException JavaDoc;
88
89   public Vector JavaDoc registerReportDefinitions(ReportGeneratorConfiguration configuration, Vector JavaDoc vector) throws InfoException, RemoteException JavaDoc;
90
91   public Vector JavaDoc registerReportViews(ReportGeneratorConfiguration configuration, Vector JavaDoc vector) throws InfoException, RemoteException JavaDoc;
92
93   public void deleteAllRepositories(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
94
95   public void deleteAllDefinitions(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
96
97   public void deleteReportSourceRepository(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
98
99   public void deleteReportSourceDefinitionRepository(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
100
101   public void deleteReportDefinitionRepository(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
102
103   public void deleteReportViewRepository(ReportGeneratorConfiguration configuration) throws InfoException, RemoteException JavaDoc;
104
105   public void deleteReportView(ReportGeneratorConfiguration configuration, String JavaDoc id, String JavaDoc reportDefinitionId, String JavaDoc userId) throws InfoException, RemoteException JavaDoc;
106
107   public void deleteReportSource(ReportGeneratorConfiguration configuration, String JavaDoc reportSourceDefinitionId) throws InfoException, RemoteException JavaDoc;
108
109   public void deleteReportSourceDefinition(ReportGeneratorConfiguration configuration, String JavaDoc reportSourceDefinitionID) throws InfoException, RemoteException JavaDoc;
110
111   public void deleteReportDefinition(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID) throws InfoException, RemoteException JavaDoc;
112
113   public void assingDefaultView(ReportGeneratorConfiguration configuration, String JavaDoc id, String JavaDoc reportDefinitionId, String JavaDoc userId) throws InfoException, RemoteException JavaDoc;
114
115   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, MicroReport microReport) throws InfoException, RemoteException JavaDoc;
116
117   public int PrepareReport(ReportGeneratorConfiguration configuration, MicroReport microReport) throws InfoException, RemoteException JavaDoc;
118
119 // public ZipOutputStream getMicroReport(ReportGeneratorConfiguration configuration, int reportHandle, ReportView reportView,String userID,String fileName) throws InfoException, RemoteException;
120

121   public String JavaDoc getXML(ReportGeneratorConfiguration configuration, int handle) throws InfoException, RemoteException JavaDoc;
122
123   public String JavaDoc getXML(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID, Map JavaDoc paramValues) throws InfoException, RemoteException JavaDoc;
124
125   public Set JavaDoc getDimensionValues(ReportGeneratorConfiguration configuration, int handle, String JavaDoc name) throws InfoException, RemoteException JavaDoc;
126
127   public Set JavaDoc getDimensionValues(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionID, Map JavaDoc paramValues, String JavaDoc name) throws InfoException, RemoteException JavaDoc;
128
129   public Vector JavaDoc getUpdatedDataModel(ReportGeneratorConfiguration configuration, int handle, int mode, int row, int col, boolean isDistributed) throws InfoException, RemoteException JavaDoc;
130
131   public ReportView getReportView(ReportGeneratorConfiguration configuration, String JavaDoc reportViewId) throws InfoException, RemoteException JavaDoc;
132
133   public void saveReportView(ReportGeneratorConfiguration configuration, ReportView reportView) throws InfoException, RemoteException JavaDoc;
134
135   public ReportView getReportViewFromID(ReportGeneratorConfiguration configuration, String JavaDoc id, String JavaDoc reportDefinitionId, String JavaDoc userId) throws InfoException, RemoteException JavaDoc;
136
137   public ReportResult ExecReportQuery(ReportGeneratorConfiguration configuration, int handle, ReportView reportView) throws InfoException, RemoteException JavaDoc;
138
139   public Matrix getMatrix(ReportGeneratorConfiguration configuration, int handle) throws InfoException, RemoteException JavaDoc;
140
141   public ReportDefinition getReportDefinitionFromID(ReportGeneratorConfiguration configuration, String JavaDoc reportDefinitionId) throws InfoException, RemoteException JavaDoc;
142
143   public ReportSourceDefinition getReportSourceDefinitionFromID(ReportGeneratorConfiguration configuration, String JavaDoc reportSourceDefinitionId) throws InfoException, RemoteException JavaDoc;
144
145   public boolean validateUser(ReportGeneratorConfiguration configuration, String JavaDoc userName, String JavaDoc password, String JavaDoc userRepositoryPath) throws InfoException, RemoteException JavaDoc;
146
147   public void exportReport(ReportGeneratorConfiguration configuration, String JavaDoc userName, String JavaDoc password,String JavaDoc userRepositoryPath, String JavaDoc reportDefinitionId, Map JavaDoc paramValues, boolean isLandscape, int type, String JavaDoc destinationPath, String JavaDoc name) throws InfoException, RemoteException JavaDoc;
148
149   public byte[] exportReport(ReportGeneratorConfiguration configuration, Map JavaDoc params) throws InfoException, RemoteException JavaDoc;
150
151   public boolean addNewUser(ReportGeneratorConfiguration configuration, String JavaDoc rootPasswd, String JavaDoc userName, String JavaDoc password, String JavaDoc userRepositoryPath) throws InfoException, RemoteException JavaDoc;
152
153   public boolean validateRol(ReportGeneratorConfiguration configuration, String JavaDoc[] roles, String JavaDoc userName, String JavaDoc rolRepositoryPath) throws InfoException, RemoteException JavaDoc;
154
155   public void addUserData(ReportGeneratorConfiguration configuration, String JavaDoc userName, String JavaDoc name, String JavaDoc company, String JavaDoc userDataRepositoryPath) throws InfoException, RemoteException JavaDoc;
156
157   public MicroReport getMicroReport(ReportGeneratorConfiguration configuration, String JavaDoc fileName) throws InfoException, RemoteException JavaDoc;
158
159   public MicroReport getMicroReport(ReportGeneratorConfiguration reportGeneratorConfiguration, String JavaDoc reportDefinitionId,Map JavaDoc param) throws InfoException, RemoteException JavaDoc;
160
161   public Collection JavaDoc getUserData(ReportGeneratorConfiguration reportGeneratorConfiguration, String JavaDoc userId, String JavaDoc userDataRepositoryPath) throws InfoException, RemoteException JavaDoc;
162
163   public void logClientData(ReportGeneratorConfiguration reportGeneratorConfiguration, String JavaDoc clientData) throws InfoException, RemoteException JavaDoc;
164
165   public void addUserRol(ReportGeneratorConfiguration reportGeneratorConfiguration, String JavaDoc userName, String JavaDoc rol, String JavaDoc rolsRepositoryPath) throws InfoException, RemoteException JavaDoc;
166
167   public boolean isAcceptedLicence(ReportGeneratorConfiguration reportGeneratorConfiguration) throws RemoteException JavaDoc, InfoException;
168
169   public void acceptedLicence(ReportGeneratorConfiguration reportGeneratorConfiguration, boolean value) throws RemoteException JavaDoc, InfoException;
170
171   
172 }
173
174
175
Popular Tags