wt.projmgmt.msproject
Interface MsProjectService

All Known Implementing Classes:
MsProjectServiceFwd, StandardMsProjectService

public interface MsProjectService

This service provides access to the Microsoft Project Integration features of Windchill.

Supported API: false

Extendable: false


Method Summary
 void exportProjectPlan(WfContainer c, OutputStream ostream, ExportInfo info)
          Export the specified ProjectPlan of SummaryActivity as XML that conforms to the Microsoft Project XML Schema.
 WfContainer importProjectPlan(WfContainer c, InputSource source, ImportInfo info)
          Update the specified ProjectPlan or SummaryActivity using the XML specification supplied by the provided InputSource.
 void requestImportProjectPlan(WfContainer c, OutputStream ostream, ImportInfo info)
          Generate a request for the client to import the specified file into the specified ProjectPlan or SummaryActivity.
 

Method Detail

importProjectPlan

public WfContainer importProjectPlan(WfContainer c,
                                     InputSource source,
                                     ImportInfo info)
                              throws WTException,
                                     WTPropertyVetoException
Update the specified ProjectPlan or SummaryActivity using the XML specification supplied by the provided InputSource. The XML must conform to the Microsoft Project XML Schema.

Supported API: false

Parameters:
c - the target object of the import
source -
info - the info that controls the import process
Returns:
WfContainer
Throws:
WTException
WTPropertyVetoException

exportProjectPlan

public void exportProjectPlan(WfContainer c,
                              OutputStream ostream,
                              ExportInfo info)
                       throws WTException,
                              IOException
Export the specified ProjectPlan of SummaryActivity as XML that conforms to the Microsoft Project XML Schema. The XML is written to the specified OutputStream.

If info.isEdit() returns true, then additional information is included in the XML file that identifies the Windchill objects that the data corresponds to.

Supported API: false

Parameters:
c - the object to export
ostream - the stream to export the XML on
info - the info that controls the export process
Throws:
WTException
IOException

requestImportProjectPlan

public void requestImportProjectPlan(WfContainer c,
                                     OutputStream ostream,
                                     ImportInfo info)
                              throws WTException,
                                     IOException
Generate a request for the client to import the specified file into the specified ProjectPlan or SummaryActivity.

The client should use the information in the generated XML to send an importProjectPlan request to the server.

The generated XML conforms to the Existing Project XML Schema. The XML is written to specified OutputStream.

Supported API: false

Parameters:
c - the ProjectPlan or SummaryActivity to request an import for
ostream - the stream to export the request on
info - the import info for the request
Throws:
WTException
IOException