wt.replication.export
Class ExportUnitVisitor

java.lang.Object
  extended bywt.visitor.VisitorAdapter
      extended bywt.replication.export.ExportUnitVisitor
All Implemented Interfaces:
Visitor

public class ExportUnitVisitor
extends VisitorAdapter

This class implements the Visitor interface. The visit() method is implemented to add a replicated item to the replication unit - WTUnit.

This class also contains a reference to a StandardExportService. This is necessary becuase the visit() method must use a protected method on this service. Therefore, this class is only intended for use with the StandardExportService.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private  ExportHandler theExportHandler
          Deprecated.  
 
Constructor Summary
ExportUnitVisitor(ExportHandler a_expHandler)
          Deprecated.  
 
Method Summary
private  void exportDescribedByWTDocuments(WTPart part)
          Deprecated.  
private  void exportEPMBuildLinksRule(WTPart part)
          Deprecated.  
private  void exportEPMDocStuff(EPMDocument epmDoc, Link link)
          Deprecated.  
private  void exportWTPartStuff(WTPart part, WTPartUsageLink usageLink, int level)
          Deprecated.  
private  void printDescribeLink(WTPartDescribeLink describeLink)
          Deprecated.  
private  void printEPMBuildLinksRule(EPMBuildLinksRule buildRule)
          Deprecated.  
private  void printEPMDocument(EPMDocument epmDoc)
          Deprecated.  
private  void printEPMMemberLink(EPMMemberLink link)
          Deprecated.  
private  void printEPMReferenceLink(EPMReferenceLink link)
          Deprecated.  
private  void printUsageLink(WTPartUsageLink link)
          Deprecated.  
private  void printWTDocument(WTDocument doc)
          Deprecated.  
private  void printWTPart(WTPart part, int level, int quantity)
          Deprecated.  
 boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited)
          Deprecated.  
 
Methods inherited from class wt.visitor.VisitorAdapter
visitLevel, visitLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

theExportHandler

private ExportHandler theExportHandler
Deprecated. 
Constructor Detail

ExportUnitVisitor

public ExportUnitVisitor(ExportHandler a_expHandler)
Deprecated.  

Constructs an instance using the specified Unit.

Supported API: false

Parameters:
a_expHandler -
Method Detail

visit

public boolean visit(Persistable fromNode,
                     Link link,
                     Persistable toNode,
                     int level,
                     boolean previouslyVisited)
              throws WTException
Deprecated.  

Visits a node and adds it to a WTUnit. If this node has been previously visited, then false is returned.

Supported API: false

Specified by:
visit in interface Visitor
Overrides:
visit in class VisitorAdapter
Parameters:
fromNode -
link -
toNode -
level -
previouslyVisited -
Returns:
boolean
Throws:
WTException

exportWTPartStuff

private void exportWTPartStuff(WTPart part,
                               WTPartUsageLink usageLink,
                               int level)
                        throws WTException
Deprecated. 
Throws:
WTException

exportEPMDocStuff

private void exportEPMDocStuff(EPMDocument epmDoc,
                               Link link)
                        throws WTException
Deprecated. 
Throws:
WTException

exportEPMBuildLinksRule

private void exportEPMBuildLinksRule(WTPart part)
                              throws WTException
Deprecated. 
Throws:
WTException

exportDescribedByWTDocuments

private void exportDescribedByWTDocuments(WTPart part)
                                   throws WTException
Deprecated. 
Throws:
WTException

printWTPart

private void printWTPart(WTPart part,
                         int level,
                         int quantity)
                  throws WTException
Deprecated. 
Throws:
WTException

printUsageLink

private void printUsageLink(WTPartUsageLink link)
                     throws WTException
Deprecated. 
Throws:
WTException

printWTDocument

private void printWTDocument(WTDocument doc)
                      throws WTException
Deprecated. 
Throws:
WTException

printDescribeLink

private void printDescribeLink(WTPartDescribeLink describeLink)
                        throws WTException
Deprecated. 
Throws:
WTException

printEPMDocument

private void printEPMDocument(EPMDocument epmDoc)
                       throws WTException
Deprecated. 
Throws:
WTException

printEPMMemberLink

private void printEPMMemberLink(EPMMemberLink link)
                         throws WTException
Deprecated. 
Throws:
WTException

printEPMReferenceLink

private void printEPMReferenceLink(EPMReferenceLink link)
                            throws WTException
Deprecated. 
Throws:
WTException

printEPMBuildLinksRule

private void printEPMBuildLinksRule(EPMBuildLinksRule buildRule)
                             throws WTException
Deprecated. 
Throws:
WTException