KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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