|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.workflow.requirement.StandardRequirementService
Standard implementation of the requirement service interfaces
Use the newStandardRequirementService
static factory method(s),
not the StandardRequirementService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private InfoEngine |
ieService
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardRequirementService()
|
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 |
protected String |
getAuthorization(URL url)
Get the authorization string that allows the user to access a specified URL. |
String |
getConceptualClassname()
Deprecated. |
protected String |
getDefaultAuthorization(String realm)
Get the default authorization string that allows the user to access a specified URL. |
private String |
getDoorsAdapterInstance(String actionName)
Gets the doors adapter instance name from the resource file, there could be more than one. |
protected String |
getHTTPServiceURL()
Returns the http to the web server Supported API: false |
InfoEngine |
getIeService()
Gets the value of the attribute: ieService; Instance of the Info*Engine Service. |
String |
getIEServiceUrl()
Returns the url to the Info*Engine service as specified in ie.properties . |
protected Vector |
getInfoEngineObjects(InputStream is)
Retrieves Objects assocatied with the InputStream. |
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. |
static StandardRequirementService |
newStandardRequirementService()
Default factory for the class. |
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 . |
void |
setIeService(InfoEngine a_IeService)
Sets the value of the attribute: ieService; Instance of the Info*Engine Service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private InfoEngine ieService
Constructor Detail |
public StandardRequirementService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public InfoEngine getIeService()
InfoEngine entends the Info*Engine Server
Access Kit (SAK). It provides additional functionality that facilitates
interaction between JSP pages and InfoEngine.
Supported API: false
- Returns:
- InfoEngine
public void setIeService(InfoEngine a_IeService) throws WTPropertyVetoException
InfoEngine entends the Info*Engine Server
Access Kit (SAK). It provides additional functionality that facilitates
interaction between JSP pages and InfoEngine.
Supported API: false
- Parameters:
a_IeService
-
- Throws:
WTPropertyVetoException
public static StandardRequirementService newStandardRequirementService() 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
protected String getAuthorization(URL url) throws WTException
url
- URL for which authorization information is requested
WTException
protected String getDefaultAuthorization(String realm) throws WTException
realm
-
WTException
protected Vector getInfoEngineObjects(InputStream is) throws RequirementException, WTException
is
- The InputStream that represents the HTTPRequest for the XML object
RequirementException
WTException
protected String getHTTPServiceURL() throws WTException
WTException
private String getDoorsAdapterInstance(String actionName)
actionName
-
public String getIEServiceUrl() throws RequirementException, IOException
ie.properties
.
getIEServiceUrl
in interface RequirementServiceSvr
RequirementException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |