|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.enterprise.CopyFactory
public class CopyFactory
Used to generically call methods for the Save As function. The mappings
for the exact methods to be called are in the system.properties.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static BinaryLink |
copyRelationship(WTObject original,
WTObject copy,
BinaryLink link,
String role)
Static call that will use the correct delegate to execute a copy of the relationship from the original object to the copied object. |
static BinaryLink |
copyRelationship(WTObject original,
WTObject copyA,
WTObject copyB,
BinaryLink link,
String role)
Static call that will use the correct delegate to execute a copy of the relationship from the original object to the copied object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BinaryLink copyRelationship(WTObject original,
WTObject copy,
BinaryLink link,
String role)
throws WTException
original - Original object that was copied.copy - New copy of the original object.link - The link from the original that needs to be copied.role - Designates which role to copy to the new object. For example orig uses part a would be copied to new uses part b if the role is uses.
WTException
public static BinaryLink copyRelationship(WTObject original,
WTObject copyA,
WTObject copyB,
BinaryLink link,
String role)
throws WTException
original - copyA - New copy of the original object.copyB - Multi-copy object related to original.link - The link from the original that needs to be copied.role - Designates which role to copy to the new object. For example orig uses part a would be copied to new uses part b if the role is uses.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||