wt.projmgmt.msproject
Class ImportRequestExporter
java.lang.Object
wt.projmgmt.msproject.Exporter
wt.projmgmt.msproject.ImportRequestExporter
- public class ImportRequestExporter
- extends Exporter
This class exports a ProjectPlan
in Existing Project XML
format. This XML
serves as a request for a client to import the specified
file into a PTC Windchill
server.
Fields inherited from class wt.projmgmt.msproject.Exporter |
|
Methods inherited from class wt.projmgmt.msproject.Exporter |
close, comment, decreaseIndent, endElement, exportBoolean, exportClass, exportCurrency, exportDateTime, exportDateTime, exportDuration, exportDuration, exportDuration, exportEnumeratedType, exportInt, exportNonNegInt, exportOwner, exportPercent, exportPrincipal, exportPrincipal, exportRate, exportString, exportUID, exportWork, getInfo, increaseIndent, startElement, startElement, writeElement, writeElement, writeElement, writeElement, writeElement, writeElement, writeElement, writeElementData, writeHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
NONE
private static final int NONE
- See Also:
- Constant Field Values
ALL
private static final int ALL
- See Also:
- Constant Field Values
MILESTONE
private static final int MILESTONE
- See Also:
- Constant Field Values
TOP_MILESTONE
private static final int TOP_MILESTONE
- See Also:
- Constant Field Values
MILESTONE_SUMMARY
private static final int MILESTONE_SUMMARY
- See Also:
- Constant Field Values
TOP_MILESTONE_SUMMARY
private static final int TOP_MILESTONE_SUMMARY
- See Also:
- Constant Field Values
SUMMARY
private static final int SUMMARY
- See Also:
- Constant Field Values
TOP_SUMMARY
private static final int TOP_SUMMARY
- See Also:
- Constant Field Values
DEPENDENCIES
private static final int DEPENDENCIES
- See Also:
- Constant Field Values
RESOURCES
private static final int RESOURCES
- See Also:
- Constant Field Values
USEPROJECTLINKDATE
private static final int USEPROJECTLINKDATE
- See Also:
- Constant Field Values
USEXMLDATE
private static final int USEXMLDATE
- See Also:
- Constant Field Values
REPLACE
private static final int REPLACE
- See Also:
- Constant Field Values
APPEND
private static final int APPEND
- See Also:
- Constant Field Values
MERGE
private static final int MERGE
- See Also:
- Constant Field Values
ImportRequestExporter
public ImportRequestExporter(OutputStream ostream,
ImportInfo info)
throws UnsupportedEncodingException
export
public void export(WfContainer c)
throws WTException,
IOException
- Generate a request to import the specified file into the specified
ProjectPlan
or SummaryActivity
. The generated
XML
conforms to the Existing Project
XML Schema
.
The XML
is written to the OutputStream
that was passed in when this exporter was created.
- Specified by:
export
in class Exporter
- Parameters:
c
- the ProjectPlan or SummaryActivity to export
- Throws:
WTException
IOException
toBitMask
static final int toBitMask(ImportInfo info)
- Convert the
ImportInfo
object
into a bitmap.