Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.persistence.persistencemanager.common
Class TransferControl

java.lang.Object
  |
  +--oracle.dss.persistence.persistencemanager.common.TransferControl

public class TransferControl
extends java.lang.Object

The TransferControl class is a structure that contains information for the PersistenceManager import, export and transfer methods. Information provided through this objects is: eventOnly mode, importReferencedObjects and the list of objects to transfer.

See Also:
PersistenceManagerImpl

Constructor Summary
TransferControl()
          The constructor for PersistenceBindingImpl

 

Method Summary
 java.util.Vector getTransferList()
          returns the current transferList
 boolean isBackupMode()
          return the state of backMode
 void setBackupMode(boolean backupMode)
          set backup mode, change the transfer mode.
 void setTransferList(java.util.Vector transferList)
          set TransferList This is vector of objects/folders to be transferred.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TransferControl

public TransferControl()
The constructor for PersistenceBindingImpl
Method Detail

setTransferList

public void setTransferList(java.util.Vector transferList)
set TransferList This is vector of objects/folders to be transferred. The elements must be of type name, and are interpreted relative to the context where the transfer applies to. By default the property is set to null. Which means that all the objects and folders under the context are exported.
Parameters:
transferList - Vector containing the names of the objects to be transferred

getTransferList

public java.util.Vector getTransferList()
returns the current transferList
Returns:
Vector with objects to be transferred, if the value is null all the objects/folder are transferred

setBackupMode

public void setBackupMode(boolean backupMode)
set backup mode, change the transfer mode.
Parameters:
backupMode, - true to let the transfer operation operate in backup mode. false to not operate in backup mode. In backup mode the attributes: CREATED_BY, MODIFIED_BY, TIME_DATE_CREATED, TIME_DATE_MODIFIED are preserved during the transfer. When not in backup mode these attributes are ignored and populated with the user and time information during the import. Set backupmode to true of you want to create a 1 to 1 backup of your catalog.

isBackupMode

public boolean isBackupMode()
return the state of backMode
Returns:
true if in backup mode, false if not in backmode

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.