|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.tools.importexport.ImportUtilities
public class ImportUtilities
Field Summary | |
---|---|
static int |
MAX_DEFAULT_IMPORT_FILE_SIZE
|
Constructor Summary | |
---|---|
ImportUtilities()
|
Method Summary | |
---|---|
static void |
associateWithExistingEntities(SbiDataSetConfig dataset,
SbiDataSetConfig exportedDataset,
org.hibernate.Session sessionCurrDB,
ImporterMetadata importer,
MetadataAssociations metaAss)
Set into the dataset the datasource associated with the exported dataset. |
static void |
associateWithExistingEntities(SbiDataSource datasource,
SbiDataSource exportedDatasource,
org.hibernate.Session sessionCurrDB,
ImporterMetadata importer,
MetadataAssociations metaAss)
Set into the datasource the dialect type domain associated with the exported datasource. |
static void |
associateWithExistingEntities(SbiLov lov,
SbiLov exportedLov,
org.hibernate.Session sessionCurrDB,
ImporterMetadata importer,
MetadataAssociations metaAss)
Set into the lov the lov type domain associated with the exported lov. |
static void |
associateWithExistingEntities(SbiObjects obj,
SbiObjects exportedObj,
org.hibernate.Session sessionCurrDB,
ImporterMetadata importer,
MetadataAssociations metaAss)
Set into the biobject to the engine/object type/object state/datasource the entities associated with the exported biobject. |
static void |
associateWithExistingEntities(SbiParameters parameter,
SbiParameters exportedParameter,
org.hibernate.Session sessionCurrDB,
ImporterMetadata importer,
MetadataAssociations metaAss)
Set into the parameter to the parameter type domain associated with the exported parameter. |
static void |
decompressArchive(java.lang.String pathImpTmpFolder,
java.lang.String pathArchiveFile)
Decompress the export compress file. |
static void |
entitiesAssociationsSbiAlarmContacts(SbiAlarmContact exportedAlarm,
SbiAlarmContact existingAlarm,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For Alarm Contacts search new Ids |
static void |
entitiesAssociationsSbiAlarms(SbiAlarm exportedAlarm,
SbiAlarm existingAlarm,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For Alarm search new Ids |
static void |
entitiesAssociationsSbiKpi(SbiKpi exportedKpi,
SbiKpi existingKpi,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
For Kpi search new Ids |
static void |
entitiesAssociationsSbiKpiInstance(SbiKpiInstance exportedKpiInst,
SbiKpiInstance existingKpiInst,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
For Kpi Instamce search new Ids |
static void |
entitiesAssociationsSbiKpiInstPeriod(SbiKpiInstPeriod exportedKpiInstPeriod,
SbiKpiInstPeriod existingKpiInstPeriod,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For KpiInstPeriod search new Ids |
static void |
entitiesAssociationsSbiKpiModelAttr(SbiKpiModelAttr exportedKpiModelAttr,
SbiKpiModelAttr existingKpiModelAttr,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For KpiModelAttr search new Ids |
static void |
entitiesAssociationsSbiKpiModelAttrVal(SbiKpiModelAttrVal exportedKpiModelAttrVal,
SbiKpiModelAttrVal existingKpiModelAttrVal,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
KpiModelAttrVal association entities search new Ids |
static void |
entitiesAssociationsSbiModel(SbiKpiModel exportedMod,
SbiKpiModel existingMod,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
For Model search new Ids |
static void |
entitiesAssociationsSbiModelInstance(SbiKpiModelInst exportedModInst,
SbiKpiModelInst existingModInst,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
For Model Instance search new Ids |
static void |
entitiesAssociationsSbiModelResources(SbiKpiModelResources exportedModRes,
SbiKpiModelResources existingModResources,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For Model Resources search new Ids |
static void |
entitiesAssociationsSbiObjMetacontents(SbiObjMetacontents exportedMetacontents,
SbiObjMetacontents existingMetacontents,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For SBiObjMetacontents search new Ids |
static void |
entitiesAssociationsSbiObjMetadata(SbiObjMetadata exportedObjMetadata,
SbiObjMetadata existingObjMetadata,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For ObjMetadata search new Ids |
static void |
entitiesAssociationsSbiPeriodicity(SbiKpiPeriodicity exportedPer,
SbiKpiPeriodicity existingPer,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For Periodicity search new Ids |
static void |
entitiesAssociationsSbiResources(SbiResources exportedRes,
SbiResources existingResources,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For Resources search new Ids |
static void |
entitiesAssociationsSbiThreshold(SbiThreshold exportedTh,
SbiThreshold existingTh,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
For Threshold search new Ids |
static void |
entitiesAssociationsSbiThresholdValues(SbiThresholdValue exportedThValue,
SbiThresholdValue existingThvalue,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
For ThresholdValues search new Ids |
static org.hibernate.SessionFactory |
getHibSessionExportDB(java.lang.String pathDBFolder)
Creates an Hibernate session factory for the exported database. |
static int |
getImportFileMaxSize()
|
static IImportManager |
getImportManagerInstance()
|
static java.lang.String |
getImportTempFolderPath()
|
static SbiAlarmContact |
makeNewSbiAlarmContacts(SbiAlarmContact alarmContact,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate SbiAlarmContact object. |
static SbiAlarm |
makeNewSbiAlarms(SbiAlarm alarm,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate SbiAlarm object. |
static SbiBinContents |
makeNewSbiBinContents(SbiBinContents obj)
Make new sbi bin contents. |
static SbiChecks |
makeNewSbiCheck(SbiChecks check)
Creates a new hibernate check object. |
static SbiChecks |
makeNewSbiCheck(SbiChecks check,
java.lang.Integer id)
Creates a new hibernate check object. |
static SbiDataSetConfig |
makeNewSbiDataSet(SbiDataSetConfig dataset)
Make new data set. |
static SbiDataSource |
makeNewSbiDataSource(SbiDataSource ds)
Make new data source. |
static SbiEngines |
makeNewSbiEngine(SbiEngines engine)
Creates a new hibernate engine object. |
static SbiEngines |
makeNewSbiEngine(SbiEngines engine,
java.lang.Integer id)
Creates a new hibernate engine object. |
static SbiExtRoles |
makeNewSbiExtRole(SbiExtRoles role)
Creates a new hibernate role object. |
static SbiExtRoles |
makeNewSbiExtRole(SbiExtRoles role,
java.lang.Integer id)
Creates a new hibernate role object. |
static SbiFunctions |
makeNewSbiFunction(SbiFunctions funct)
Creates a new hibernate functionality object. |
static SbiFunctions |
makeNewSbiFunction(SbiFunctions funct,
java.lang.Integer id)
Creates a new hibernate functionality object. |
static SbiFuncRole |
makeNewSbiFunctRole(SbiFuncRole functrole,
java.lang.Integer newFunctid,
java.lang.Integer newRoleid)
|
static SbiKpi |
makeNewSbiKpi(SbiKpi kpi,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
Creates a new hibernate kpi object. |
static SbiKpiInstance |
makeNewSbiKpiInstance(SbiKpiInstance kpiInst,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
Creates a new hibernate kpi instance object. |
static SbiKpiInstPeriod |
makeNewSbiKpiInstPeriod(SbiKpiInstPeriod kpiInstPeriod,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate th value object. |
static SbiKpiModelAttr |
makeNewSbiKpiModelAttr(SbiKpiModelAttr kpiModelAttr,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate kpi model attr object. |
static SbiKpiModelAttrVal |
makeNewSbiKpiModelAttrVal(SbiKpiModelAttrVal kpiModelAttrVal,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate kpi model attr val object. |
static SbiLov |
makeNewSbiLov(SbiLov lov,
java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
Creates a new hibernate lov object. |
static SbiLov |
makeNewSbiLov(SbiLov lov,
java.lang.Integer id,
java.util.Map user)
Creates a new hibernate lov object. |
static SbiKpiModel |
makeNewSbiModel(SbiKpiModel model,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
Creates a new hibernate model object. |
static SbiKpiModelInst |
makeNewSbiModelInstance(SbiKpiModelInst modelInst,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
Creates a new hibernate model instance object. |
static SbiKpiModelResources |
makeNewSbiModelResource(SbiKpiModelResources modRes,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate th value object. |
static SbiObjects |
makeNewSbiObject(SbiObjects obj)
Creates a new hibernate biobject. |
static SbiObjects |
makeNewSbiObject(SbiObjects obj,
java.lang.Integer id)
Creates a new hibernate biobject. |
static SbiObjMetacontents |
makeNewSbiObjMetacontent(SbiObjMetacontents metacontents,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate SbiObjMetacontent object. |
static SbiObjMetadata |
makeNewSbiObjMetadata(SbiObjMetadata objMetadata,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate ObjMetadata. |
static SbiObjPar |
makeNewSbiObjpar(SbiObjPar objpar)
Creates a new hibernate biobject parameter object. |
static SbiObjPar |
makeNewSbiObjpar(SbiObjPar objpar,
java.lang.Integer id)
Creates a new hibernate biobject parameter object. |
static SbiObjTemplates |
makeNewSbiObjTemplates(SbiObjTemplates obj)
Make new sbi obj templates. |
static SbiParameters |
makeNewSbiParameter(SbiParameters param)
Creates a new hibernate parameter object. |
static SbiParameters |
makeNewSbiParameter(SbiParameters param,
java.lang.Integer id)
Creates a new hibernate parameter object. |
static SbiParuse |
makeNewSbiParuse(SbiParuse paruse)
Creates a new hibernate parameter use object. |
static SbiParuse |
makeNewSbiParuse(SbiParuse paruse,
java.lang.Integer id)
Creates a new hibernate parameter use object. |
static SbiParuseCk |
makeNewSbiParuseCk(SbiParuseCk paruseck,
java.lang.Integer newParuseid,
java.lang.Integer newCheckid)
|
static SbiParuseDet |
makeNewSbiParuseDet(SbiParuseDet parusedet,
java.lang.Integer newParuseid,
java.lang.Integer newRoleid)
|
static SbiKpiPeriodicity |
makeNewSbiPeriodicity(SbiKpiPeriodicity periodicity,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate th value object. |
static SbiResources |
makeNewSbiResources(SbiResources resource,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate SbiResource object. |
static SbiSnapshots |
makeNewSbiSnapshots(SbiSnapshots obj)
Make new sbi snapshots. |
static SbiSubObjects |
makeNewSbiSubObjects(SbiSubObjects obj)
Make new sbi sub objects. |
static SbiThreshold |
makeNewSbiThreshold(SbiThreshold threshold,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss)
Creates a new hibernate th object. |
static SbiThresholdValue |
makeNewSbiThresholdValue(SbiThresholdValue thresholdValue,
org.hibernate.Session sessionCurrDB,
MetadataAssociations metaAss,
ImporterMetadata importer)
Creates a new hibernate th value object. |
static SbiAlarmContact |
modifyExistingSbiAlarmContacts(SbiAlarmContact exportedAlarmContact,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing Alarm Contact and make modifications as per the exported Alarm Contact in input |
static SbiAlarm |
modifyExistingSbiAlarms(SbiAlarm exportedAlarm,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing Alarm and make modifications as per the exported Alarm in input |
static SbiDataSetConfig |
modifyExistingSbiDataSet(SbiDataSetConfig exportedDataset,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId)
Load an existing dataset and make modifications as per the exported dataset in input |
static SbiDataSource |
modifyExistingSbiDataSource(SbiDataSource dataSource,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingDatasourceId)
|
static SbiKpi |
modifyExistingSbiKpi(SbiKpi exportedKpi,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss)
Load an existing kpi and make modifications as per the exported kpi in input |
static SbiKpiInstance |
modifyExistingSbiKpiInstance(SbiKpiInstance exportedKpiInst,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss)
Load an existing kpi instance and make modifications as per the exported kpi instance in input |
static SbiKpiInstPeriod |
modifyExistingSbiKpiInstPeriod(SbiKpiInstPeriod exportedKpiInstPeriod,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing KpiInstPeriod and make modifications as per the exported KpiInstPeriod in input |
static SbiKpiModelAttr |
modifyExistingSbiKpiModelAttr(SbiKpiModelAttr exportedKpiModelAttr,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing kpiModelAttr and make modifications as per the exported kpiModelAttr in input |
static SbiKpiModelAttrVal |
modifyExistingSbiKpiModelAttrVal(SbiKpiModelAttrVal exportedKpiModelAttrVal,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing kpiModelAttrVal and make modifications as per the exported kpiModelAttr in input |
static SbiLov |
modifyExistingSbiLov(SbiLov exportedLov,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
Load an existing lov and make modifications as per the exported lov in input (existing associations with parameters are maintained). |
static SbiKpiModel |
modifyExistingSbiModel(SbiKpiModel exportedMod,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss)
Load an existing Model and make modifications |
static SbiKpiModelInst |
modifyExistingSbiModelInstance(SbiKpiModelInst exportedModInst,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss)
Load an existing Model Inst and make modifications |
static SbiKpiModelResources |
modifyExistingSbiModelResources(SbiKpiModelResources exportedModRes,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing Model resource and make modifications as per the exported Model resource in input |
static SbiObjects |
modifyExistingSbiObject(SbiObjects exportedObj,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId)
Load an existing biobject and make modifications as per the exported biobject in input (existing associations with functionalities are maintained, while existing associations with parameters are deleted). |
static SbiObjMetacontents |
modifyExistingSbiObjMetacontents(SbiObjMetacontents exportedMetacontents,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing ObjMetacontents and make modifications as per the exported ObjMetacontents in input |
static SbiObjMetadata |
modifyExistingSbiObjMetadata(SbiObjMetadata exportedObjMetadata,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing ObjMetadata and make modifications as per the exported ObjMetadata in input |
static SbiParameters |
modifyExistingSbiParameter(SbiParameters exportedParameter,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId)
Load an existing parameter and make modifications as per the exported parameter in input (existing associations with biobjects are maintained, while parameter uses are deleted). |
static SbiKpiPeriodicity |
modifyExistingSbiPeriodicity(SbiKpiPeriodicity exportedPer,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing resource and make modifications as per the exported periodicity in input |
static SbiResources |
modifyExistingSbiResources(SbiResources exportedRes,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing resource and make modifications as per the exported resource in input |
static SbiThreshold |
modifyExistingSbiThreshold(SbiThreshold exportedTh,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss)
Load an existing threshold and make modifications as per the exported thValue in input |
static SbiThresholdValue |
modifyExistingSbiThresholdValue(SbiThresholdValue exportedThValue,
org.hibernate.Session sessionCurrDB,
java.lang.Integer existingId,
MetadataAssociations metaAss,
ImporterMetadata importer)
Load an existing threshold Values and make modifications as per the exported thValue in input |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_DEFAULT_IMPORT_FILE_SIZE
Constructor Detail |
---|
public ImportUtilities()
Method Detail |
---|
public static void decompressArchive(java.lang.String pathImpTmpFolder, java.lang.String pathArchiveFile) throws it.eng.spago.error.EMFUserError
pathImpTmpFolder
- The path of the import directorypathArchiveFile
- The path of the exported archive
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static org.hibernate.SessionFactory getHibSessionExportDB(java.lang.String pathDBFolder) throws it.eng.spago.error.EMFUserError
pathDBFolder
- The path of the folder which contains the exported database
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiExtRoles makeNewSbiExtRole(SbiExtRoles role)
role
- old hibernate role object
public static SbiExtRoles makeNewSbiExtRole(SbiExtRoles role, java.lang.Integer id)
role
- old hibernate role objectid
- the id
public static SbiEngines makeNewSbiEngine(SbiEngines engine)
engine
- old hibernate engine object
public static SbiDataSource makeNewSbiDataSource(SbiDataSource ds)
ds
- the ds
public static SbiDataSource modifyExistingSbiDataSource(SbiDataSource dataSource, org.hibernate.Session sessionCurrDB, java.lang.Integer existingDatasourceId)
public static SbiDataSetConfig makeNewSbiDataSet(SbiDataSetConfig dataset)
dataProxy
- the ds
public static SbiEngines makeNewSbiEngine(SbiEngines engine, java.lang.Integer id)
engine
- old hibernate engine objectid
- the id
public static SbiFunctions makeNewSbiFunction(SbiFunctions funct)
funct
- the funct
public static SbiFunctions makeNewSbiFunction(SbiFunctions funct, java.lang.Integer id)
funct
- the functid
- the id
public static SbiLov makeNewSbiLov(SbiLov lov, java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
lov
- old hibernate lov object
public static SbiLov makeNewSbiLov(SbiLov lov, java.lang.Integer id, java.util.Map user)
lov
- old hibernate lov objectid
- the id
public static SbiChecks makeNewSbiCheck(SbiChecks check)
check
- old hibernate check object
public static SbiChecks makeNewSbiCheck(SbiChecks check, java.lang.Integer id)
check
- old hibernate check objectid
- the id
public static SbiParameters makeNewSbiParameter(SbiParameters param)
param
- the param
public static SbiParameters makeNewSbiParameter(SbiParameters param, java.lang.Integer id)
param
- the paramid
- the id
public static SbiParuse makeNewSbiParuse(SbiParuse paruse)
paruse
- the paruse
public static SbiParuse makeNewSbiParuse(SbiParuse paruse, java.lang.Integer id)
paruse
- the paruseid
- the id
public static SbiObjects makeNewSbiObject(SbiObjects obj)
obj
- old hibernate biobject
public static SbiSnapshots makeNewSbiSnapshots(SbiSnapshots obj)
obj
- the obj
public static SbiSubObjects makeNewSbiSubObjects(SbiSubObjects obj)
obj
- the obj
public static SbiObjTemplates makeNewSbiObjTemplates(SbiObjTemplates obj)
obj
- the obj
public static SbiBinContents makeNewSbiBinContents(SbiBinContents obj)
obj
- the obj
public static SbiObjects makeNewSbiObject(SbiObjects obj, java.lang.Integer id)
obj
- old hibernate biobjectid
- the id
public static SbiObjects modifyExistingSbiObject(SbiObjects exportedObj, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId) throws it.eng.spago.error.EMFUserError
exportedObj
- the exported objsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiParameters modifyExistingSbiParameter(SbiParameters exportedParameter, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId) throws it.eng.spago.error.EMFUserError
exportedParameter
- the exported parametersessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiObjPar makeNewSbiObjpar(SbiObjPar objpar)
objpar
- the objpar
public static SbiObjPar makeNewSbiObjpar(SbiObjPar objpar, java.lang.Integer id)
objpar
- the objparid
- the id
public static void associateWithExistingEntities(SbiObjects obj, SbiObjects exportedObj, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
obj
- the objexportedObj
- the exported objsessionCurrDB
- the session curr dbimporter
- the importermetaAss
- the meta ass
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void associateWithExistingEntities(SbiParameters parameter, SbiParameters exportedParameter, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
parameter
- the parameterexportedParameter
- the exported parametersessionCurrDB
- the session curr dbimporter
- the importermetaAss
- the meta ass
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiDataSetConfig modifyExistingSbiDataSet(SbiDataSetConfig exportedDataset, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId)
exportedDataset
- the exported datasetsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
public static SbiLov modifyExistingSbiLov(SbiLov exportedLov, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
exportedLov
- the exported lovsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
public static void associateWithExistingEntities(SbiLov lov, SbiLov exportedLov, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
lov
- the lovexportedLov
- the exported lovsessionCurrDB
- the session curr dbimporter
- the importermetaAss
- the meta ass
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void associateWithExistingEntities(SbiDataSource datasource, SbiDataSource exportedDatasource, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
datasource
- the datasourceexportedDatasource
- the exported lovsessionCurrDB
- the session curr dbimporter
- the importermetaAss
- the meta ass
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void associateWithExistingEntities(SbiDataSetConfig dataset, SbiDataSetConfig exportedDataset, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
dataset
- the datasetexportedDataset
- the exported datasetsessionCurrDB
- the session curr dbimporter
- the importermetaAss
- the meta ass
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiParuseDet makeNewSbiParuseDet(SbiParuseDet parusedet, java.lang.Integer newParuseid, java.lang.Integer newRoleid)
public static SbiParuseCk makeNewSbiParuseCk(SbiParuseCk paruseck, java.lang.Integer newParuseid, java.lang.Integer newCheckid)
public static SbiFuncRole makeNewSbiFunctRole(SbiFuncRole functrole, java.lang.Integer newFunctid, java.lang.Integer newRoleid)
public static int getImportFileMaxSize()
public static java.lang.String getImportTempFolderPath()
public static IImportManager getImportManagerInstance() throws java.lang.Exception
java.lang.Exception
public static SbiKpi makeNewSbiKpi(SbiKpi kpi, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
kpi
- kpi
public static SbiKpi modifyExistingSbiKpi(SbiKpi exportedKpi, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedKpi
- the exported KpisessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiKpi(SbiKpi exportedKpi, SbiKpi existingKpi, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedKpi
- the exported KpisessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiInstance makeNewSbiKpiInstance(SbiKpiInstance kpiInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
SbiKpiInstance
- kpiInst
public static SbiKpiInstance modifyExistingSbiKpiInstance(SbiKpiInstance exportedKpiInst, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedKpiInst
- the exported Kpi InstancesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiKpiInstance(SbiKpiInstance exportedKpiInst, SbiKpiInstance existingKpiInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedKpiInstance
- the exported Kpi InstancesessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiThresholdValue makeNewSbiThresholdValue(SbiThresholdValue thresholdValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
ThreasholdValue
- thValue
public static SbiThresholdValue modifyExistingSbiThresholdValue(SbiThresholdValue exportedThValue, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedThValue
- the exported Th valuesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiThresholdValues(SbiThresholdValue exportedThValue, SbiThresholdValue existingThvalue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedKpi
- the exported KpisessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiThreshold makeNewSbiThreshold(SbiThreshold threshold, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
Threashold
- thresdold
public static SbiThreshold modifyExistingSbiThreshold(SbiThreshold exportedTh, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedThValue
- the exported ThsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiThreshold(SbiThreshold exportedTh, SbiThreshold existingTh, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedKpi
- the exported KpisessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiModel makeNewSbiModel(SbiKpiModel model, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
Model
- model
public static SbiKpiModel modifyExistingSbiModel(SbiKpiModel exportedMod, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedModel
- the exported ModelsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiModel(SbiKpiModel exportedMod, SbiKpiModel existingMod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedModel
- the exported ModelsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiModelInst makeNewSbiModelInstance(SbiKpiModelInst modelInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
ModelInst
- model instance
public static SbiKpiModelInst modifyExistingSbiModelInstance(SbiKpiModelInst exportedModInst, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedModelInst
- the exported Model InstancesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiModelInstance(SbiKpiModelInst exportedModInst, SbiKpiModelInst existingModInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
exportedModelInst
- the exported Model InstancesessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiResources makeNewSbiResources(SbiResources resource, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Resource
- resource
public static SbiResources modifyExistingSbiResources(SbiResources exportedRes, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedResource
- the exported resourcesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiResources(SbiResources exportedRes, SbiResources existingResources, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedRes
- the exported ResourcesessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiModelResources makeNewSbiModelResource(SbiKpiModelResources modRes, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Model
- Resource modRes
public static SbiKpiModelResources modifyExistingSbiModelResources(SbiKpiModelResources exportedModRes, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exported
- mOdel Resource the exported resourcesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiModelResources(SbiKpiModelResources exportedModRes, SbiKpiModelResources existingModResources, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exported
- Model Res the exported ResourcesessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiPeriodicity makeNewSbiPeriodicity(SbiKpiPeriodicity periodicity, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Periodicity
- per
public static SbiKpiPeriodicity modifyExistingSbiPeriodicity(SbiKpiPeriodicity exportedPer, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedPeriodicity
- the exported periodicitysessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiPeriodicity(SbiKpiPeriodicity exportedPer, SbiKpiPeriodicity existingPer, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedRes
- the exported PeriodicitysessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiInstPeriod makeNewSbiKpiInstPeriod(SbiKpiInstPeriod kpiInstPeriod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
KpiInstPeriod
- kpiInstPeriod
public static SbiKpiInstPeriod modifyExistingSbiKpiInstPeriod(SbiKpiInstPeriod exportedKpiInstPeriod, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exported
- mKpiInstPeriod the exported resourcesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiKpiInstPeriod(SbiKpiInstPeriod exportedKpiInstPeriod, SbiKpiInstPeriod existingKpiInstPeriod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exported
- KpiInstPeriod the exported KpiInstPeriodsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiAlarm makeNewSbiAlarms(SbiAlarm alarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Alarm
- alarm
public static SbiAlarm modifyExistingSbiAlarms(SbiAlarm exportedAlarm, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedAlarm
- the exported AlarmsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiAlarms(SbiAlarm exportedAlarm, SbiAlarm existingAlarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedAlarm
- the exported AlarmsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiAlarmContact makeNewSbiAlarmContacts(SbiAlarmContact alarmContact, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
AlarmContact
- alarmContact
public static SbiAlarmContact modifyExistingSbiAlarmContacts(SbiAlarmContact exportedAlarmContact, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedAlarm
- the exported Alarm ContactsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiAlarmContacts(SbiAlarmContact exportedAlarm, SbiAlarmContact existingAlarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedAlarm
- the exported Alarm ContactssessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiModelAttr makeNewSbiKpiModelAttr(SbiKpiModelAttr kpiModelAttr, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiKpiModelAttr
- kpiModelAttr
public static SbiKpiModelAttr modifyExistingSbiKpiModelAttr(SbiKpiModelAttr exportedKpiModelAttr, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedKpiModelAttr
- the exported KpiModelAttrsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiKpiModelAttr(SbiKpiModelAttr exportedKpiModelAttr, SbiKpiModelAttr existingKpiModelAttr, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedKpi
- the exported KpisessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiModelAttrVal makeNewSbiKpiModelAttrVal(SbiKpiModelAttrVal kpiModelAttrVal, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiKpiModelAttr
- kpiModelAttrVal
public static SbiKpiModelAttrVal modifyExistingSbiKpiModelAttrVal(SbiKpiModelAttrVal exportedKpiModelAttrVal, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedKpiModelAttrVal
- the exported KpiModelAttrValsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiKpiModelAttrVal(SbiKpiModelAttrVal exportedKpiModelAttrVal, SbiKpiModelAttrVal existingKpiModelAttrVal, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedKpiMdelAtrVal
- the exported KpiModelATtrValsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiObjMetadata makeNewSbiObjMetadata(SbiObjMetadata objMetadata, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
ObjMetadata
- objMetadata
public static SbiObjMetadata modifyExistingSbiObjMetadata(SbiObjMetadata exportedObjMetadata, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
ObjMetadata
- objMetadatasessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiObjMetadata(SbiObjMetadata exportedObjMetadata, SbiObjMetadata existingObjMetadata, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exported
- metadata ObjMetadatasessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiObjMetacontents makeNewSbiObjMetacontent(SbiObjMetacontents metacontents, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiObjectMetacontent
- metcontent
public static SbiObjMetacontents modifyExistingSbiObjMetacontents(SbiObjMetacontents exportedMetacontents, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedObjMetacontents
- the exported ObjMetacontentssessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static void entitiesAssociationsSbiObjMetacontents(SbiObjMetacontents exportedMetacontents, SbiObjMetacontents existingMetacontents, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedMetacontent
- the exported SbiObjMetacontentsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |