public class CopyPasteTools
extends java.lang.Object
| Constructor and Description |
|---|
CopyPasteTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deepCopyECD(SessionToken session,
ActivityRepository rep,
ActivityModelFactory amf,
java.lang.String oldName,
java.lang.String newName,
long branch)
This tool method will search the activity repository for the child
operations of the executable component description (ECD) with the previous
name and copy them to the ECD with the new name.
|
static void |
deepCopyOperation(SessionToken session,
ActivityRepository rep,
ActivityModelFactory amf,
java.lang.String ecName,
java.lang.String oldName,
java.lang.String newName,
long branch)
This tool method will search the activity repository for the child
activity template definitions (ATD) of the operation with the previous
name and copy them to the operation with the new name.
|
public static void deepCopyECD(SessionToken session, ActivityRepository rep, ActivityModelFactory amf, java.lang.String oldName, java.lang.String newName, long branch)
session - The session token needed for the repository access.rep - The activity repository that will be used for the deep copy.amf - The activity model factory that will be used to 'clone'.oldName - The old name of the ECD.newName - The new name of the ECD.branch - The branch that will be used.public static void deepCopyOperation(SessionToken session, ActivityRepository rep, ActivityModelFactory amf, java.lang.String ecName, java.lang.String oldName, java.lang.String newName, long branch)
session - The session token needed for the repository access.rep - The activity repository that will be used for the deep copy.amf - The activity model factory that will be used to 'clone'.ecName - The name of the parent executable component description.oldName - The old name of the operation.newName - The new name of the operation.branch - The branch that will be used.