it.eng.spagobi.tools.importexport
Class ImportUtilities

java.lang.Object
  extended by it.eng.spagobi.tools.importexport.ImportUtilities

public class ImportUtilities
extends java.lang.Object


Field Summary
static int MAX_DEFAULT_IMPORT_FILE_SIZE
           
 
Constructor Summary
ImportUtilities()
           
 
Method Summary
static SbiArtifact associateWithExistingEntities(SbiArtifact newArtifact, SbiArtifact exportedArtifact, SbiArtifactContent exportedArtifactContent, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss)
           
static SbiDataSet associateWithExistingEntities(SbiDataSet newDataset, SbiDataSet exportedDataset, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss)
           
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 SbiMetaModel associateWithExistingEntities(SbiMetaModel newMetaModel, SbiMetaModel exportedMetaModel, SbiMetaModelContent exportedMetaModelContent, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss)
           
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 entitiesAssociations(SbiAlarmContact exportedAlarm, SbiAlarmContact existingAlarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For Alarm Contacts search new Ids
static void entitiesAssociations(SbiAlarm exportedAlarm, SbiAlarm existingAlarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For Alarm search new Ids
static void entitiesAssociations(SbiKpiInstance exportedKpiInst, SbiKpiInstance existingKpiInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          For Kpi Instamce search new Ids
static void entitiesAssociations(SbiKpiInstPeriod exportedKpiInstPeriod, SbiKpiInstPeriod existingKpiInstPeriod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For KpiInstPeriod search new Ids
static void entitiesAssociations(SbiKpiModelInst exportedModInst, SbiKpiModelInst existingModInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          For Model Instance search new Ids
static void entitiesAssociations(SbiKpiModelResources exportedModRes, SbiKpiModelResources existingModResources, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For Model Resources search new Ids
static void entitiesAssociations(SbiKpiModel exportedMod, SbiKpiModel existingMod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          For Model search new Ids
static void entitiesAssociations(SbiKpiPeriodicity exportedPer, SbiKpiPeriodicity existingPer, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For Periodicity search new Ids
static void entitiesAssociations(SbiKpiRel exportedKpiRel, SbiKpiRel existingKpiRel, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For SbiKpiRel search new Ids
static void entitiesAssociations(SbiKpi exportedKpi, SbiKpi existingKpi, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          For Kpi search new Ids
static void entitiesAssociations(SbiObjMetacontents exportedMetacontents, SbiObjMetacontents existingMetacontents, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer, it.eng.spago.security.IEngUserProfile profile)
          For SBiObjMetacontents search new Ids
static void entitiesAssociations(SbiObjMetadata exportedObjMetadata, SbiObjMetadata existingObjMetadata, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For ObjMetadata search new Ids
static void entitiesAssociations(SbiObjPar exportedSbiObjPar, SbiObjPar newSbiObjPar, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static void entitiesAssociations(SbiObjParuse exportedSbiObjParuse, SbiObjParuse newSbiObjParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static void entitiesAssociations(SbiObjParview exportedSbiObjParview, SbiObjParview newSbiObjParview, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static void entitiesAssociations(SbiOrgUnitGrantNodesId id, SbiOrgUnitGrantNodes exportedGrantNode, SbiOrgUnitGrantNodes existingGrantNode, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For SbiOrgUnitGrantNodes search new Ids
static void entitiesAssociations(SbiOrgUnitGrant exportedGrant, SbiOrgUnitGrant existingGrant, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For SbiOrgUnitGrant search new Ids
static void entitiesAssociations(SbiParuseCk exportedSbiParuseCk, SbiParuseCk newSbiParuseCk, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static void entitiesAssociations(SbiParuseDet exportedSbiParuseDet, SbiParuseDet newSbiParuseDet, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static void entitiesAssociations(SbiParuse exportedSbiParuse, SbiParuse newSbiParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static void entitiesAssociations(SbiResources exportedRes, SbiResources existingResources, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For Resources search new Ids
static void entitiesAssociations(SbiThreshold exportedTh, SbiThreshold existingTh, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          For Threshold search new Ids
static void entitiesAssociations(SbiThresholdValue exportedThValue, SbiThresholdValue existingThvalue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For ThresholdValues search new Ids
static void entitiesAssociations(SbiUdp exportedSbiUdp, SbiUdp existingSbiUdp, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For SbiUdp search new Ids
static void entitiesAssociations(SbiUdpValue exportedSbiUdpValue, SbiUdpValue existingSbiUdpValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          For SbiUdpValue 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 SbiArtifact insertArtifactContent(SbiArtifact newArtifact, SbiArtifact exportedArtifact, SbiArtifactContent exportedArtifactContent, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss)
           
static SbiMetaModel insertMetaModelContent(SbiMetaModel newMetaModel, SbiMetaModel exportedMetaModel, SbiMetaModelContent exportedMetaModelContent, org.hibernate.Session sessionCurrDB, ImporterMetadata importer, MetadataAssociations metaAss)
           
static SbiAlarmContact makeNew(SbiAlarmContact alarmContact, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiAlarmContact object.
static SbiAlarm makeNew(SbiAlarm alarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiAlarm object.
static SbiArtifact makeNew(SbiArtifact exportedArtifact, org.hibernate.Session sessionCurrDB, it.eng.spago.security.IEngUserProfile profile)
          Make new Artifact.
static SbiBinContents makeNew(SbiBinContents obj)
          Make new sbi bin contents.
static SbiChecks makeNew(SbiChecks check)
          Creates a new hibernate check object.
static SbiChecks makeNew(SbiChecks check, java.lang.Integer id)
          Creates a new hibernate check object.
static SbiDataSet makeNew(SbiDataSet exportedDataset, org.hibernate.Session sessionCurrDB, it.eng.spago.security.IEngUserProfile profile)
          Make new data set.
static SbiDataSource makeNew(SbiDataSource ds)
          Make new data source.
static SbiEngines makeNew(SbiEngines engine)
          Creates a new hibernate engine object.
static SbiEngines makeNew(SbiEngines engine, java.lang.Integer id)
          Creates a new hibernate engine object.
static SbiExtRoles makeNew(SbiExtRoles role)
          Creates a new hibernate role object.
static SbiExtRoles makeNew(SbiExtRoles role, java.lang.Integer id)
          Creates a new hibernate role object.
static SbiFuncRole makeNew(SbiFuncRole functrole, java.lang.Integer newFunctid, java.lang.Integer newRoleid)
           
static SbiFunctions makeNew(SbiFunctions funct)
          Creates a new hibernate functionality object.
static SbiFunctions makeNew(SbiFunctions funct, java.lang.Integer id)
          Creates a new hibernate functionality object.
static SbiKpiInstance makeNew(SbiKpiInstance kpiInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate kpi instance object.
static SbiKpiInstPeriod makeNew(SbiKpiInstPeriod kpiInstPeriod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate th value object.
static SbiKpiModelInst makeNew(SbiKpiModelInst modelInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate model instance object.
static SbiKpiModelResources makeNew(SbiKpiModelResources modRes, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate th value object.
static SbiKpiModel makeNew(SbiKpiModel model, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate model object.
static SbiKpiPeriodicity makeNew(SbiKpiPeriodicity periodicity, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate th value object.
static SbiKpiRel makeNew(SbiKpiRel kpirel, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiKpiRel object.
static SbiKpi makeNew(SbiKpi kpi, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate kpi object.
static SbiLov makeNew(SbiLov lov, org.hibernate.Session sessionCurrDB, java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
          Creates a new hibernate lov object.
static SbiLov makeNew(SbiLov lov, org.hibernate.Session sessionCurrDB, java.lang.Integer id, java.util.Map user)
          Creates a new hibernate lov object.
static SbiMetaModel makeNew(SbiMetaModel exportedMetaModel, org.hibernate.Session sessionCurrDB, it.eng.spago.security.IEngUserProfile profile)
          Make new Meta MOdel
static SbiObjects makeNew(SbiObjects obj)
          Creates a new hibernate biobject.
static SbiObjects makeNew(SbiObjects obj, java.lang.Integer id)
          Creates a new hibernate biobject.
static SbiObjMetacontents makeNew(SbiObjMetacontents metacontents, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer, it.eng.spago.security.IEngUserProfile iEngUserProfile)
          Creates a new hibernate SbiObjMetacontent object.
static SbiObjMetadata makeNew(SbiObjMetadata objMetadata, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate ObjMetadata.
static SbiObjPar makeNew(SbiObjPar objpar, java.lang.Integer id, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate biobject parameter object.
static SbiObjPar makeNew(SbiObjPar expObjpar, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate biobject parameter object.
static SbiObjParuse makeNew(SbiObjParuse exportedObjParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate parameter use object.
static SbiObjParview makeNew(SbiObjParview exportedObjParview, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate parameter use object.
static SbiObjTemplates makeNew(SbiObjTemplates obj)
          Make new sbi obj templates.
static SbiOrgUnitGrantNodes makeNew(SbiOrgUnitGrantNodes grantNode, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiOrgUnitGrantNodes grant node object.
static SbiOrgUnitGrant makeNew(SbiOrgUnitGrant grant, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiOrgUnitGrant grant object.
static SbiParameters makeNew(SbiParameters param)
          Creates a new hibernate parameter object.
static SbiParameters makeNew(SbiParameters param, java.lang.Integer id)
          Creates a new hibernate parameter object.
static SbiParuseCk makeNew(SbiParuseCk expParuseCk, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiParuseDet makeNew(SbiParuseDet expParuseDet, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiParuse makeNew(SbiParuse exportedParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate parameter use object.
static SbiResources makeNew(SbiResources resource, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiResource object.
static SbiSnapshots makeNew(SbiSnapshots obj)
          Make new sbi snapshots.
static SbiSubObjects makeNew(SbiSubObjects obj)
          Make new sbi sub objects.
static SbiThreshold makeNew(SbiThreshold threshold, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
          Creates a new hibernate th object.
static SbiThresholdValue makeNew(SbiThresholdValue thresholdValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate th value object.
static SbiUdp makeNew(SbiUdp udp, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiUdp udp object.
static SbiUdpValue makeNew(SbiUdpValue udpValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
          Creates a new hibernate SbiUdpValue udp value object.
static SbiAlarmContact modifyExisting(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 modifyExisting(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 SbiArtifact modifyExisting(SbiArtifact exportedArtifact, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, org.hibernate.Session sessionExpDB, it.eng.spago.security.IEngUserProfile profile)
          Load an existing artifact and make modifications as per the exported artifact in input
static SbiDataSet modifyExisting(SbiDataSet exportedDataset, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, org.hibernate.Session sessionExpDB, it.eng.spago.security.IEngUserProfile profile)
          Load an existing dataset and make modifications as per the exported dataset in input For what concern the history keep track of the previous one and insert the new one
static SbiDataSource modifyExisting(SbiDataSource dataSource, org.hibernate.Session sessionCurrDB, java.lang.Integer existingDatasourceId)
           
static SbiKpiInstance modifyExisting(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 modifyExisting(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 SbiKpiModelInst modifyExisting(SbiKpiModelInst exportedModInst, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss)
          Load an existing Model Inst and make modifications
static SbiKpiModelResources modifyExisting(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 SbiKpiModel modifyExisting(SbiKpiModel exportedMod, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss)
          Load an existing Model and make modifications
static SbiKpiPeriodicity modifyExisting(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 SbiKpiRel modifyExisting(SbiKpiRel exportedKpiRel, org.hibernate.Session sessionCurrDB, java.lang.Integer existingKpiRelId)
          Load an existing Kpi Relation and make modifications as per the exported udp in input
static SbiKpi modifyExisting(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 SbiLov modifyExisting(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 SbiMetaModel modifyExisting(SbiMetaModel exportedMeta, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, org.hibernate.Session sessionExpDB, it.eng.spago.security.IEngUserProfile profile)
          Load an existing metamodel and make modifications as per the exported metamodel in input
static SbiObjects modifyExisting(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 modifyExisting(SbiObjMetacontents exportedMetacontents, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer, it.eng.spago.security.IEngUserProfile userProfile)
          Load an existing ObjMetacontents and make modifications as per the exported ObjMetacontents in input
static SbiObjMetadata modifyExisting(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 SbiObjPar modifyExisting(SbiObjPar exportedSbiObjpar, SbiObjPar existingSbiObjpar, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiObjParuse modifyExisting(SbiObjParuse exportedSbiObjParuse, SbiObjParuse exisingSbiObjParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiObjParview modifyExisting(SbiObjParview exportedSbiObjParview, SbiObjParview exisingSbiObjParview, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiOrgUnitGrantNodes modifyExisting(SbiOrgUnitGrantNodes exportedGrantNode, org.hibernate.Session sessionCurrDB, SbiOrgUnitGrantNodesId existingId)
          Load an existing grant node and make modifications as per the exported grant node in input
static SbiOrgUnitGrant modifyExisting(SbiOrgUnitGrant exportedGrant, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId)
          Load an existing grant and make modifications as per the exported grant in input
static SbiParameters modifyExisting(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 SbiParuseCk modifyExisting(SbiParuseCk exportedParuseCk, SbiParuseCk existingParuseCk, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiParuseDet modifyExisting(SbiParuseDet exportedParusedet, SbiParuseDet existingParusedet, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiParuse modifyExisting(SbiParuse exportedParuse, SbiParuse exisingParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
           
static SbiResources modifyExisting(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 modifyExisting(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 modifyExisting(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
static SbiUdp modifyExisting(SbiUdp exportedUdp, org.hibernate.Session sessionCurrDB, java.lang.Integer existingUdpId)
          Load an existing Udp and make modifications as per the exported udp in input
static SbiUdpValue modifyExisting(SbiUdpValue exportedUdpValue, org.hibernate.Session sessionCurrDB, java.lang.Integer existingUdpValueId)
          Load an existing Udp value and make modifications as per the exported udp in input
static java.util.List<java.lang.String> retrieveLovMetadataById(SbiLov sbiLov)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_DEFAULT_IMPORT_FILE_SIZE

public static final int MAX_DEFAULT_IMPORT_FILE_SIZE
See Also:
Constant Field Values
Constructor Detail

ImportUtilities

public ImportUtilities()
Method Detail

decompressArchive

public static void decompressArchive(java.lang.String pathImpTmpFolder,
                                     java.lang.String pathArchiveFile)
                              throws it.eng.spago.error.EMFUserError
Decompress the export compress file.

Parameters:
pathImpTmpFolder - The path of the import directory
pathArchiveFile - The path of the exported archive
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getHibSessionExportDB

public static org.hibernate.SessionFactory getHibSessionExportDB(java.lang.String pathDBFolder)
                                                          throws it.eng.spago.error.EMFUserError
Creates an Hibernate session factory for the exported database.

Parameters:
pathDBFolder - The path of the folder which contains the exported database
Returns:
The Hibernate session factory
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiExtRoles makeNew(SbiExtRoles role)
Creates a new hibernate role object.

Parameters:
role - old hibernate role object
Returns:
the new hibernate role object

makeNew

public static SbiExtRoles makeNew(SbiExtRoles role,
                                  java.lang.Integer id)
Creates a new hibernate role object.

Parameters:
role - old hibernate role object
id - the id
Returns:
the new hibernate role object

makeNew

public static SbiEngines makeNew(SbiEngines engine)
Creates a new hibernate engine object.

Parameters:
engine - old hibernate engine object
Returns:
the new hibernate engine object

makeNew

public static SbiDataSource makeNew(SbiDataSource ds)
Make new data source.

Parameters:
ds - the ds
Returns:
the sbi data source

modifyExisting

public static SbiDataSource modifyExisting(SbiDataSource dataSource,
                                           org.hibernate.Session sessionCurrDB,
                                           java.lang.Integer existingDatasourceId)

makeNew

public static SbiEngines makeNew(SbiEngines engine,
                                 java.lang.Integer id)
Creates a new hibernate engine object.

Parameters:
engine - old hibernate engine object
id - the id
Returns:
the new hibernate engine object

makeNew

public static SbiFunctions makeNew(SbiFunctions funct)
Creates a new hibernate functionality object.

Parameters:
funct - the funct
Returns:
the new hibernate functionality object

makeNew

public static SbiFunctions makeNew(SbiFunctions funct,
                                   java.lang.Integer id)
Creates a new hibernate functionality object.

Parameters:
funct - the funct
id - the id
Returns:
the new hibernate functionality object

makeNew

public static SbiLov makeNew(SbiLov lov,
                             org.hibernate.Session sessionCurrDB,
                             java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
Creates a new hibernate lov object.

Parameters:
lov - old hibernate lov object
Returns:
the new hibernate lov object

makeNew

public static SbiLov makeNew(SbiLov lov,
                             org.hibernate.Session sessionCurrDB,
                             java.lang.Integer id,
                             java.util.Map user)
Creates a new hibernate lov object.

Parameters:
lov - old hibernate lov object
id - the id
Returns:
the new hibernate lov object

makeNew

public static SbiChecks makeNew(SbiChecks check)
Creates a new hibernate check object.

Parameters:
check - old hibernate check object
Returns:
the new hibernate check object

makeNew

public static SbiChecks makeNew(SbiChecks check,
                                java.lang.Integer id)
Creates a new hibernate check object.

Parameters:
check - old hibernate check object
id - the id
Returns:
the new hibernate check object

makeNew

public static SbiParameters makeNew(SbiParameters param)
Creates a new hibernate parameter object.

Parameters:
param - the param
Returns:
the new hibernate parameter object

makeNew

public static SbiParameters makeNew(SbiParameters param,
                                    java.lang.Integer id)
Creates a new hibernate parameter object.

Parameters:
param - the param
id - the id
Returns:
the new hibernate parameter object

makeNew

public static SbiObjParview makeNew(SbiObjParview exportedObjParview,
                                    org.hibernate.Session sessionCurrDB,
                                    MetadataAssociations metaAss)
                             throws it.eng.spago.error.EMFUserError
Creates a new hibernate parameter use object.

Parameters:
paruse - the paruse
Returns:
the new hibernate parameter use object
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiObjParview modifyExisting(SbiObjParview exportedSbiObjParview,
                                           SbiObjParview exisingSbiObjParview,
                                           org.hibernate.Session sessionCurrDB,
                                           MetadataAssociations metaAss)
                                    throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

entitiesAssociations

public static void entitiesAssociations(SbiObjParview exportedSbiObjParview,
                                        SbiObjParview newSbiObjParview,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiObjParuse makeNew(SbiObjParuse exportedObjParuse,
                                   org.hibernate.Session sessionCurrDB,
                                   MetadataAssociations metaAss)
                            throws it.eng.spago.error.EMFUserError
Creates a new hibernate parameter use object.

Parameters:
paruse - the paruse
Returns:
the new hibernate parameter use object
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiObjParuse modifyExisting(SbiObjParuse exportedSbiObjParuse,
                                          SbiObjParuse exisingSbiObjParuse,
                                          org.hibernate.Session sessionCurrDB,
                                          MetadataAssociations metaAss)
                                   throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

entitiesAssociations

public static void entitiesAssociations(SbiObjParuse exportedSbiObjParuse,
                                        SbiObjParuse newSbiObjParuse,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiParuse makeNew(SbiParuse exportedParuse,
                                org.hibernate.Session sessionCurrDB,
                                MetadataAssociations metaAss)
                         throws it.eng.spago.error.EMFUserError
Creates a new hibernate parameter use object.

Parameters:
paruse - the paruse
Returns:
the new hibernate parameter use object
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiParuse modifyExisting(SbiParuse exportedParuse,
                                       SbiParuse exisingParuse,
                                       org.hibernate.Session sessionCurrDB,
                                       MetadataAssociations metaAss)
                                throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

entitiesAssociations

public static void entitiesAssociations(SbiParuse exportedSbiParuse,
                                        SbiParuse newSbiParuse,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiObjects makeNew(SbiObjects obj)
Creates a new hibernate biobject.

Parameters:
obj - old hibernate biobject
Returns:
the new hibernate biobject

makeNew

public static SbiSnapshots makeNew(SbiSnapshots obj)
Make new sbi snapshots.

Parameters:
obj - the obj
Returns:
the sbi snapshots

makeNew

public static SbiSubObjects makeNew(SbiSubObjects obj)
Make new sbi sub objects.

Parameters:
obj - the obj
Returns:
the sbi sub objects

makeNew

public static SbiObjTemplates makeNew(SbiObjTemplates obj)
Make new sbi obj templates.

Parameters:
obj - the obj
Returns:
the sbi obj templates

makeNew

public static SbiBinContents makeNew(SbiBinContents obj)
Make new sbi bin contents.

Parameters:
obj - the obj
Returns:
the sbi bin contents

makeNew

public static SbiObjects makeNew(SbiObjects obj,
                                 java.lang.Integer id)
Creates a new hibernate biobject.

Parameters:
obj - old hibernate biobject
id - the id
Returns:
the new hibernate biobject

modifyExisting

public static SbiObjects modifyExisting(SbiObjects exportedObj,
                                        org.hibernate.Session sessionCurrDB,
                                        java.lang.Integer existingId)
                                 throws it.eng.spago.error.EMFUserError
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).

Parameters:
exportedObj - the exported obj
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing biobject modified as per the exported biobject in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

modifyExisting

public static SbiParameters modifyExisting(SbiParameters exportedParameter,
                                           org.hibernate.Session sessionCurrDB,
                                           java.lang.Integer existingId)
                                    throws it.eng.spago.error.EMFUserError
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).

Parameters:
exportedParameter - the exported parameter
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing parameter modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiObjPar makeNew(SbiObjPar expObjpar,
                                org.hibernate.Session sessionCurrDB,
                                MetadataAssociations metaAss)
                         throws it.eng.spago.error.EMFUserError
Creates a new hibernate biobject parameter object.

Parameters:
objpar - the objpar
Returns:
the sbi obj par
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiObjPar makeNew(SbiObjPar objpar,
                                java.lang.Integer id,
                                org.hibernate.Session sessionCurrDB,
                                MetadataAssociations metaAss)
                         throws it.eng.spago.error.EMFUserError
Creates a new hibernate biobject parameter object.

Parameters:
objpar - the objpar
id - the id
Returns:
the sbi obj par
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiObjPar modifyExisting(SbiObjPar exportedSbiObjpar,
                                       SbiObjPar existingSbiObjpar,
                                       org.hibernate.Session sessionCurrDB,
                                       MetadataAssociations metaAss)
                                throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

entitiesAssociations

public static void entitiesAssociations(SbiObjPar exportedSbiObjPar,
                                        SbiObjPar newSbiObjPar,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

associateWithExistingEntities

public static void associateWithExistingEntities(SbiObjects obj,
                                                 SbiObjects exportedObj,
                                                 org.hibernate.Session sessionCurrDB,
                                                 ImporterMetadata importer,
                                                 MetadataAssociations metaAss)
                                          throws it.eng.spago.error.EMFUserError
Set into the biobject to the engine/object type/object state/datasource the entities associated with the exported biobject.

Parameters:
obj - the obj
exportedObj - the exported obj
sessionCurrDB - the session curr db
importer - the importer
metaAss - the meta ass
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

associateWithExistingEntities

public static void associateWithExistingEntities(SbiParameters parameter,
                                                 SbiParameters exportedParameter,
                                                 org.hibernate.Session sessionCurrDB,
                                                 ImporterMetadata importer,
                                                 MetadataAssociations metaAss)
                                          throws it.eng.spago.error.EMFUserError
Set into the parameter to the parameter type domain associated with the exported parameter.

Parameters:
parameter - the parameter
exportedParameter - the exported parameter
sessionCurrDB - the session curr db
importer - the importer
metaAss - the meta ass
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiArtifact makeNew(SbiArtifact exportedArtifact,
                                  org.hibernate.Session sessionCurrDB,
                                  it.eng.spago.security.IEngUserProfile profile)
Make new Artifact.

Parameters:
dataProxy - the ds
Returns:
the sbi Artifact

modifyExisting

public static SbiArtifact modifyExisting(SbiArtifact exportedArtifact,
                                         org.hibernate.Session sessionCurrDB,
                                         java.lang.Integer existingId,
                                         org.hibernate.Session sessionExpDB,
                                         it.eng.spago.security.IEngUserProfile profile)
                                  throws java.lang.Exception
Load an existing artifact and make modifications as per the exported artifact in input

Parameters:
exportedartifact - the exported artifact
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing metamodel modified as per the exported dataset in input
Throws:
it.eng.spago.error.EMFUserError
java.lang.Exception

associateWithExistingEntities

public static SbiArtifact associateWithExistingEntities(SbiArtifact newArtifact,
                                                        SbiArtifact exportedArtifact,
                                                        SbiArtifactContent exportedArtifactContent,
                                                        org.hibernate.Session sessionCurrDB,
                                                        ImporterMetadata importer,
                                                        MetadataAssociations metaAss)
                                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

insertArtifactContent

public static SbiArtifact insertArtifactContent(SbiArtifact newArtifact,
                                                SbiArtifact exportedArtifact,
                                                SbiArtifactContent exportedArtifactContent,
                                                org.hibernate.Session sessionCurrDB,
                                                ImporterMetadata importer,
                                                MetadataAssociations metaAss)
                                         throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiMetaModel makeNew(SbiMetaModel exportedMetaModel,
                                   org.hibernate.Session sessionCurrDB,
                                   it.eng.spago.security.IEngUserProfile profile)
Make new Meta MOdel

Parameters:
dataProxy - the ds
Returns:
the Meta Model

modifyExisting

public static SbiMetaModel modifyExisting(SbiMetaModel exportedMeta,
                                          org.hibernate.Session sessionCurrDB,
                                          java.lang.Integer existingId,
                                          org.hibernate.Session sessionExpDB,
                                          it.eng.spago.security.IEngUserProfile profile)
                                   throws java.lang.Exception
Load an existing metamodel and make modifications as per the exported metamodel in input

Parameters:
exportedmetamodel - the exported metamodel
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing metamodel modified as per the exported dataset in input
Throws:
it.eng.spago.error.EMFUserError
java.lang.Exception

associateWithExistingEntities

public static SbiMetaModel associateWithExistingEntities(SbiMetaModel newMetaModel,
                                                         SbiMetaModel exportedMetaModel,
                                                         SbiMetaModelContent exportedMetaModelContent,
                                                         org.hibernate.Session sessionCurrDB,
                                                         ImporterMetadata importer,
                                                         MetadataAssociations metaAss)
                                                  throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

insertMetaModelContent

public static SbiMetaModel insertMetaModelContent(SbiMetaModel newMetaModel,
                                                  SbiMetaModel exportedMetaModel,
                                                  SbiMetaModelContent exportedMetaModelContent,
                                                  org.hibernate.Session sessionCurrDB,
                                                  ImporterMetadata importer,
                                                  MetadataAssociations metaAss)
                                           throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiDataSet makeNew(SbiDataSet exportedDataset,
                                 org.hibernate.Session sessionCurrDB,
                                 it.eng.spago.security.IEngUserProfile profile)
Make new data set.

Parameters:
dataProxy - the ds
Returns:
the sbi data set

associateWithExistingEntities

public static SbiDataSet associateWithExistingEntities(SbiDataSet newDataset,
                                                       SbiDataSet exportedDataset,
                                                       org.hibernate.Session sessionCurrDB,
                                                       ImporterMetadata importer,
                                                       MetadataAssociations metaAss)
                                                throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiDataSet modifyExisting(SbiDataSet exportedDataset,
                                        org.hibernate.Session sessionCurrDB,
                                        java.lang.Integer existingId,
                                        org.hibernate.Session sessionExpDB,
                                        it.eng.spago.security.IEngUserProfile profile)
                                 throws java.lang.Exception
Load an existing dataset and make modifications as per the exported dataset in input For what concern the history keep track of the previous one and insert the new one

Parameters:
exportedDataset - the exported dataset
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing dataset modified as per the exported dataset in input
Throws:
it.eng.spago.error.EMFUserError
java.lang.Exception

modifyExisting

public static SbiLov modifyExisting(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).

Parameters:
exportedLov - the exported lov
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing lov modified as per the exported lov in input
Throws:
it.eng.spago.error.EMFUserError

associateWithExistingEntities

public static void associateWithExistingEntities(SbiLov lov,
                                                 SbiLov exportedLov,
                                                 org.hibernate.Session sessionCurrDB,
                                                 ImporterMetadata importer,
                                                 MetadataAssociations metaAss)
                                          throws it.eng.spago.error.EMFUserError
Set into the lov the lov type domain associated with the exported lov.

Parameters:
lov - the lov
exportedLov - the exported lov
sessionCurrDB - the session curr db
importer - the importer
metaAss - the meta ass
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

associateWithExistingEntities

public static void associateWithExistingEntities(SbiDataSource datasource,
                                                 SbiDataSource exportedDatasource,
                                                 org.hibernate.Session sessionCurrDB,
                                                 ImporterMetadata importer,
                                                 MetadataAssociations metaAss)
                                          throws it.eng.spago.error.EMFUserError
Set into the datasource the dialect type domain associated with the exported datasource.

Parameters:
datasource - the datasource
exportedDatasource - the exported lov
sessionCurrDB - the session curr db
importer - the importer
metaAss - the meta ass
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiParuseDet makeNew(SbiParuseDet expParuseDet,
                                   org.hibernate.Session sessionCurrDB,
                                   MetadataAssociations metaAss)
                            throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiParuseDet modifyExisting(SbiParuseDet exportedParusedet,
                                          SbiParuseDet existingParusedet,
                                          org.hibernate.Session sessionCurrDB,
                                          MetadataAssociations metaAss)
                                   throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

entitiesAssociations

public static void entitiesAssociations(SbiParuseDet exportedSbiParuseDet,
                                        SbiParuseDet newSbiParuseDet,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiParuseCk makeNew(SbiParuseCk expParuseCk,
                                  org.hibernate.Session sessionCurrDB,
                                  MetadataAssociations metaAss)
                           throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

modifyExisting

public static SbiParuseCk modifyExisting(SbiParuseCk exportedParuseCk,
                                         SbiParuseCk existingParuseCk,
                                         org.hibernate.Session sessionCurrDB,
                                         MetadataAssociations metaAss)
                                  throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

entitiesAssociations

public static void entitiesAssociations(SbiParuseCk exportedSbiParuseCk,
                                        SbiParuseCk newSbiParuseCk,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

makeNew

public static SbiFuncRole makeNew(SbiFuncRole functrole,
                                  java.lang.Integer newFunctid,
                                  java.lang.Integer newRoleid)

getImportFileMaxSize

public static int getImportFileMaxSize()

getImportTempFolderPath

public static java.lang.String getImportTempFolderPath()

getImportManagerInstance

public static IImportManager getImportManagerInstance()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

makeNew

public static SbiKpi makeNew(SbiKpi kpi,
                             org.hibernate.Session sessionCurrDB,
                             MetadataAssociations metaAss)
Creates a new hibernate kpi object.

Parameters:
kpi - kpi
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpi modifyExisting(SbiKpi exportedKpi,
                                    org.hibernate.Session sessionCurrDB,
                                    java.lang.Integer existingId,
                                    MetadataAssociations metaAss)
                             throws it.eng.spago.error.EMFUserError
Load an existing kpi and make modifications as per the exported kpi in input

Parameters:
exportedKpi - the exported Kpi
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Kpi modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpi exportedKpi,
                                        SbiKpi existingKpi,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
For Kpi search new Ids

Parameters:
exportedKpi - the exported Kpi
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiInstance makeNew(SbiKpiInstance kpiInst,
                                     org.hibernate.Session sessionCurrDB,
                                     MetadataAssociations metaAss)
Creates a new hibernate kpi instance object.

Parameters:
SbiKpiInstance - kpiInst
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpiInstance modifyExisting(SbiKpiInstance exportedKpiInst,
                                            org.hibernate.Session sessionCurrDB,
                                            java.lang.Integer existingId,
                                            MetadataAssociations metaAss)
                                     throws it.eng.spago.error.EMFUserError
Load an existing kpi instance and make modifications as per the exported kpi instance in input

Parameters:
exportedKpiInst - the exported Kpi Instance
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Kpi modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpiInstance exportedKpiInst,
                                        SbiKpiInstance existingKpiInst,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
For Kpi Instamce search new Ids

Parameters:
exportedKpiInstance - the exported Kpi Instance
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiThresholdValue makeNew(SbiThresholdValue thresholdValue,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
Creates a new hibernate th value object.

Parameters:
ThreasholdValue - thValue
Returns:
the new hibernate parameter object

modifyExisting

public static SbiThresholdValue modifyExisting(SbiThresholdValue exportedThValue,
                                               org.hibernate.Session sessionCurrDB,
                                               java.lang.Integer existingId,
                                               MetadataAssociations metaAss,
                                               ImporterMetadata importer)
                                        throws it.eng.spago.error.EMFUserError
Load an existing threshold Values and make modifications as per the exported thValue in input

Parameters:
exportedThValue - the exported Th value
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Threshold Value modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiThresholdValue exportedThValue,
                                        SbiThresholdValue existingThvalue,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For ThresholdValues search new Ids

Parameters:
exportedKpi - the exported Kpi
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiThreshold makeNew(SbiThreshold threshold,
                                   org.hibernate.Session sessionCurrDB,
                                   MetadataAssociations metaAss)
Creates a new hibernate th object.

Parameters:
Threashold - thresdold
Returns:
the new hibernate parameter object

modifyExisting

public static SbiThreshold modifyExisting(SbiThreshold exportedTh,
                                          org.hibernate.Session sessionCurrDB,
                                          java.lang.Integer existingId,
                                          MetadataAssociations metaAss)
                                   throws it.eng.spago.error.EMFUserError
Load an existing threshold and make modifications as per the exported thValue in input

Parameters:
exportedThValue - the exported Th
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Threshold modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiThreshold exportedTh,
                                        SbiThreshold existingTh,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
For Threshold search new Ids

Parameters:
exportedKpi - the exported Kpi
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiModel makeNew(SbiKpiModel model,
                                  org.hibernate.Session sessionCurrDB,
                                  MetadataAssociations metaAss)
Creates a new hibernate model object.

Parameters:
Model - model
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpiModel modifyExisting(SbiKpiModel exportedMod,
                                         org.hibernate.Session sessionCurrDB,
                                         java.lang.Integer existingId,
                                         MetadataAssociations metaAss)
                                  throws it.eng.spago.error.EMFUserError
Load an existing Model and make modifications

Parameters:
exportedModel - the exported Model
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Model modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpiModel exportedMod,
                                        SbiKpiModel existingMod,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
For Model search new Ids

Parameters:
exportedModel - the exported Model
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiModelInst makeNew(SbiKpiModelInst modelInst,
                                      org.hibernate.Session sessionCurrDB,
                                      MetadataAssociations metaAss)
Creates a new hibernate model instance object.

Parameters:
ModelInst - model instance
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpiModelInst modifyExisting(SbiKpiModelInst exportedModInst,
                                             org.hibernate.Session sessionCurrDB,
                                             java.lang.Integer existingId,
                                             MetadataAssociations metaAss)
                                      throws it.eng.spago.error.EMFUserError
Load an existing Model Inst and make modifications

Parameters:
exportedModelInst - the exported Model Instance
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Model INSTANCE modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpiModelInst exportedModInst,
                                        SbiKpiModelInst existingModInst,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss)
                                 throws it.eng.spago.error.EMFUserError
For Model Instance search new Ids

Parameters:
exportedModelInst - the exported Model Instance
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiResources makeNew(SbiResources resource,
                                   org.hibernate.Session sessionCurrDB,
                                   MetadataAssociations metaAss,
                                   ImporterMetadata importer)
Creates a new hibernate SbiResource object.

Parameters:
Resource - resource
Returns:
the new hibernate parameter object

modifyExisting

public static SbiResources modifyExisting(SbiResources exportedRes,
                                          org.hibernate.Session sessionCurrDB,
                                          java.lang.Integer existingId,
                                          MetadataAssociations metaAss,
                                          ImporterMetadata importer)
                                   throws it.eng.spago.error.EMFUserError
Load an existing resource and make modifications as per the exported resource in input

Parameters:
exportedResource - the exported resource
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Threshold Value modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiResources exportedRes,
                                        SbiResources existingResources,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For Resources search new Ids

Parameters:
exportedRes - the exported Resource
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiModelResources makeNew(SbiKpiModelResources modRes,
                                           org.hibernate.Session sessionCurrDB,
                                           MetadataAssociations metaAss,
                                           ImporterMetadata importer)
Creates a new hibernate th value object.

Parameters:
Model - Resource modRes
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpiModelResources modifyExisting(SbiKpiModelResources exportedModRes,
                                                  org.hibernate.Session sessionCurrDB,
                                                  java.lang.Integer existingId,
                                                  MetadataAssociations metaAss,
                                                  ImporterMetadata importer)
                                           throws it.eng.spago.error.EMFUserError
Load an existing Model resource and make modifications as per the exported Model resource in input

Parameters:
exported - mOdel Resource the exported resource
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Threshold Value modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpiModelResources exportedModRes,
                                        SbiKpiModelResources existingModResources,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For Model Resources search new Ids

Parameters:
exported - Model Res the exported Resource
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiPeriodicity makeNew(SbiKpiPeriodicity periodicity,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
Creates a new hibernate th value object.

Parameters:
Periodicity - per
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpiPeriodicity modifyExisting(SbiKpiPeriodicity exportedPer,
                                               org.hibernate.Session sessionCurrDB,
                                               java.lang.Integer existingId,
                                               MetadataAssociations metaAss,
                                               ImporterMetadata importer)
                                        throws it.eng.spago.error.EMFUserError
Load an existing resource and make modifications as per the exported periodicity in input

Parameters:
exportedPeriodicity - the exported periodicity
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Periodicity modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpiPeriodicity exportedPer,
                                        SbiKpiPeriodicity existingPer,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For Periodicity search new Ids

Parameters:
exportedRes - the exported Periodicity
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiInstPeriod makeNew(SbiKpiInstPeriod kpiInstPeriod,
                                       org.hibernate.Session sessionCurrDB,
                                       MetadataAssociations metaAss,
                                       ImporterMetadata importer)
Creates a new hibernate th value object.

Parameters:
KpiInstPeriod - kpiInstPeriod
Returns:
the new hibernate parameter object

modifyExisting

public static SbiKpiInstPeriod modifyExisting(SbiKpiInstPeriod exportedKpiInstPeriod,
                                              org.hibernate.Session sessionCurrDB,
                                              java.lang.Integer existingId,
                                              MetadataAssociations metaAss,
                                              ImporterMetadata importer)
                                       throws it.eng.spago.error.EMFUserError
Load an existing KpiInstPeriod and make modifications as per the exported KpiInstPeriod in input

Parameters:
exported - mKpiInstPeriod the exported resource
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing KpiInstPeriod modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiKpiInstPeriod exportedKpiInstPeriod,
                                        SbiKpiInstPeriod existingKpiInstPeriod,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For KpiInstPeriod search new Ids

Parameters:
exported - KpiInstPeriod the exported KpiInstPeriod
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiAlarm makeNew(SbiAlarm alarm,
                               org.hibernate.Session sessionCurrDB,
                               MetadataAssociations metaAss,
                               ImporterMetadata importer)
Creates a new hibernate SbiAlarm object.

Parameters:
Alarm - alarm
Returns:
the new hibernate parameter object

modifyExisting

public static SbiAlarm modifyExisting(SbiAlarm exportedAlarm,
                                      org.hibernate.Session sessionCurrDB,
                                      java.lang.Integer existingId,
                                      MetadataAssociations metaAss,
                                      ImporterMetadata importer)
                               throws it.eng.spago.error.EMFUserError
Load an existing Alarm and make modifications as per the exported Alarm in input

Parameters:
exportedAlarm - the exported Alarm
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Alarm modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiAlarm exportedAlarm,
                                        SbiAlarm existingAlarm,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For Alarm search new Ids

Parameters:
exportedAlarm - the exported Alarm
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiAlarmContact makeNew(SbiAlarmContact alarmContact,
                                      org.hibernate.Session sessionCurrDB,
                                      MetadataAssociations metaAss,
                                      ImporterMetadata importer)
Creates a new hibernate SbiAlarmContact object.

Parameters:
AlarmContact - alarmContact
Returns:
the new hibernate parameter object

modifyExisting

public static SbiAlarmContact modifyExisting(SbiAlarmContact exportedAlarmContact,
                                             org.hibernate.Session sessionCurrDB,
                                             java.lang.Integer existingId,
                                             MetadataAssociations metaAss,
                                             ImporterMetadata importer)
                                      throws it.eng.spago.error.EMFUserError
Load an existing Alarm Contact and make modifications as per the exported Alarm Contact in input

Parameters:
exportedAlarm - the exported Alarm Contact
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing Alarm Contactmodified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiAlarmContact exportedAlarm,
                                        SbiAlarmContact existingAlarm,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For Alarm Contacts search new Ids

Parameters:
exportedAlarm - the exported Alarm Contacts
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiObjMetadata makeNew(SbiObjMetadata objMetadata,
                                     org.hibernate.Session sessionCurrDB,
                                     MetadataAssociations metaAss,
                                     ImporterMetadata importer)
Creates a new hibernate ObjMetadata.

Parameters:
ObjMetadata - objMetadata
Returns:
the new hibernate parameter object

modifyExisting

public static SbiObjMetadata modifyExisting(SbiObjMetadata exportedObjMetadata,
                                            org.hibernate.Session sessionCurrDB,
                                            java.lang.Integer existingId,
                                            MetadataAssociations metaAss,
                                            ImporterMetadata importer)
                                     throws it.eng.spago.error.EMFUserError
Load an existing ObjMetadata and make modifications as per the exported ObjMetadata in input

Parameters:
ObjMetadata - objMetadata
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing ObjMetadata modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiObjMetadata exportedObjMetadata,
                                        SbiObjMetadata existingObjMetadata,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For ObjMetadata search new Ids

Parameters:
exported - metadata ObjMetadata
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiObjMetacontents makeNew(SbiObjMetacontents metacontents,
                                         org.hibernate.Session sessionCurrDB,
                                         MetadataAssociations metaAss,
                                         ImporterMetadata importer,
                                         it.eng.spago.security.IEngUserProfile iEngUserProfile)
Creates a new hibernate SbiObjMetacontent object.

Parameters:
iEngUserProfile -
SbiObjectMetacontent - metcontent
Returns:
the new hibernate parameter object

modifyExisting

public static SbiObjMetacontents modifyExisting(SbiObjMetacontents exportedMetacontents,
                                                org.hibernate.Session sessionCurrDB,
                                                java.lang.Integer existingId,
                                                MetadataAssociations metaAss,
                                                ImporterMetadata importer,
                                                it.eng.spago.security.IEngUserProfile userProfile)
                                         throws it.eng.spago.error.EMFUserError
Load an existing ObjMetacontents and make modifications as per the exported ObjMetacontents in input

Parameters:
exportedObjMetacontents - the exported ObjMetacontents
sessionCurrDB - the session curr db
existingId - the existing id
userProfile -
Returns:
the existing ObjMetacontents modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

entitiesAssociations

public static void entitiesAssociations(SbiObjMetacontents exportedMetacontents,
                                        SbiObjMetacontents existingMetacontents,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer,
                                        it.eng.spago.security.IEngUserProfile profile)
                                 throws it.eng.spago.error.EMFUserError
For SBiObjMetacontents search new Ids

Parameters:
exportedMetacontent - the exported SbiObjMetacontent
sessionCurrDB - the session curr db
iEngUserProfile -
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiKpiRel makeNew(SbiKpiRel kpirel,
                                org.hibernate.Session sessionCurrDB,
                                MetadataAssociations metaAss,
                                ImporterMetadata importer)
Creates a new hibernate SbiKpiRel object.

Parameters:
SbiKpiRel - relation
Returns:
the new hibernate parameter object

entitiesAssociations

public static void entitiesAssociations(SbiKpiRel exportedKpiRel,
                                        SbiKpiRel existingKpiRel,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For SbiKpiRel search new Ids

Parameters:
exportedKpiRel - the exported SbiKpiRel
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiUdp makeNew(SbiUdp udp,
                             org.hibernate.Session sessionCurrDB,
                             MetadataAssociations metaAss,
                             ImporterMetadata importer)
Creates a new hibernate SbiUdp udp object.

Parameters:
SbiUdp - udp
Returns:
the new hibernate parameter object

entitiesAssociations

public static void entitiesAssociations(SbiUdp exportedSbiUdp,
                                        SbiUdp existingSbiUdp,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For SbiUdp search new Ids

Parameters:
exportedSbiUdp - the exported SbiUdp
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

modifyExisting

public static SbiUdp modifyExisting(SbiUdp exportedUdp,
                                    org.hibernate.Session sessionCurrDB,
                                    java.lang.Integer existingUdpId)
                             throws it.eng.spago.error.EMFUserError
Load an existing Udp and make modifications as per the exported udp in input

Parameters:
exportedUdp - the exported SbiUdp
sessionCurrDB - the session curr db
existingUdpid - the existing id
Returns:
the existing Udp modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

modifyExisting

public static SbiKpiRel modifyExisting(SbiKpiRel exportedKpiRel,
                                       org.hibernate.Session sessionCurrDB,
                                       java.lang.Integer existingKpiRelId)
                                throws it.eng.spago.error.EMFUserError
Load an existing Kpi Relation and make modifications as per the exported udp in input

Parameters:
exportedKpiRel - the exported SbiKpiRel
sessionCurrDB - the session curr db
existingKpiRelId - the existing id
Returns:
the existing SbiKpiRel modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiUdpValue makeNew(SbiUdpValue udpValue,
                                  org.hibernate.Session sessionCurrDB,
                                  MetadataAssociations metaAss,
                                  ImporterMetadata importer)
Creates a new hibernate SbiUdpValue udp value object.

Parameters:
SbiUdpValue - udp value
Returns:
the new hibernate parameter object

entitiesAssociations

public static void entitiesAssociations(SbiUdpValue exportedSbiUdpValue,
                                        SbiUdpValue existingSbiUdpValue,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For SbiUdpValue search new Ids

Parameters:
exportedSbiUdpValue - the exported SbiUdpValue
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

modifyExisting

public static SbiUdpValue modifyExisting(SbiUdpValue exportedUdpValue,
                                         org.hibernate.Session sessionCurrDB,
                                         java.lang.Integer existingUdpValueId)
                                  throws it.eng.spago.error.EMFUserError
Load an existing Udp value and make modifications as per the exported udp in input

Parameters:
exportedUdp - the exported SbiUdp
sessionCurrDB - the session curr db
existingUdpid - the existing id
Returns:
the existing SbiUdpValue modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiOrgUnitGrant makeNew(SbiOrgUnitGrant grant,
                                      org.hibernate.Session sessionCurrDB,
                                      MetadataAssociations metaAss,
                                      ImporterMetadata importer)
Creates a new hibernate SbiOrgUnitGrant grant object.

Parameters:
SbiOrgUnitGrant - grant
Returns:
the new hibernate parameter object

entitiesAssociations

public static void entitiesAssociations(SbiOrgUnitGrant exportedGrant,
                                        SbiOrgUnitGrant existingGrant,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For SbiOrgUnitGrant search new Ids

Parameters:
exportedSbiUdpValue - the exported SbiOrgUnitGrant
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

modifyExisting

public static SbiOrgUnitGrant modifyExisting(SbiOrgUnitGrant exportedGrant,
                                             org.hibernate.Session sessionCurrDB,
                                             java.lang.Integer existingId)
                                      throws it.eng.spago.error.EMFUserError
Load an existing grant and make modifications as per the exported grant in input

Parameters:
exportedGrant - the exported grant
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing grant modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

makeNew

public static SbiOrgUnitGrantNodes makeNew(SbiOrgUnitGrantNodes grantNode,
                                           org.hibernate.Session sessionCurrDB,
                                           MetadataAssociations metaAss,
                                           ImporterMetadata importer)
Creates a new hibernate SbiOrgUnitGrantNodes grant node object.

Parameters:
SbiOrgUnitGrantNodes - grant node
Returns:
the new hibernate parameter object

entitiesAssociations

public static void entitiesAssociations(SbiOrgUnitGrantNodesId id,
                                        SbiOrgUnitGrantNodes exportedGrantNode,
                                        SbiOrgUnitGrantNodes existingGrantNode,
                                        org.hibernate.Session sessionCurrDB,
                                        MetadataAssociations metaAss,
                                        ImporterMetadata importer)
                                 throws it.eng.spago.error.EMFUserError
For SbiOrgUnitGrantNodes search new Ids

Parameters:
exportedGrantNode - the exported SbiOrgUnitGrantNodes
sessionCurrDB - the session curr db
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

modifyExisting

public static SbiOrgUnitGrantNodes modifyExisting(SbiOrgUnitGrantNodes exportedGrantNode,
                                                  org.hibernate.Session sessionCurrDB,
                                                  SbiOrgUnitGrantNodesId existingId)
                                           throws it.eng.spago.error.EMFUserError
Load an existing grant node and make modifications as per the exported grant node in input

Parameters:
exportedGrantNode - the exported grant node
sessionCurrDB - the session curr db
existingId - the existing id
Returns:
the existing grant modified as per the exported parameter in input
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

retrieveLovMetadataById

public static java.util.List<java.lang.String> retrieveLovMetadataById(SbiLov sbiLov)