|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.projmgmt.msproject.MsProjectServiceFwd
This service provides access to the Microsoft Project Integration
features of Windchill
.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
MsProjectServiceFwd()
|
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 . |
private static Manager |
getManager()
|
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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public MsProjectServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public WfContainer importProjectPlan(WfContainer c, InputSource source, ImportInfo info) throws WTException, WTPropertyVetoException
ProjectPlan
or
SummaryActivity
using the XML
specification supplied by the provided InputSource
.
The XML
must conform to the Microsoft Project
XML Schema
.
importProjectPlan
in interface MsProjectService
c
- the target object of the importsource
- info
- the info that controls the import process
WTException
WTPropertyVetoException
public void exportProjectPlan(WfContainer c, OutputStream ostream, ExportInfo info) throws WTException, IOException
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
exportProjectPlan
in interface MsProjectService
c
- the object to exportostream
- the stream to export the XML oninfo
- the info that controls the export process
WTException
IOException
public void requestImportProjectPlan(WfContainer c, OutputStream ostream, ImportInfo info) throws WTException, IOException
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
requestImportProjectPlan
in interface MsProjectService
c
- the ProjectPlan or SummaryActivity to request an import forostream
- the stream to export the request oninfo
- the import info for the request
WTException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |