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 ; 8 import java.util.Set ; 9 import java.util.Vector ; 10 import java.util.Collection ; 11 import java.rmi.RemoteException ; 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 27 28 public interface ReportManagerSF extends javax.ejb.EJBObject { 29 30 public int PrepareReport(String reportDefinitionID) throws InfoException, RemoteException ; 31 32 public int PrepareReport(String reportDefinitionId , Map paramValues) throws InfoException, RemoteException ; 33 34 public void ReleaseReport(int handle) throws InfoException, RemoteException ; 35 36 37 public void prepareReportSource(String reportSourceDefinitionId) throws InfoException, RemoteException ; 38 39 public Map getReportDefinitions() throws InfoException, RemoteException ; 40 41 public Map getReportSourceDefinitions() throws InfoException, RemoteException ; 42 43 public Map getReportsForEntity(String entityID) throws InfoException, RemoteException ; 44 45 public void ExecuteAction(int handle, String actionName, Object params) throws InfoException, RemoteException ; 46 47 public void invalidateReportSource(String reportSourceDefinitionId) throws InfoException, RemoteException ; 48 49 public ReportQuery getReportQuery(int handle) throws InfoException, RemoteException ; 50 51 public ReportQuery getDefaultReportQuery(int handle) throws InfoException, RemoteException ; 52 53 public ReportQuery getReportQuery(String reportDefinitionId) throws InfoException, RemoteException ; 54 55 public ReportQuery getDefaultReportQuery(String reportDefinitionId) throws InfoException, RemoteException ; 56 57 public ReportResult ExecReportQuery(int handle, Map paramValues) throws InfoException, RemoteException ; 58 59 public ReportResult ExecReportQuery(int handle, ReportQuery query) throws InfoException, RemoteException ; 60 61 public ReportResult ExecReportQuery(String reportDefinitionID, Map paramValues) throws InfoException, RemoteException ; 62 63 public ReportResult ExecReportQuery(String reportDefinitionID, ReportQuery query) throws InfoException, RemoteException ; 64 65 public ReportQuery getDefaultReportQuery(int handle,String userID) throws InfoException, RemoteException ; 66 67 public Map getReportViews(String reportDefinitionID, String userID) throws InfoException, RemoteException ; 68 69 public Map getReportViews(String reportDefinitionID) throws InfoException, RemoteException ; 70 71 public ReportResult ExecReportQuery(int handle, String reportViewId) throws InfoException, RemoteException ; 72 73 public String getDefaultReportViewId(String reportDefinitionId, String userId) throws InfoException, RemoteException ; 74 75 public ReportSpec getReportSpec(String reportDefinitionId, String reportSourceDefId) throws InfoException, RemoteException ; 76 77 public ReportSpec getReportSpec(ReportDefinition reportDefinition, ReportSourceDefinition reportSourceDef) throws InfoException, RemoteException ; 78 79 public ReportSpec getReportSpec(String reportDefinitionId) throws InfoException, RemoteException ; 80 81 public void registerDefinitions() throws InfoException, RemoteException ; 82 83 public Vector registerReportSourceDefinitions(Vector vector) throws InfoException, RemoteException ; 84 85 public Vector registerReportDefinitions(Vector vector) throws InfoException, RemoteException ; 86 87 public Vector registerReportViews(Vector vector) throws InfoException, RemoteException ; 88 89 public void deleteAllRepositories() throws InfoException, RemoteException ; 90 91 public void deleteAllDefinitions() throws InfoException, RemoteException ; 92 93 public void deleteReportSourceRepository() throws InfoException, RemoteException ; 94 95 public void deleteReportSourceDefinitionRepository() throws InfoException, RemoteException ; 96 97 public void deleteReportDefinitionRepository() throws InfoException, RemoteException ; 98 99 public void deleteReportViewRepository() throws InfoException, RemoteException ; 100 101 public void deleteReportView(String id, String reportDefinitionId, String userId) throws InfoException, RemoteException ; 102 103 public void deleteReportSource(String reportSourceDefinitionId) throws InfoException, RemoteException ; 104 105 public void deleteReportSourceDefinition(String reportSourceDefinitionID) throws InfoException, RemoteException ; 106 107 public void deleteReportDefinition(String reportDefinitionID) throws InfoException, RemoteException ; 108 109 public void assingDefaultView(String id, String reportDefinitionId, String userId) throws InfoException, RemoteException ; 110 111 public ReportResult ExecReportQuery(MicroReport microReport) throws InfoException, RemoteException ; 112 113 public int PrepareReport(MicroReport microReport) throws InfoException, RemoteException ; 114 115 117 public String getXML(int handle) throws InfoException, RemoteException ; 118 119 public String getXML(String reportDefinitionID, Map paramValues) throws InfoException, RemoteException ; 120 121 public Set getDimensionValues(int handle, String name) throws InfoException, RemoteException ; 122 123 public Set getDimensionValues(String reportDefinitionID, Map paramValues, String name) throws InfoException, RemoteException ; 124 125 public Vector getUpdatedDataModel(int handle, int mode, int row, int col, boolean isDistributed) throws InfoException, RemoteException ; 126 127 public ReportView getReportView(String reportViewId) throws InfoException, RemoteException ; 128 129 public void saveReportView(ReportView reportView) throws InfoException, RemoteException ; 130 131 public ReportView getReportViewFromID(String id, String reportDefinitionId, String userId) throws InfoException, RemoteException ; 132 133 public ReportResult ExecReportQuery(int handle, ReportView reportView) throws InfoException, RemoteException ; 134 135 public void saveReportDefinition(ReportDefinition reportDefinition) throws InfoException, RemoteException ; 136 137 public void saveReportSourceDefinition(ReportSourceDefinition reportSourceDefinition) throws InfoException, RemoteException ; 138 139 public Matrix getMatrix(int handle) throws InfoException, RemoteException ; 140 141 public ReportDefinition getReportDefinitionFromID(String reportDefinitionId) throws InfoException, RemoteException ; 142 143 public ReportSourceDefinition getReportSourceDefinitionFromID(String reportSourceDefinitionId) throws InfoException, RemoteException ; 144 145 public boolean validateUser(String userName, String password, String userRepositoryPath) throws InfoException, RemoteException ; 146 147 public void exportReport(String userName, String password,String userRepositoryPath, String reportDefinitionId, Map paramValues, boolean isLandscape, int type, String destinationPath, String name) throws InfoException, RemoteException ; 148 149 public byte[] exportReport(Map params) throws InfoException, RemoteException ; 150 151 public boolean addNewUser(String rootPasswd, String userName, String password, String userRepositoryPath) throws InfoException, RemoteException ; 152 153 public boolean validateRol(String [] roles, String userName, String rolRepositoryPath) throws InfoException, RemoteException ; 154 155 public void addUserData(String userName, String name, String company, String userDataRepositoryPath) throws InfoException, RemoteException ; 156 157 public MicroReport getMicroReport(String fileName) throws InfoException, RemoteException ; 158 159 public MicroReport getMicroReport(String reportDefinitionId, Map param) throws InfoException, RemoteException ; 160 161 public Collection getUserData(String userId, String userDataRepositoryPath) throws InfoException, RemoteException ; 162 163 public void logClientData(String clientData) throws RemoteException , InfoException; 164 165 public void addUserRol(String userName, String rol, String rolsRepositoryPath) throws RemoteException , InfoException; 166 167 public boolean isAcceptedLicence() throws RemoteException , InfoException; 168 169 public void acceptedLicence(boolean value) throws RemoteException , InfoException; 170 171 172 } 173 174 175 | Popular Tags |