Package com.ptc.windchill.mpml.resource
Class StandardMPMResourceService
java.lang.Object
wt.services.StandardManager
com.ptc.windchill.mpml.resource.StandardMPMResourceService
- All Implemented Interfaces:
MPMResourceService,Serializable,wt.fc._NetFactor,NetFactor,wt.services.Manager
@Deprecated
public class StandardMPMResourceService
extends StandardManager
implements MPMResourceService, Serializable
Deprecated.
This implementation of
MPMResourceService implements the service
API and adds listeners in performStartupProcess().
Use the newStandardMPMResourceService static factory method(s),
not the StandardMPMResourceService 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: true
Extendable: false
- See Also:
-
Field Summary
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 -
Method Summary
Modifier and TypeMethodDescriptiongetDescribeDocumentsFromDocumentManageable(MPMDocumentManageable document_manageable, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all the "Described By" documents/links for an MPMDocumentManageable class filtered on given NCServerHolder.getEPMDocumentsFromEPMDocumentManageable(MPMEPMDocumentManageable epm_document_manageable, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return QueryResult of all the related EPM documents/links for an MPMEPMDocumentManageable class filtered on given NCServerHolder.getManufacturingStandardGroupsFromMfgStandardGrouped(MPMMfgStandardGroupedMaster standard_grouped_master, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return QueryResult of ManufacturingStandardGroups/MPMMfgStandardUsageLink from the given MPMMfgStandardGroupedMaster based on NCServerHolder.getOperationsFromMfgProcess(MPMMfgProcess mfg_process, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return the QueryResult of related MPMOperation/MPMOperationProcessLink for which the given MPMMfgProcess is associated, based on NCServerHolder.getParentMPMResource(MPMResource resource, NCServerHolder nc_server_holder) Deprecated.This method will return QueryResult of parent MPMResources for the specified MPMResource, based on NCServerHolder.getReferenceDocumentsFromDocumentManageable(MPMDocumentManageable document_manageable, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all the "Referenced By" documents/links for an MPMDocumentManageable class filtered on given NCServerHolder.getResourceFromResourceMaster(MPMResourceMaster resource_master, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return the parent MPMResource and WTPartUsageLink for the given MPMResourceMaster based on NCServerHolder.booleanisPlant(Persistable obj) Deprecated.This method will return true if object passed in is MPMPlant or its descendant.booleanisResource(Persistable obj) Deprecated.This method will return true if object passed in is MPMResource or any of its descendant.booleanDeprecated.This method will return true if object passed in is MPMResourceGroup or any of its descendant.booleanisSkill(Persistable obj) Deprecated.This method will return true if object passed in is MPMSkill or any of its descendant.Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
-
Method Details
-
isResource
Deprecated.This method will return true if object passed in is MPMResource or any of its descendant.
Supported API: true- Specified by:
isResourcein interfaceMPMResourceService- Parameters:
obj-- Returns:
- boolean
- Throws:
WTException
-
isPlant
Deprecated.This method will return true if object passed in is MPMPlant or its descendant.
Supported API: true- Specified by:
isPlantin interfaceMPMResourceService- Parameters:
obj-- Returns:
- boolean
- Throws:
WTException
-
isResourceGroup
Deprecated.This method will return true if object passed in is MPMResourceGroup or any of its descendant.
Supported API: true- Specified by:
isResourceGroupin interfaceMPMResourceService- Parameters:
obj-- Returns:
- boolean
- Throws:
WTException
-
isSkill
Deprecated.This method will return true if object passed in is MPMSkill or any of its descendant.
Supported API: true- Specified by:
isSkillin interfaceMPMResourceService- Parameters:
obj-- Returns:
- boolean
- Throws:
WTException
-
getDescribeDocumentsFromDocumentManageable
public QueryResult getDescribeDocumentsFromDocumentManageable(MPMDocumentManageable document_manageable, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.This method will return all the "Described By" documents/links for an MPMDocumentManageable class filtered on given NCServerHolder. If only_return_other_side is set to false it will return "Described By" links, otherwise only the "Described By" documents.
Supported API: true- Specified by:
getDescribeDocumentsFromDocumentManageablein interfaceMPMResourceService- Parameters:
document_manageable-nc_server_holder-only_return_other_side-- Returns:
- QueryResult
- Throws:
WTException
-
getReferenceDocumentsFromDocumentManageable
public QueryResult getReferenceDocumentsFromDocumentManageable(MPMDocumentManageable document_manageable, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.This method will return all the "Referenced By" documents/links for an MPMDocumentManageable class filtered on given NCServerHolder. If only_return_other_side is set to false it will return "Referenced By" links, otherwise only the "Referenced By" documents.
Supported API: true- Specified by:
getReferenceDocumentsFromDocumentManageablein interfaceMPMResourceService- Parameters:
document_manageable-nc_server_holder-only_return_other_side-- Returns:
- QueryResult
- Throws:
WTException
-
getEPMDocumentsFromEPMDocumentManageable
public QueryResult getEPMDocumentsFromEPMDocumentManageable(MPMEPMDocumentManageable epm_document_manageable, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.This method will return QueryResult of all the related EPM documents/links for an MPMEPMDocumentManageable class filtered on given NCServerHolder. If only_return_other_side is set to false it will return EPMDescribeLinks, otherwise only the EPM documents.
Supported API: true- Specified by:
getEPMDocumentsFromEPMDocumentManageablein interfaceMPMResourceService- Parameters:
epm_document_manageable-nc_server_holder-only_return_other_side-- Returns:
- QueryResult
- Throws:
WTException
-
getManufacturingStandardGroupsFromMfgStandardGrouped
public QueryResult getManufacturingStandardGroupsFromMfgStandardGrouped(MPMMfgStandardGroupedMaster standard_grouped_master, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.This method will return QueryResult of ManufacturingStandardGroups/MPMMfgStandardUsageLink from the given MPMMfgStandardGroupedMaster based on NCServerHolder. If only_return_other_side is set to false it will return MPMMfgStandardUsageLinks, otherwise only the ManufacturingStandardGroups.
Supported API: true- Specified by:
getManufacturingStandardGroupsFromMfgStandardGroupedin interfaceMPMResourceService- Parameters:
standard_grouped_master-nc_server_holder-only_return_other_side-- Returns:
- QueryResult
- Throws:
WTException
-
getResourceFromResourceMaster
public QueryResult getResourceFromResourceMaster(MPMResourceMaster resource_master, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.This method will return the parent MPMResource and WTPartUsageLink for the given MPMResourceMaster based on NCServerHolder. If only_return_other_side is set to false it will return WTPartUsageLinks, otherwise only the MPMResource.
Supported API: true- Specified by:
getResourceFromResourceMasterin interfaceMPMResourceService- Parameters:
resource_master-nc_server_holder-only_return_other_side-- Returns:
- QueryResult
- Throws:
WTException
-
getOperationsFromMfgProcess
public QueryResult getOperationsFromMfgProcess(MPMMfgProcess mfg_process, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException Deprecated.This method will return the QueryResult of related MPMOperation/MPMOperationProcessLink for which the given MPMMfgProcess is associated, based on NCServerHolder. If only_return_other_side is set to false it will return MPMOperationProcessLink, otherwise only the MPMOperation.
Supported API: true- Specified by:
getOperationsFromMfgProcessin interfaceMPMResourceService- Parameters:
mfg_process-nc_server_holder-only_return_other_side-- Returns:
- QueryResult
- Throws:
WTException
-
getParentMPMResource
public QueryResult getParentMPMResource(MPMResource resource, NCServerHolder nc_server_holder) throws WTException Deprecated.This method will return QueryResult of parent MPMResources for the specified MPMResource, based on NCServerHolder.
Supported API: true- Specified by:
getParentMPMResourcein interfaceMPMResourceService- Parameters:
resource-nc_server_holder-- Returns:
- QueryResult
- Throws:
WTException
-
MPMResourceServiceusingMPMServiceLocator.getMPMResourceService()