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:
  • Method Details

    • isResource

      public boolean isResource(Persistable obj) throws WTException
      Deprecated.
      This method will return true if object passed in is MPMResource or any of its descendant.

      Supported API: true
      Specified by:
      isResource in interface MPMResourceService
      Parameters:
      obj -
      Returns:
      boolean
      Throws:
      WTException
    • isPlant

      public boolean isPlant(Persistable obj) throws WTException
      Deprecated.
      This method will return true if object passed in is MPMPlant or its descendant.

      Supported API: true
      Specified by:
      isPlant in interface MPMResourceService
      Parameters:
      obj -
      Returns:
      boolean
      Throws:
      WTException
    • isResourceGroup

      public boolean isResourceGroup(Persistable obj) throws WTException
      Deprecated.
      This method will return true if object passed in is MPMResourceGroup or any of its descendant.

      Supported API: true
      Specified by:
      isResourceGroup in interface MPMResourceService
      Parameters:
      obj -
      Returns:
      boolean
      Throws:
      WTException
    • isSkill

      public boolean isSkill(Persistable obj) throws WTException
      Deprecated.
      This method will return true if object passed in is MPMSkill or any of its descendant.

      Supported API: true
      Specified by:
      isSkill in interface MPMResourceService
      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:
      getDescribeDocumentsFromDocumentManageable in interface MPMResourceService
      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:
      getReferenceDocumentsFromDocumentManageable in interface MPMResourceService
      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:
      getEPMDocumentsFromEPMDocumentManageable in interface MPMResourceService
      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:
      getManufacturingStandardGroupsFromMfgStandardGrouped in interface MPMResourceService
      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:
      getResourceFromResourceMaster in interface MPMResourceService
      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:
      getOperationsFromMfgProcess in interface MPMResourceService
      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:
      getParentMPMResource in interface MPMResourceService
      Parameters:
      resource -
      nc_server_holder -
      Returns:
      QueryResult
      Throws:
      WTException