wt.ixb.handlers.forattributes
Class ExpImpForProjectAttr

java.lang.Object
  extended bywt.ixb.publicforhandlers.AttributeExporterImporterTemplate
      extended bywt.ixb.handlers.forattributes.ExpImpForProjectAttr
All Implemented Interfaces:
AttributeExporterImporter

public class ExpImpForProjectAttr
extends AttributeExporterImporterTemplate


Nested Class Summary
private  class ExpImpForProjectAttr.ProjectInfo
           
 
Field Summary
private  AdministrativeDomain adminDomain
           
(package private)  Hashtable DomainInfos
           
(package private)  Hashtable ProjectInfos
           
 
Fields inherited from class wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
CONFLICT_RESOURCE
 
Constructor Summary
ExpImpForProjectAttr()
           
 
Method Summary
 void checkConflictForAttribute(Object existingOb, IxbElement fileXML, Importer importer)
          Checks conflicts that can arise while import process for the given attribute and object.
private  boolean checkDomainConflict(String domainPath)
           
private  boolean checkProjectConflict(String projectName)
           
 void exportAttribute(Object object, IxbElement fileXML, Exporter exporter)
          

Supported API: true
 void finalizeCheckConflicts(Importer importer)
          Called in the end of conflict check process.
 Object importAttribute(Object object, IxbElement fileXML, Importer importer)
          

Supported API: true
private  ExpImpForProjectAttr.ProjectInfo parseName(String fullProjectName)
           
private static void PP(String s)
           
 
Methods inherited from class wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
finalizeExport, finalizeImport, prepareForCheckConflicts, prepareForImport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DomainInfos

Hashtable DomainInfos

ProjectInfos

Hashtable ProjectInfos

adminDomain

private AdministrativeDomain adminDomain
Constructor Detail

ExpImpForProjectAttr

public ExpImpForProjectAttr()
Method Detail

exportAttribute

public void exportAttribute(Object object,
                            IxbElement fileXML,
                            Exporter exporter)
                     throws WTException
Description copied from class: AttributeExporterImporterTemplate


Supported API: true

Specified by:
exportAttribute in interface AttributeExporterImporter
Specified by:
exportAttribute in class AttributeExporterImporterTemplate
Parameters:
object -
fileXML -
exporter -
Throws:
WTException

checkConflictForAttribute

public void checkConflictForAttribute(Object existingOb,
                                      IxbElement fileXML,
                                      Importer importer)
                               throws WTException
Description copied from class: AttributeExporterImporterTemplate
Checks conflicts that can arise while import process for the given attribute and object.

Supported API: true

Specified by:
checkConflictForAttribute in interface AttributeExporterImporter
Overrides:
checkConflictForAttribute in class AttributeExporterImporterTemplate
Parameters:
existingOb -
fileXML - the IxbElement of the XML file to be imported.
importer - The Importer instance that represents the context of the import operation.
Throws:
WTException

checkDomainConflict

private boolean checkDomainConflict(String domainPath)
                             throws WTException
Throws:
WTException

checkProjectConflict

private boolean checkProjectConflict(String projectName)
                              throws WTException
Throws:
WTException

importAttribute

public Object importAttribute(Object object,
                              IxbElement fileXML,
                              Importer importer)
                       throws WTException
Description copied from class: AttributeExporterImporterTemplate


Supported API: true

Specified by:
importAttribute in interface AttributeExporterImporter
Specified by:
importAttribute in class AttributeExporterImporterTemplate
Parameters:
object -
fileXML -
importer -
Returns:
Object
Throws:
WTException

PP

private static void PP(String s)

finalizeCheckConflicts

public void finalizeCheckConflicts(Importer importer)
                            throws WTException
Description copied from class: AttributeExporterImporterTemplate
Called in the end of conflict check process.

Supported API: true

Specified by:
finalizeCheckConflicts in interface AttributeExporterImporter
Overrides:
finalizeCheckConflicts in class AttributeExporterImporterTemplate
Parameters:
importer - The Importer instance that represents the context of the import operation.
Throws:
WTException

parseName

private ExpImpForProjectAttr.ProjectInfo parseName(String fullProjectName)