|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.owb.foundation.CopyMoveManager
CopyMoveManager
contains operations to handle Component Copy/Move operations.
Field Summary | |
static boolean |
isSameFolder Use only for the case of OMBCOPY within the same folder. |
protected static CopyMoveManager |
s_instance s_instance is the handle to the copy/move service. |
Constructor Summary | |
protected |
CopyMoveManager() |
Method Summary | |
int |
copyComponent(Component sourceComponent) Copy a Component object to the internal clipboard. |
int |
copyComponents(Component[] sourceComponents) Copy an array of Component objects to the internal clipboard. |
void |
deleteComponents(Component[] compArray) This method deletes all Component objects in the array being passed in. |
static CopyMoveManager |
getInstance() Return the singleton handle for this service. |
int |
pasteToFolder(Folder targetFolder, boolean isReplace) Paste contents from the internal clipboard. |
int |
pasteToFolder(Folder targetFolder, boolean isReplace, java.lang.String newName) Paste contents from the internal clipboard. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean isSameFolder
protected static CopyMoveManager s_instance
Constructor Detail |
protected CopyMoveManager()
Method Detail |
public static CopyMoveManager getInstance()
public int copyComponent(Component sourceComponent)
sourceComponent
- Component object to be copied.public int copyComponents(Component[] sourceComponents)
sourceComponents
- An array of Component objects to be copied.public int pasteToFolder(Folder targetFolder, boolean isReplace) throws IncompatibleTargetException, NameSpaceException, InvalidFormatException, LockException
targetFolder
- A Folder object into which clipboard Component object(s) will be pasted.isReplace
- A flag that allows replacement of existing object(s) when set to true.IncompatibleTargetException
- if the target Folder
is not a valid container for the type of object to be pasted.NameSpaceException
- if another OWBNamedObject
with the same same name already exists within this object's namespaceInvalidFormatException
- if the desired name does not satisfy the format requirements.LockException
- if the lock could not be obtained on an object to be replaced.public int pasteToFolder(Folder targetFolder, boolean isReplace, java.lang.String newName) throws IncompatibleTargetException, NameSpaceException, InvalidFormatException, LockException
targetFolder
- A Folder object into which clipboard Component object(s) will be pasted.isReplace
- A flag that allows replacement of existing object(s) when set to true.newName
- The name to be assigned to the pasted object, if the source object name default is not desired. Only valid when pasting a single object.IncompatibleTargetException
- if the target Folder
is not a valid container for the type of object to be pasted.NameSpaceException
- if another OWBNamedObject
with the same same name already exists within this object's namespaceInvalidFormatException
- if the desired name does not satisfy the format requirements.LockException
- if the lock could not be obtained on an object to be replaced.public void deleteComponents(Component[] compArray)
compArray
- An array of Component objects to be deleted, cannot be null.
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |