|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.sdk.biar.BIARFactory
public class BIARFactory
This class is used to provide concrete instances of the interfaces used with the BIAR APIs.
| Method Summary | |
|---|---|
ICommitOptions |
createCommitOptions()
|
IExportOptions |
createExportOptions()
Creates an IExportOptions instance containing the default values for a typical export. |
IImportOptions |
createImportOptions()
Creates an IImportOptions instance containing the default values for a typical import. |
ILiveToLivePipe |
createLiveToLivePipe(IEnterpriseSession srcSession,
IEnterpriseSession destSession,
IExportOptions srcOpts,
IImportOptions destOpts)
Begin a transfer between two live systems. |
IObjectManager |
createOM(IEnterpriseSession entSession)
Creates an IObjectManager instance for the specified enterprise session. |
IObjectManager |
createOM(IEnterpriseSession entSession,
boolean encrypt)
|
IObjectManager |
createOM(IEnterpriseSession entSession,
boolean encrypt,
boolean disposeFilesWithOM)
Creates an IObjectManager instance for the specified enterprise session. |
static BIARFactory |
getFactory()
Returns a reference to the singleton BIARFactory instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BIARFactory getFactory()
BIARFactory instance.
BIARFactory instance.
public ILiveToLivePipe createLiveToLivePipe(IEnterpriseSession srcSession,
IEnterpriseSession destSession,
IExportOptions srcOpts,
IImportOptions destOpts)
throws BIARException
IObjectManager and calling
IObjectManager.liveImport(IEnterpriseSession, IExportOptions, IImportOptions).
srcSession - a valid session obtained from the live source system.destSession - a valid session obtained from the live destination system.srcOpts - a set of options to control the parameters of export.destOpts - a set of options to control the parameters of import.
BIARException - if this operation fails.
public IObjectManager createOM(IEnterpriseSession entSession)
throws OMException
IObjectManager instance for the specified enterprise session.
entSession - a valid enterprise session
IObjectManager instance.
OMException - if construction fails.
public IObjectManager createOM(IEnterpriseSession entSession,
boolean encrypt)
throws OMException
encrypt - If true, OM's contents will be encrypted.
IObjectManager instance.
OMException - if construction fails.
public IObjectManager createOM(IEnterpriseSession entSession,
boolean encrypt,
boolean disposeFilesWithOM)
throws OMException
IObjectManager instance for the specified enterprise session.
entSession - a valid enterprise sessionencrypt - If true, OM's contents will be encrypted.disposeFilesWithOM - If true, any temporary files extracted from BIAR Archives, or Live to Live transfer will be cleaned up when
the OM is disposed. Otherwise the temporary files are cleaned up when the JVM closes. If this parameter is true and the OM is disposed,
any InfoObjects kept in memory from the OM could be left in an invalid state since their files could be removed. It's important to finish
any operations on your InfoObjects before disposing the OM.
IObjectManager instance.
OMException - if construction fails.public IExportOptions createExportOptions()
IExportOptions instance containing the default values for a typical export.
IExportOptions instance.IObjectManager.exportToArchive(java.lang.String, com.businessobjects.sdk.biar.IExportOptions)public IImportOptions createImportOptions()
IImportOptions instance containing the default values for a typical import.
IImportOptions instance.IObjectManager.importArchive(java.lang.String, com.businessobjects.sdk.biar.IImportOptions)public ICommitOptions createCommitOptions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||