|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.dispatching.service.DefaultRequestContext
it.eng.spago.dispatching.module.AbstractModule
it.eng.spagobi.services.modules.ImportExportModule
public class ImportExportModule
This class implements a module which handles the import / export operations
Constructor Summary | |
---|---|
ImportExportModule()
|
Method Summary | |
---|---|
private void |
associateConnections(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to associate some exported connections to the connections of the portal in use |
private void |
associateEngines(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to associate some exported engines to the engines of the portal in use |
private void |
associateMetadata(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the associations between the exported metadata and the one of the portal in use |
private void |
associateRoles(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to associate some exported roles to the roles of the portal in use |
private void |
backConnAssociation(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to go back from the connections association to the engines association |
private void |
backEngineAssociation(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to go back from the engines association to the roles association |
private void |
backMetadataAssociation(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to go back from the metadata association to the connections association |
private void |
exitImport(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to exit from the import procedure |
private void |
exportConf(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to export some selected objects |
private java.util.List |
extractObjId(java.util.List requests)
|
private java.util.Map |
getCurrentConnectionInfo()
Gather information about the connections defined into the current SpagoBI platform. |
private void |
importConf(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Manages the request of the user to import contents of an exported archive |
void |
init(it.eng.spago.base.SourceBean config)
Initialize the module |
void |
service(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Reads the operation asked by the user and calls the export or import methods |
Methods inherited from class it.eng.spago.dispatching.module.AbstractModule |
---|
getConfig, getModule, getPage, getSharedData, setModule, setPage, setSharedData |
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext |
---|
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse, setRequestContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportExportModule()
Method Detail |
---|
public void init(it.eng.spago.base.SourceBean config)
init
in interface it.eng.spago.init.InitializerIFace
init
in class it.eng.spago.dispatching.module.AbstractModule
config
- Configuration sourcebean of the modulepublic void service(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws java.lang.Exception
request
- The Source Bean containing all request parametersresponse
- The Source Bean containing all response parameters
exception
- If an exception occurs
java.lang.Exception
private void exportConf(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private java.util.List extractObjId(java.util.List requests)
private void importConf(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void associateRoles(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void associateEngines(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void associateConnections(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void associateMetadata(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void exitImport(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void backEngineAssociation(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void backConnAssociation(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private void backMetadataAssociation(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws EMFUserError
request
- Spago SourceBean requestresponse
- Spago SourceBean response
EMFUserError
private java.util.Map getCurrentConnectionInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |