|
|||||||||
| 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. |
static class |
IImportOptions.SecurityImportMode
This enum defines constants for how BIAR may import InfoObjects security. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
IImportCallback |
getCallback()
Returns the import callback object. |
IImportOptions.OrphanHandling |
getOrphanHandling()
Returns how BIAR will handle orphaned InfoObjects. |
IImportOptions.SecurityImportMode |
getSecurityImportMode()
|
boolean |
isFailUnresolvedCUIDs()
Returns the value of the "Fail unresolved IDs" option. |
boolean |
isIncludeSecurity()
Deprecated. Use IImportOptions.getSecurityImportMode() instead. |
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 |
setSecurityImportMode(IImportOptions.SecurityImportMode securityImportMode)
Sets how BIAR will import security, depends on whether the object already exists on the CMS. |
IImportOptions |
setTwoStepImport(boolean twoStepImport)
Sets the value of the "Two step import" option. |
| Methods inherited from interface com.businessobjects.sdk.biar.ICommonOptions |
|---|
getBIARPassword, 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)@Deprecated boolean isIncludeSecurity()
IImportOptions.getSecurityImportMode() instead.
ICommonOptions
isIncludeSecurity in interface ICommonOptionsICommonOptions.setIncludeSecurity(boolean)IImportOptions.SecurityImportMode getSecurityImportMode()
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.OrphanHandlingIImportOptions setSecurityImportMode(IImportOptions.SecurityImportMode securityImportMode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||