|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.template.containercopy.AbstractContainerCopyHandler
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private WorklistDrivenCopier |
copier
|
private static String |
RESOURCE
|
private WTContainerRef |
sourceContainer
|
private WTContainerRef |
targetContainer
|
protected static boolean |
VERBOSE
|
private ContainerCopyWorklist |
worklist
|
Constructor Summary | |
AbstractContainerCopyHandler()
|
Method Summary | |
protected void |
copyAddedObjects()
Most of the time this is the only method that needs to be over-ridden. |
WTContainerRef |
copyObjects(WTContainerRef sourceContainer,
WTContainerRef targetContainer,
ContainerCopyWorklist workList)
This implementation calls the following methods. |
WorklistDrivenCopier |
getCopier()
Gets the value of the attribute: copier. |
WTContainerRef |
getSourceContainer()
Gets the value of the attribute: sourceContainer. |
WTContainerRef |
getTargetContainer()
Gets the value of the attribute: targetContainer. |
ContainerCopyWorklist |
getWorklist()
Gets the value of the attribute: worklist. |
protected void |
initialize()
This method provides an opportunity to do any initializion beyond setting the three target member variables that is performed in at the start of the method. |
protected void |
postFeedback(String resource,
String resourceKey,
Object[] params)
Helper method to that posts WTMessage objects to the Feedback mechanism Supported API: false |
void |
postPostCopyFeedback()
Posts post copy feedback. |
void |
postPreCopyFeedback()
Posts pre-copy user feedback. |
void |
printPostCopyVerbose()
Prints verbose post-copy statements. |
void |
printPreCopyVerbose()
Prints verbose pre-copy statements. |
protected void |
rememberSourceContainerObjects()
Depending on the template being employed it may be necessary to to remember what was in the source container in order to do pruning. |
protected void |
rememberTargetContainerObjects()
There may be some objects created by the creator delegate even if no XML is present. |
void |
setCopier(WorklistDrivenCopier a_Copier)
Sets the value of the attribute: copier. |
void |
setSourceContainer(WTContainerRef a_SourceContainer)
Sets the value of the attribute: sourceContainer. |
void |
setTargetContainer(WTContainerRef a_TargetContainer)
Sets the value of the attribute: targetContainer. |
void |
setWorklist(ContainerCopyWorklist a_Worklist)
Sets the value of the attribute: worklist. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WorklistDrivenCopier copier
private WTContainerRef sourceContainer
private WTContainerRef targetContainer
private ContainerCopyWorklist worklist
protected static final boolean VERBOSE
Constructor Detail |
public AbstractContainerCopyHandler()
Method Detail |
public WorklistDrivenCopier getCopier()
public void setCopier(WorklistDrivenCopier a_Copier)
setCopier
in interface ContainerCopyHandler
a_Copier
- public WTContainerRef getSourceContainer()
public void setSourceContainer(WTContainerRef a_SourceContainer)
a_SourceContainer
- public WTContainerRef getTargetContainer()
public void setTargetContainer(WTContainerRef a_TargetContainer)
a_TargetContainer
- public ContainerCopyWorklist getWorklist()
public void setWorklist(ContainerCopyWorklist a_Worklist)
setWorklist
in interface ContainerCopyHandler
a_Worklist
- public final WTContainerRef copyObjects(WTContainerRef sourceContainer, WTContainerRef targetContainer, ContainerCopyWorklist workList) throws WTException
copyObjects
in interface ContainerCopyHandler
sourceContainer
- targetContainer
- workList
-
WTException
protected void initialize() throws WTException
WTException
public void printPreCopyVerbose() throws WTException
printPreCopyVerbose
in interface ContainerCopyHandler
WTException
public void postPreCopyFeedback() throws WTException
postPreCopyFeedback
in interface ContainerCopyHandler
WTException
protected void rememberTargetContainerObjects() throws WTException
WTException
protected void rememberSourceContainerObjects() throws WTException
WTException
protected void copyAddedObjects() throws WTException
WTException
public void postPostCopyFeedback() throws WTException
postPostCopyFeedback
in interface ContainerCopyHandler
WTException
public void printPostCopyVerbose() throws WTException
printPostCopyVerbose
in interface ContainerCopyHandler
WTException
protected void postFeedback(String resource, String resourceKey, Object[] params) throws WTException
resource
- resourceKey
- params
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |