|
||||||||||
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 |
associateNewSbiDataSethistory(SbiDataSetConfig dataset,
SbiDataSetConfig exportedDataset,
org.hibernate.Session sessionCurrDB,
org.hibernate.Session sessionExpDB,
ImporterMetadata importer,
MetadataAssociations metaAss,
it.eng.spago.security.IEngUserProfile profile)
associate the new History 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 |
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 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 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 SbiDataSetConfig |
makeNew(SbiDataSetConfig dataset,
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 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 SbiDataSetConfig |
modifyExisting(SbiDataSetConfig 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 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 |
---|
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 makeNew(SbiExtRoles role)
role
- old hibernate role object
public static SbiExtRoles makeNew(SbiExtRoles role, java.lang.Integer id)
role
- old hibernate role objectid
- the id
public static SbiEngines makeNew(SbiEngines engine)
engine
- old hibernate engine object
public static SbiDataSource makeNew(SbiDataSource ds)
ds
- the ds
public static SbiDataSource modifyExisting(SbiDataSource dataSource, org.hibernate.Session sessionCurrDB, java.lang.Integer existingDatasourceId)
public static SbiEngines makeNew(SbiEngines engine, java.lang.Integer id)
engine
- old hibernate engine objectid
- the id
public static SbiFunctions makeNew(SbiFunctions funct)
funct
- the funct
public static SbiFunctions makeNew(SbiFunctions funct, java.lang.Integer id)
funct
- the functid
- the id
public static SbiLov makeNew(SbiLov lov, org.hibernate.Session sessionCurrDB, java.util.HashMap<java.lang.String,java.lang.String> dsExportUser)
lov
- old hibernate lov object
public static SbiLov makeNew(SbiLov lov, org.hibernate.Session sessionCurrDB, java.lang.Integer id, java.util.Map user)
lov
- old hibernate lov objectid
- the id
public static SbiChecks makeNew(SbiChecks check)
check
- old hibernate check object
public static SbiChecks makeNew(SbiChecks check, java.lang.Integer id)
check
- old hibernate check objectid
- the id
public static SbiParameters makeNew(SbiParameters param)
param
- the param
public static SbiParameters makeNew(SbiParameters param, java.lang.Integer id)
param
- the paramid
- the id
public static SbiObjParview makeNew(SbiObjParview exportedObjParview, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
paruse
- the paruse
it.eng.spago.error.EMFUserError
public static SbiObjParview modifyExisting(SbiObjParview exportedSbiObjParview, SbiObjParview exisingSbiObjParview, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static void entitiesAssociations(SbiObjParview exportedSbiObjParview, SbiObjParview newSbiObjParview, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiObjParuse makeNew(SbiObjParuse exportedObjParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
paruse
- the paruse
it.eng.spago.error.EMFUserError
public static SbiObjParuse modifyExisting(SbiObjParuse exportedSbiObjParuse, SbiObjParuse exisingSbiObjParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static void entitiesAssociations(SbiObjParuse exportedSbiObjParuse, SbiObjParuse newSbiObjParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiParuse makeNew(SbiParuse exportedParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
paruse
- the paruse
it.eng.spago.error.EMFUserError
public static SbiParuse modifyExisting(SbiParuse exportedParuse, SbiParuse exisingParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static void entitiesAssociations(SbiParuse exportedSbiParuse, SbiParuse newSbiParuse, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiObjects makeNew(SbiObjects obj)
obj
- old hibernate biobject
public static SbiSnapshots makeNew(SbiSnapshots obj)
obj
- the obj
public static SbiSubObjects makeNew(SbiSubObjects obj)
obj
- the obj
public static SbiObjTemplates makeNew(SbiObjTemplates obj)
obj
- the obj
public static SbiBinContents makeNew(SbiBinContents obj)
obj
- the obj
public static SbiObjects makeNew(SbiObjects obj, java.lang.Integer id)
obj
- old hibernate biobjectid
- the id
public static SbiObjects modifyExisting(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 modifyExisting(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 makeNew(SbiObjPar expObjpar, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
objpar
- the objpar
it.eng.spago.error.EMFUserError
public static SbiObjPar makeNew(SbiObjPar objpar, java.lang.Integer id, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
objpar
- the objparid
- the id
it.eng.spago.error.EMFUserError
public static SbiObjPar modifyExisting(SbiObjPar exportedSbiObjpar, SbiObjPar existingSbiObjpar, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static void entitiesAssociations(SbiObjPar exportedSbiObjPar, SbiObjPar newSbiObjPar, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
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 makeNew(SbiDataSetConfig dataset, it.eng.spago.security.IEngUserProfile profile)
dataProxy
- the ds
public static SbiDataSetConfig modifyExisting(SbiDataSetConfig exportedDataset, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId, org.hibernate.Session sessionExpDB, it.eng.spago.security.IEngUserProfile profile)
exportedDataset
- the exported datasetsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
public static void associateNewSbiDataSethistory(SbiDataSetConfig dataset, SbiDataSetConfig exportedDataset, org.hibernate.Session sessionCurrDB, org.hibernate.Session sessionExpDB, ImporterMetadata importer, MetadataAssociations metaAss, it.eng.spago.security.IEngUserProfile profile)
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 SbiLov modifyExisting(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 SbiParuseDet makeNew(SbiParuseDet expParuseDet, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiParuseDet modifyExisting(SbiParuseDet exportedParusedet, SbiParuseDet existingParusedet, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static void entitiesAssociations(SbiParuseDet exportedSbiParuseDet, SbiParuseDet newSbiParuseDet, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiParuseCk makeNew(SbiParuseCk expParuseCk, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiParuseCk modifyExisting(SbiParuseCk exportedParuseCk, SbiParuseCk existingParuseCk, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static void entitiesAssociations(SbiParuseCk exportedSbiParuseCk, SbiParuseCk newSbiParuseCk, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public static SbiFuncRole makeNew(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 makeNew(SbiKpi kpi, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
kpi
- kpi
public static SbiKpi modifyExisting(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 entitiesAssociations(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 makeNew(SbiKpiInstance kpiInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
SbiKpiInstance
- kpiInst
public static SbiKpiInstance modifyExisting(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 entitiesAssociations(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 makeNew(SbiThresholdValue thresholdValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
ThreasholdValue
- thValue
public static SbiThresholdValue modifyExisting(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 entitiesAssociations(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 makeNew(SbiThreshold threshold, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
Threashold
- thresdold
public static SbiThreshold modifyExisting(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 entitiesAssociations(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 makeNew(SbiKpiModel model, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
Model
- model
public static SbiKpiModel modifyExisting(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 entitiesAssociations(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 makeNew(SbiKpiModelInst modelInst, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss)
ModelInst
- model instance
public static SbiKpiModelInst modifyExisting(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 entitiesAssociations(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 makeNew(SbiResources resource, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Resource
- resource
public static SbiResources modifyExisting(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 entitiesAssociations(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 makeNew(SbiKpiModelResources modRes, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Model
- Resource modRes
public static SbiKpiModelResources modifyExisting(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 entitiesAssociations(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 makeNew(SbiKpiPeriodicity periodicity, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Periodicity
- per
public static SbiKpiPeriodicity modifyExisting(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 entitiesAssociations(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 makeNew(SbiKpiInstPeriod kpiInstPeriod, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
KpiInstPeriod
- kpiInstPeriod
public static SbiKpiInstPeriod modifyExisting(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 entitiesAssociations(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 makeNew(SbiAlarm alarm, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
Alarm
- alarm
public static SbiAlarm modifyExisting(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 entitiesAssociations(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 makeNew(SbiAlarmContact alarmContact, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
AlarmContact
- alarmContact
public static SbiAlarmContact modifyExisting(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 entitiesAssociations(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 SbiObjMetadata makeNew(SbiObjMetadata objMetadata, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
ObjMetadata
- objMetadata
public static SbiObjMetadata modifyExisting(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 entitiesAssociations(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 makeNew(SbiObjMetacontents metacontents, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer, it.eng.spago.security.IEngUserProfile iEngUserProfile)
iEngUserProfile
- SbiObjectMetacontent
- metcontent
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
exportedObjMetacontents
- the exported ObjMetacontentssessionCurrDB
- the session curr dbexistingId
- the existing iduserProfile
-
it.eng.spago.error.EMFUserError
- the EMF user errorpublic 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
exportedMetacontent
- the exported SbiObjMetacontentsessionCurrDB
- the session curr dbiEngUserProfile
-
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiRel makeNew(SbiKpiRel kpirel, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiKpiRel
- relation
public static void entitiesAssociations(SbiKpiRel exportedKpiRel, SbiKpiRel existingKpiRel, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedKpiRel
- the exported SbiKpiRelsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiUdp makeNew(SbiUdp udp, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiUdp
- udp
public static void entitiesAssociations(SbiUdp exportedSbiUdp, SbiUdp existingSbiUdp, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedSbiUdp
- the exported SbiUdpsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiUdp modifyExisting(SbiUdp exportedUdp, org.hibernate.Session sessionCurrDB, java.lang.Integer existingUdpId) throws it.eng.spago.error.EMFUserError
exportedUdp
- the exported SbiUdpsessionCurrDB
- the session curr dbexistingUdpid
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiKpiRel modifyExisting(SbiKpiRel exportedKpiRel, org.hibernate.Session sessionCurrDB, java.lang.Integer existingKpiRelId) throws it.eng.spago.error.EMFUserError
exportedKpiRel
- the exported SbiKpiRelsessionCurrDB
- the session curr dbexistingKpiRelId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiUdpValue makeNew(SbiUdpValue udpValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiUdpValue
- udp value
public static void entitiesAssociations(SbiUdpValue exportedSbiUdpValue, SbiUdpValue existingSbiUdpValue, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedSbiUdpValue
- the exported SbiUdpValuesessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiUdpValue modifyExisting(SbiUdpValue exportedUdpValue, org.hibernate.Session sessionCurrDB, java.lang.Integer existingUdpValueId) throws it.eng.spago.error.EMFUserError
exportedUdp
- the exported SbiUdpsessionCurrDB
- the session curr dbexistingUdpid
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiOrgUnitGrant makeNew(SbiOrgUnitGrant grant, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiOrgUnitGrant
- grant
public static void entitiesAssociations(SbiOrgUnitGrant exportedGrant, SbiOrgUnitGrant existingGrant, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedSbiUdpValue
- the exported SbiOrgUnitGrantsessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiOrgUnitGrant modifyExisting(SbiOrgUnitGrant exportedGrant, org.hibernate.Session sessionCurrDB, java.lang.Integer existingId) throws it.eng.spago.error.EMFUserError
exportedGrant
- the exported grantsessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiOrgUnitGrantNodes makeNew(SbiOrgUnitGrantNodes grantNode, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer)
SbiOrgUnitGrantNodes
- grant node
public static void entitiesAssociations(SbiOrgUnitGrantNodesId id, SbiOrgUnitGrantNodes exportedGrantNode, SbiOrgUnitGrantNodes existingGrantNode, org.hibernate.Session sessionCurrDB, MetadataAssociations metaAss, ImporterMetadata importer) throws it.eng.spago.error.EMFUserError
exportedGrantNode
- the exported SbiOrgUnitGrantNodessessionCurrDB
- the session curr db
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static SbiOrgUnitGrantNodes modifyExisting(SbiOrgUnitGrantNodes exportedGrantNode, org.hibernate.Session sessionCurrDB, SbiOrgUnitGrantNodesId existingId) throws it.eng.spago.error.EMFUserError
exportedGrantNode
- the exported grant nodesessionCurrDB
- the session curr dbexistingId
- the existing id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic static java.util.List<java.lang.String> retrieveLovMetadataById(SbiLov sbiLov)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |