|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.handlers.forclasses.ExpImpForWTPartReferenceLink
Nested Class Summary |
Nested classes inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate |
ClassExporterImporterTemplate.ContentHolderCommitListener |
Field Summary | |
private Persistable |
end_1
|
private Persistable |
end_2
|
private boolean |
ignored
|
private WTPart |
referencedByPart
|
Fields inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate |
|
Fields inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral |
CONFLICT_RESOURCE |
Constructor Summary | |
ExpImpForWTPartReferenceLink()
|
Method Summary | |
void |
checkConflicts(IxbElement fileXML,
Importer importer)
Checks conflicts that can arise while import process. |
protected IxbDocument |
createFileXMLOnExport(Exporter exporter)
Creates an IxbDocument with the root tag. |
Object |
createObject(IxbElement fileXML,
Importer importer)
Creates new instance of Windchill object. |
protected void |
exportAttributes(Object object,
IxbDocument fileXML,
Exporter exporter)
Export the attributes according to the DTD. |
Object |
findAmongExistingObjects(IxbElement fileXML,
Importer importer)
Implements typical way of finding whether object from given XML file exists already in Windchill database. |
private Object |
findAmongExistingObjectsForImport(IxbElement fileXML,
Importer importer)
Implements typical way of finding whether object from given XML file exists already in Windchill database for import application. |
int |
getImportPriority()
Return the import priority of the object type represented by this import handler. |
protected String |
getRootTag()
Returns the desired root tag for the object type to be exported, e.g. |
private static void |
PP(String s)
|
Object |
storeObject(Object object,
IxbElement fileXML,
Importer importer)
That is the general template how to store object. |
Methods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate |
exportObject, finalizeImportObject, importElement, importObjectAttributes, importObjectAttributesAfterStore, isObjectIgnored, isObjectNew, outputLog, rememberNewObInfo, setObjectIgnored, setObjectIsNew, storeAdditionalInfo, storeElement |
Methods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral |
finalizeCheckConflicts, finalizeExport, finalizeImport, getAdditionalImportPriority, getObjectDisplayID, prepareForCheckConflicts, prepareForImport, previewElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private WTPart referencedByPart
private Persistable end_1
private Persistable end_2
private boolean ignored
Constructor Detail |
public ExpImpForWTPartReferenceLink()
Method Detail |
protected String getRootTag()
ClassExporterImporterTemplate
getRootTag
in class ClassExporterImporterTemplate
protected void exportAttributes(Object object, IxbDocument fileXML, Exporter exporter) throws WTException
ClassExporterImporterTemplate
createFileXMLOnExport(Exporter
exporter)
.
exportAttributes
in class ClassExporterImporterTemplate
object
- fileXML
- exporter
-
WTException
protected IxbDocument createFileXMLOnExport(Exporter exporter) throws WTException
ClassExporterImporterTemplate
IxbDocument
with the root tag. See getRootTag()
createFileXMLOnExport
in class ClassExporterImporterTemplate
exporter
-
WTException
public void checkConflicts(IxbElement fileXML, Importer importer) throws WTException
ClassExporterImporterTemplateGeneral
checkConflicts
in interface ElementImporter
checkConflicts
in class ClassExporterImporterTemplateGeneral
fileXML
- the XML element to be imported.importer
- The Importer
instance that represents the context of the import operation.
WTException
public Object findAmongExistingObjects(IxbElement fileXML, Importer importer) throws WTException
ClassExporterImporterTemplate
findAmongExistingObjects
in class ClassExporterImporterTemplate
fileXML
- importer
-
WTException
private Object findAmongExistingObjectsForImport(IxbElement fileXML, Importer importer) throws WTException
ClassExporterImporterTemplate
WTException
public Object createObject(IxbElement fileXML, Importer importer) throws WTException
ClassExporterImporterTemplate
createObject
in class ClassExporterImporterTemplate
fileXML
- importer
-
WTException
public Object storeObject(Object object, IxbElement fileXML, Importer importer) throws WTException
ClassExporterImporterTemplate
storeObject
in class ClassExporterImporterTemplate
object
- fileXML
- importer
-
WTException
public int getImportPriority() throws WTException
ClassExporterImporterTemplateGeneral
getImportPriority
in interface ElementImporter
getImportPriority
in class ClassExporterImporterTemplateGeneral
WTException
private static void PP(String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |