|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.requirement.RequirementServiceFwd
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 | |
RequirementServiceFwd()
|
Method Summary | |
void |
addRequirementAssociation(WTObject wcObject)
RequirementException, WTException Supported API: false |
void |
addWcObjectAssociation(WTObject wcObject)
Associate a requirement object to a Windchill object. |
void |
authenticate()
Supported API: false |
private static Manager |
getManager()
|
Vector |
getRequirementAssociations(WTObject wcObject)
Returns the requirements associated to a specified object. |
Vector |
getWcObjects()
Returns list of Windchill objects associated to a specified requirement object. |
Vector |
queryModules(String projectName,
String searchString)
Returns the Doors modules of a project from the Doors database. |
Vector |
queryProjects(String searchString)
Query the Doors database for projects. |
Vector |
queryRequirementObjects(String projectName,
String moduleName,
String searchString)
Returns requirement objects of a module. |
void |
removeRequirementAssociation(WTObject wcObject)
Removes the requirement reqObject from the Windchill
object wcObject . |
void |
removeWcObjectAssociation(WTObject wcObject)
Removes the requirement reqObject from the Windchill
object wcObject . |
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 RequirementServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public void removeRequirementAssociation(WTObject wcObject) throws RequirementException, WTException
reqObject
from the Windchill
object wcObject
. If reqObject
is not associated
with wcObject
RequirementException
will
be thrown.
removeRequirementAssociation
in interface RequirementService
wcObject
- Windchill object from which the requirement should be removed.Currently, only WTPart
and WTDocument
are supported.
RequirementException
WTException
public Vector getRequirementAssociations(WTObject wcObject) throws RequirementException, WTException
RequirementObject
.
Method returns null, if no requirement objects are associated.
getRequirementAssociations
in interface RequirementService
wcObject
- The Windchill object.Currently, only WTPart and WTDocument are supported.
RequirementException
WTException
public void addRequirementAssociation(WTObject wcObject) throws WTException
addRequirementAssociation
in interface RequirementService
wcObject
- Windchill object to which the requirement object object
should be added.Currently, only WTDocumentMaster or WTPartMaster are supported.
WTException
public void addWcObjectAssociation(WTObject wcObject) throws WTException
addWcObjectAssociation
in interface RequirementService
wcObject
-
WTException
public void removeWcObjectAssociation(WTObject wcObject) throws RequirementException, WTException
reqObject
from the Windchill
object wcObject
. If reqObject
is not associated
to wcObject
a RequirementException
will
be thrown
removeWcObjectAssociation
in interface RequirementService
wcObject
- Windchill object, which is associated with the requirement reqObject
.
RequirementException
WTException
public Vector getWcObjects() throws RequirementException, WTException
WTObject
.
Method returns null, if no WTObjects
are associated.
getWcObjects
in interface RequirementService
RequirementException
WTException
public Vector queryProjects(String searchString) throws IOException, RequirementException, WTException
queryProjects
in interface RequirementService
searchString
- Search string. Pass empty string or null
if all projects should be returned.
IOException
RequirementException
WTException
public Vector queryModules(String projectName, String searchString) throws RequirementException, IOException, WTException
queryModules
in interface RequirementService
projectName
- Name of the project to query on.searchString
- Search String. Pass empty string or null
if all modules should be returned
RequirementException
IOException
WTException
public Vector queryRequirementObjects(String projectName, String moduleName, String searchString) throws RequirementException, WTException
queryRequirementObjects
in interface RequirementService
projectName
- moduleName
- searchString
-
RequirementException
WTException
public void authenticate() throws WTException
authenticate
in interface RequirementService
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |