|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IImportOptions
This interface represents the set of options that are applied during a BIAR
import operation. To create an instance, use
BIARFactory.createImportOptions().
| Nested Class Summary | |
|---|---|
static class |
IImportOptions.OrphanHandling
This enum defines constants for the different ways BIAR may handle orphaned InfoObjects during import. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
IImportCallback |
getCallback()
Returns the import callback object. |
IImportOptions.OrphanHandling |
getOrphanHandling()
Returns how BIAR will handle orphaned InfoObjects. |
boolean |
isFailUnresolvedCUIDs()
Returns the value of the "Fail unresolved IDs" option. |
boolean |
isTwoStepImport()
Returns the value of the "Two step import" option. |
IImportOptions |
setCallback(IImportCallback cb)
Sets a callback to be asynchronously notified of certain events during the import process. |
IImportOptions |
setFailUnresolvedCUIDs(boolean failUnresolvedCUIDs)
Sets the value of the "Fail unresolved CUIDs" option. |
IImportOptions |
setFrom(IImportOptions opts)
Copies the values from the specified set of options into this object. |
IImportOptions |
setOrphanHandling(IImportOptions.OrphanHandling orphanHandling)
Sets how BIAR will handle orphaned InfoObjects. |
IImportOptions |
setTwoStepImport(boolean twoStepImport)
Sets the value of the "Two step import" option. |
| Methods inherited from interface com.businessobjects.sdk.biar.ICommonOptions |
|---|
getBIARPassword, isIncludeSecurity, setBIARPassword, setFrom, setIncludeSecurity |
| Method Detail |
|---|
java.lang.Object clone()
IImportCallback getCallback()
IImportOptions.setCallback(IImportCallback)IImportOptions.OrphanHandling getOrphanHandling()
IImportOptions.OrphanHandlingboolean isFailUnresolvedCUIDs()
#setFailUnresolvedIDs(boolean)boolean isTwoStepImport()
IImportOptions.setTwoStepImport(boolean)IImportOptions setCallback(IImportCallback cb)
Sets a callback to be asynchronously notified of certain events during the import process.
Note that callbacks are invoked asynchronously and do not block execution of the import.
cb - the object containing the callback methods to invoke when
events occur during the import process
IImportOptions setFailUnresolvedCUIDs(boolean failUnresolvedCUIDs)
If this option is disabled, properties that contain references to unresolved CUIDs are removed and the import process continues.
failUnresolvedCUIDs - the value for the "Fail unresolved CUIDs" option
IImportOptions setTwoStepImport(boolean twoStepImport)
twoStepImport - the value for the "Two step import" option
IObjectManager.importFiles()IImportOptions setFrom(IImportOptions opts)
opts - the object that contains the options to be copied
IImportOptions setOrphanHandling(IImportOptions.OrphanHandling orphanHandling)
IImportOptions.OrphanHandling
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||