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