Class StandardMPMProcessPlanService

java.lang.Object
wt.services.StandardManager
com.ptc.windchill.mpml.processplan.StandardMPMProcessPlanService
All Implemented Interfaces:
MPMProcessPlanService, Serializable, wt.fc._NetFactor, NetFactor, wt.services.Manager

@Deprecated public class StandardMPMProcessPlanService extends StandardManager implements MPMProcessPlanService, Serializable
Deprecated.

Use the newStandardMPMProcessPlanService static factory method(s), not the StandardMPMProcessPlanService 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

    • addUseMPMOperation

      public MPMOperationUsageLink addUseMPMOperation(MPMOperationHolder operationHolder, MPMOperation operation, String label) throws WTException
      Deprecated.
      This method will insert the operation under the given operation holder by creating operation usage link between them.

      Supported API: true
      Specified by:
      addUseMPMOperation in interface MPMProcessPlanService
      Parameters:
      operationHolder - Operation holder under which the operation has to be inserted
      operation - Operation that has to be inserted
      label - Operation label to be added on operation usage link
      Returns:
      MPMOperationUsageLink Operation usage link created for the given operation
      Throws:
      WTException
    • getMPMProcessPlan

      public MPMProcessPlan getMPMProcessPlan(MPMOperation operation, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get the process plan which holds the given operation under its hierarchy.

      Supported API: true
      Specified by:
      getMPMProcessPlan in interface MPMProcessPlanService
      Parameters:
      operation - Operation object for which the process plan has to be identified
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      MPMProcessPlan Process plan object which holds the given operation under its hierarchy
      Throws:
      WTException
    • getMPMProcessPlan

      public MPMProcessPlan getMPMProcessPlan(MPMOperationHolder operationHolder, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get the process plan which holds the given operation holders under its hierarchy.

      Supported API: true
      Specified by:
      getMPMProcessPlan in interface MPMProcessPlanService
      Parameters:
      operationHolder - Operation object for which the process plan has to be identified
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      MPMProcessPlan Process plan object which holds the given operation under its hierarchy
      Throws:
      WTException
    • getAllFromOperationHolder

      public QueryResult getAllFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will get all operations, sequences and standard procedures under the given operation holder.

      Supported API: true
      Specified by:
      getAllFromOperationHolder in interface MPMProcessPlanService
      Parameters:
      operation_holder - Operation holder
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return object and its usage link, otherwise only the object
      Returns:
      QueryResult Query result having operations, sequences, and standard procedures
      Throws:
      WTException
    • getAllFromOperationHolder

      public QueryResult getAllFromOperationHolder(Collection<Iterated> operation_holders, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will get all operations, sequences and standard procedures under the given operation holder.

      Supported API: true
      Specified by:
      getAllFromOperationHolder in interface MPMProcessPlanService
      Parameters:
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return object and its usage link, otherwise only the object
      operation_holder - Operation holder
      Returns:
      QueryResult Query result having operations, sequences, and standard procedures
      Throws:
      WTException
    • getOperationsFromOperationHolder

      public QueryResult getOperationsFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will get all the operations under given operation holder.

      Supported API: true
      Specified by:
      getOperationsFromOperationHolder in interface MPMProcessPlanService
      Parameters:
      operation_holder - Operation holder under which the operations has to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return operations and its usage links, otherwise only operations
      Returns:
      QueryResult Query result containing operations
      Throws:
      WTException
    • getStandardProceduresFromOperationHolder

      public QueryResult getStandardProceduresFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will get all standard procedures under the given operation holder.

      Supported API: true
      Specified by:
      getStandardProceduresFromOperationHolder in interface MPMProcessPlanService
      Parameters:
      operation_holder - Operation holder under which the standard procedures has to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return standard procedures and its usage links, otherwise only standard procedures
      Returns:
      QueryResult Query result containing standard procedures
      Throws:
      WTException
    • getOperationsAndStandardProceduresFromOperationHolder

      public QueryResult getOperationsAndStandardProceduresFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will get all operations and standard procedures under the given operation holder.

      Supported API: true
      Specified by:
      getOperationsAndStandardProceduresFromOperationHolder in interface MPMProcessPlanService
      Parameters:
      operation_holder - Operation holder under which operations and standard procedures has to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return objects and its usage links, otherwise only the objects
      Returns:
      QueryResult Query result containing operations and standard procedures
      Throws:
      WTException
    • getPartsFromOperation

      public QueryResult getPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will get all BOM allocated parts for the given operation.

      Supported API: true
      Specified by:
      getPartsFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation object for which the BOM allocated parts has to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return parts and operation to part links for them, otherwise only the parts
      Returns:
      QueryResult Query result containing BOM allocated parts
      Throws:
      WTException
    • getPartsFromOperation

      public Map<CSCollectedFromObj,Persistable> getPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return a map of all parts allocated to an operation.

      Supported API: true
      Specified by:
      getPartsFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation for which part allocations have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      filter_status - Filtered status
      only_return_other_side - If set to false it will return parts and operation to part links for them, otherwise only the parts
      Returns:
      Map of all parts allocated to the given operation
      Throws:
      WTException
    • getOperatedPartsFromOperation

      public QueryResult getOperatedPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all operated on parts for the given operation.

      Supported API: true
      Specified by:
      getOperatedPartsFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation for which the operated on parts have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return parts and operation to operated on part links for them, otherwise only the operated on parts
      Returns:
      QueryResult Query result containing operated on partsGET
      Throws:
      WTException
    • getOperatedPartsFromOperation

      public Map<CSCollectedFromObj,Persistable> getOperatedPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will return all operated on parts for the given operation.

      Supported API: true
      Parameters:
      operation - Operation for which the operated on parts have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return parts and operation to operated on part links for them, otherwise only the operated on parts
      Returns:
      QueryResult Query result containing operated on partsGET
      Throws:
      WTException
    • getWorkCentersFromOperation

      public QueryResult getWorkCentersFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all work centers allocated to the given operation.

      Supported API: true
      Specified by:
      getWorkCentersFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation for which the work centers have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return work centers and operation to work center links for them, otherwise only the work centers
      Returns:
      QueryResult Query result containing work centers
      Throws:
      WTException
    • getConsumablesFromOperation

      public QueryResult getConsumablesFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all consumable resources allocated to the given operation.

      Supported API: true
      Specified by:
      getConsumablesFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation for which the consumable resources have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return consumable resources and operation to consumable links for them, otherwise only the consumable resources
      Returns:
      QueryResult Query result containing consumable resources
      Throws:
      WTException
    • getWorkCentersAndConsumablesFromOperation

      public QueryResult getWorkCentersAndConsumablesFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all work centers and consumable resources allocated to the given operation.

      Supported API: true
      Specified by:
      getWorkCentersAndConsumablesFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation for which the work centers and consumable resources have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return consumable resources and work centers along with operation to consumable links and operation to work center links for them, otherwise it will return only the consumable resources and work centers
      Returns:
      QueryResult Query result containing work centers and consumable resources
      Throws:
      WTException
    • getOperationsFromOperation

      public QueryResult getOperationsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all child operations present under the given operation.

      Supported API: true
      Specified by:
      getOperationsFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation under which the child operations have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return child operations and operation usage links for them, otherwise only the child operations
      Returns:
      QueryResult Query result containing child operations
      Throws:
      WTException
    • getOperationHoldersFromOperationMaster

      public QueryResult getOperationHoldersFromOperationMaster(MPMOperationMaster operation_master, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return operation holders having the the given operation master as its child.

      Supported API: true
      Specified by:
      getOperationHoldersFromOperationMaster in interface MPMProcessPlanService
      Parameters:
      operation_master - Operation master for which the operation holders have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return operation holders and operation usage links with the operation master, otherwise only the operation holders
      Returns:
      QueryResult Query result containing operation holders
      Throws:
      WTException
    • getOperationHoldersFromOperationMaster

      public QueryResult getOperationHoldersFromOperationMaster(MPMOperationMaster operation_master, NCServerHolder nc_server_holder, boolean only_return_other_side, boolean filterDirectParents) throws WTException
      Deprecated.
      This method will return operation holders having the the given operation master as its child.

      Supported API: true
      Specified by:
      getOperationHoldersFromOperationMaster in interface MPMProcessPlanService
      Parameters:
      operation_master - Operation master for which the operation holders have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return operation holders and operation usage links with the operation master, otherwise only the operation holders
      filterDirectParents - true to filter direct parents. For example, Operation1 can belong to ProcessPlan A.1 and after check-out/check-in, to PP1 A.2 -> OP2 -> OP1. In this case, when filterDirectParents=false, the result is PP1 A.1 and OP2. Sometimes this is not expected behaviour. When filterDirectParents=true, result should contains only entries which match to NC. In this case, OP2
      Returns:
      QueryResult Query result containing operation holders
      Throws:
      WTException
    • getSequencesFromSequenceHolder

      public QueryResult getSequencesFromSequenceHolder(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all the child sequences for given sequence holder.

      Supported API: true
      Specified by:
      getSequencesFromSequenceHolder in interface MPMProcessPlanService
      Parameters:
      sequence_holder - Sequence holder for which the child sequences have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return sequences and sequence usage links, otherwise only the sequences
      Returns:
      QueryResult Query result containing sequences
      Throws:
      WTException
    • getPlantsFromSequenceHolder

      public QueryResult getPlantsFromSequenceHolder(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all plant objects associated with the given sequence holder.

      Supported API: true
      Specified by:
      getPlantsFromSequenceHolder in interface MPMProcessPlanService
      Parameters:
      sequence_holder - Sequence holder for which the associated plant objects have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return plant objects and plant assignment links, otherwise only the plant objects
      Returns:
      QueryResult Query result containing plant objects
      Throws:
      WTException
    • getOperationsFromSequence

      public QueryResult getOperationsFromSequence(MPMSequence sequence, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all operations under the given sequence.

      Supported API: true
      Specified by:
      getOperationsFromSequence in interface MPMProcessPlanService
      Parameters:
      sequence - Sequence under which the operations have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return operations and operation usage links, otherwise only the operations
      Returns:
      QueryResult Query result containing operations
      Throws:
      WTException
    • getSequenceHoldersFromSequenceMaster

      public QueryResult getSequenceHoldersFromSequenceMaster(MPMSequenceMaster sequence_master, NCServerHolder nc_server_holder, boolean only_return_other_side, boolean filterDirectParents) throws WTException
      Deprecated.
      This method will return sequence holders having the the given sequence master as its child.

      Supported API: true
      Specified by:
      getSequenceHoldersFromSequenceMaster in interface MPMProcessPlanService
      Parameters:
      sequence_master - Sequence master for which the sequence holders have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return sequence holders and sequence usage links with the sequence master, otherwise only the sequence holders
      filterDirectParents - true to filter direct parents. For example, Operation1 can belong to ProcessPlan A.1 and after check-out/check-in, to PP1 A.2 -> OP2 -> OP1. In this case, when filterDirectParents=false, the result is PP1 A.1 and OP2. Sometimes this is not expected behaviour. When filterDirectParents=true, result should contains only entries which match to NC. In this case, OP2
      Returns:
      QueryResult Query result containing sequence holders
      Throws:
      WTException
    • getSequenceHoldersFromSequenceMaster

      public QueryResult getSequenceHoldersFromSequenceMaster(MPMSequenceMaster sequence_master, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return sequence holders having the the given sequence master as its child.

      Supported API: true
      Specified by:
      getSequenceHoldersFromSequenceMaster in interface MPMProcessPlanService
      Parameters:
      sequence_master - Sequence master for which the sequence holders have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return sequence holders and sequence usage links with the sequence master, otherwise only the sequence holders
      Returns:
      QueryResult Query result containing sequence holders
      Throws:
      WTException
    • getMPMOperationToPartLink

      public MPMOperationToPartLink getMPMOperationToPartLink(MPMOperation operation, WTPartMaster partMaster, LineNumber lineNumber) throws WTException
      Deprecated.
      This method will get the operation to part link for the given operation , part master and line number. This method does not use Collector services.

      Supported API: true
      Specified by:
      getMPMOperationToPartLink in interface MPMProcessPlanService
      Parameters:
      operation - Operation object
      partMaster - Part master object
      lineNumber - Line number object
      Returns:
      MPMOperationToPartLink Operation to part link for the given operation, part and line number
      Throws:
      WTException
    • getMPMOperationToPartLink

      public MPMOperationToPartLink getMPMOperationToPartLink(MPMOperationHolder operationHolder, WTPartMaster partMaster, String componentIdPath, ObjectReference assemblyMasterRefe) throws WTException
      Deprecated.
      This method will get the operation to part link for the given operation , part master and component id path. This method does not use Collector services.

      Supported API: true
      Specified by:
      getMPMOperationToPartLink in interface MPMProcessPlanService
      Parameters:
      operationHolder -
      partMaster - Part master object
      componentIdPath - component id path
      operation - Operation object
      Returns:
      MPMOperationToPartLink Operation to part link for the given operation, part and component id path
      Throws:
      WTException
    • getAllocatedPartToStandardOperation

      public Collection<MPMOperationToPartLink> getAllocatedPartToStandardOperation(MPMOperationHolder stdoperation, String operationPath, NavigationCriteria navigationCriteria) throws WTException
      Deprecated.


      Supported API: true
      Specified by:
      getAllocatedPartToStandardOperation in interface MPMProcessPlanService
      Parameters:
      operationPath - - It is the path from immediate non standard Parent Operation ie normal operation of the Standard Operation.
      navigationCriteria - - The navigation criteria to use to filter the iterations for the masters used.
      standardOperation - - Standard Operation for which the operated on parts have to be searched
      Returns:
      Collection - Return the MPMOperationToPartLinks for the required Standard Operation
      Throws:
      WTException
    • getNextMPMOperationUsageLinkLabel

      public String getNextMPMOperationUsageLinkLabel(MPMOperationHolder operationHolder) throws WTException
      Deprecated.
      This method will get the next operation label under given operation holder.

      Supported API: true
      Specified by:
      getNextMPMOperationUsageLinkLabel in interface MPMProcessPlanService
      Parameters:
      operationHolder - Operation holder under which the next operation label has to be calculated
      Returns:
      String Calculated next operation label
      Throws:
      WTException
    • getNextSequenceNumber

      public int getNextSequenceNumber(MPMSequenceUsageLink sequenceUsageLink) throws WTException
      Deprecated.
      This method will get the next sequence number for the given sequence usage link.

      Supported API: true
      Specified by:
      getNextSequenceNumber in interface MPMProcessPlanService
      Parameters:
      sequenceUsageLink - Sequence usage link
      Returns:
      int Calculated next sequence number
      Throws:
      WTException
    • getOrderedMPMOperationUsageLinks

      public QueryResult getOrderedMPMOperationUsageLinks(MPMOperationHolder operationHolder, boolean descending) throws WTException
      Deprecated.
      This method will return the operation usage link under the given operation holder as per the creation order.

      Supported API: true
      Specified by:
      getOrderedMPMOperationUsageLinks in interface MPMProcessPlanService
      Parameters:
      operationHolder - Operation holder object
      descending - Specifies the order, if true, sort in descending order if false, sort in ascending order
      Returns:
      QueryResult Ordered list of operation usage links
      Throws:
      WTException
    • getSequenceUsageLink

      public MPMSequenceUsageLink getSequenceUsageLink(MPMSequenceHolder sequenceHolder, int sequenceNumber) throws WTException
      Deprecated.
      This method will get the sequence usage link with given sequence number under the given sequence holder

      Supported API: true
      Specified by:
      getSequenceUsageLink in interface MPMProcessPlanService
      Parameters:
      sequenceHolder - Sequence holder under which the sequence usage link has to be searched
      sequenceNumber - Sequence number
      Returns:
      MPMSequenceUsageLink Sequence usage link with given sequence number
      Throws:
      WTException
    • getUseMPMOperationMaster

      public MPMOperationMaster getUseMPMOperationMaster(MPMOperationHolder operationHolder, String label) throws WTException
      Deprecated.
      This method will get the operation master whose operation usage link has given operation label under the given operation holder.

      Supported API: true
      Specified by:
      getUseMPMOperationMaster in interface MPMProcessPlanService
      Parameters:
      operationHolder - Operation holder under which the operation master has to be searched
      label - Operation label
      Returns:
      MPMOperationMaster Operation master whose operation usage link has given operation label under the given operation holder
      Throws:
      WTException
    • getNextAlternateNumber

      public int getNextAlternateNumber(MPMPartToProcessPlanLink partToProcessPlanLink) throws WTException
      Deprecated.
      This method will get the next alternate number for the given part to process plan link.

      Supported API: true
      Specified by:
      getNextAlternateNumber in interface MPMProcessPlanService
      Parameters:
      partToProcessPlanLink - Part to process plan link
      Returns:
      int Calculated next Alternate number
      Throws:
      WTException
    • getAllUsageLinksForAllocatedParts

      public ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      Fetches the part usage links for the allocated parts corresponding to the input operation to part link and returns the thus fetched links to the caller. Delegates the actual work to an overloaded version. See the Javadoc for the overloaded version for more information.

      Supported API: true
      Specified by:
      getAllUsageLinksForAllocatedParts in interface MPMProcessPlanService
      Parameters:
      operation_to_part_link - Input operation to part link.
      nc_server_holder - NCServerHolder object holding the input NavigationCriteria.
      Returns:
      An ArrayList of part usage links, as returned by the overloaded version.
      Throws:
      WTException - If the overloaded version threw an exception.
    • getAllUsageLinksForAllocatedParts

      public ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder, boolean chkPartAllocationAtOccurrenceLevel) throws WTException
      Deprecated.
      Fetches the master of the assembly that the allocated parts belong in from the input operation to part link, and resolves the master to an iteration using the input NavigationCriteria. It then fetches the process plan from the input operation to part link and NavigationCriteria, and delegates the actual work of fetching the part usage links to an overloaded version of the method.

      Supported API: true
      Specified by:
      getAllUsageLinksForAllocatedParts in interface MPMProcessPlanService
      Parameters:
      operation_to_part_link - Input operation to part link.
      nc_server_holder - NCServerHolder object holding the input NavigationCriteria.
      chkPartAllocationAtOccurrenceLevel - A boolean value that is simply passed in to the overloaded version of the method where the actual work is performed. See the Javadoc for the overloaded version for more information.
      Returns:
      An ArrayList of part usage links, as returned by the overloaded version; a null, if the master fetched from the input operation to part link could not be resolved to an iteration.
      Throws:
      WTException - If any of the invoked APIs threw this exception.
    • getAllUsageLinksForAllocatedParts

      public ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMProcessPlan processPlanIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      Fetches the part usage links for the allocated parts corresponding to the input arguments and returns the thus fetched links to the caller. Delegates the actual work to an overloaded version. See the Javadoc for the overloaded version for more information.

      Supported API: true
      Specified by:
      getAllUsageLinksForAllocatedParts in interface MPMProcessPlanService
      Parameters:
      bomIteration - Input assembly part.
      processPlanIteration - Input process plan.
      operation_to_part_link - Input operation to part link.
      nc_server_holder - Input NCServerHolder object to be used for fetching the part usage links for a given part (which can either be the input assembly part, or a child part).
      Returns:
      An ArrayList of part usage links as outlined in the description; a null, if no usage links could be fetched for the input assembly, or if any of the input parameters is invalid.
      Throws:
      WTException
    • getAllUsageLinksForAllocatedParts

      public ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      Fetches the part usage links for the allocated parts corresponding to the input arguments and returns the thus fetched links to the caller. Delegates the actual work to an overloaded version. See the Javadoc for the overloaded version for more information.

      Supported API: true
      Specified by:
      getAllUsageLinksForAllocatedParts in interface MPMProcessPlanService
      Parameters:
      bomIteration - Input assembly part.
      operation_to_part_link - Input operation to part link.
      nc_server_holder - NCServerHolder object holding the input NavigationCriteria.
      Returns:
      An ArrayList of part usage links as returned by the overloaded version.
      Throws:
      WTException - If the invoked overloaded version threw this exception.
    • getSequenceUsageLinkOperationLabel

      public String getSequenceUsageLinkOperationLabel(MPMSequenceUsageLink sequenceUsageLink, boolean isBranching) throws WTException
      Deprecated.
      This method will get the operation label for the operation usage link of branching or return operation, associated with given sequence usage link.

      Supported API: true
      Specified by:
      getSequenceUsageLinkOperationLabel in interface MPMProcessPlanService
      Parameters:
      sequenceUsageLink - Sequence usage link
      isBranching - If true, it will return operation label for operation usage link of branching operation If false, it will return operation label for operation usage link of return operation
      Returns:
      String Operation label
      Throws:
      WTException
    • getNextAllocationNumber

      public void getNextAllocationNumber(WTCollection operationToConsumableLinkCollection) throws WTException
      Deprecated.
      This method will get the next allocation number from the given operation to consumable link.

      Supported API: true
      Specified by:
      getNextAllocationNumber in interface MPMProcessPlanService
      Parameters:
      operationToConsumableLinkCollection - collection
      Throws:
      WTException
    • getNextMPMStdCCUsageToResourceLinkAllocationNumber

      public void getNextMPMStdCCUsageToResourceLinkAllocationNumber(WTCollection stdCCUsageToResourceLinkCollection) throws WTException
      Deprecated.
      This method will get the next allocation number from the given MPMStdCCUsageToResourceLink.

      Supported API: true
      Specified by:
      getNextMPMStdCCUsageToResourceLinkAllocationNumber in interface MPMProcessPlanService
      Parameters:
      stdCCUsageToResourceLinkCollection - collection
      Throws:
      WTException
    • getPlantListRecursively

      public Set<MPMPlant> getPlantListRecursively(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get the set of plants associated to the current operation holder and, recursively, the plants of all parent operation holders.

      Supported API: true
      Parameters:
      operation_holder - Operation holder for which the plants have to be searched recursively in its upper hierarchy
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Set of plant objects
      Throws:
      WTException
    • getMPMPlant

      public Set<MPMPlant> getMPMPlant(MPMOperation operation, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get all the plants associated with given operation.

      Supported API: true
      Parameters:
      operation - Operation for which the associated plants have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Set of plant objects associated with given operation
      Throws:
      WTException
    • getMPMPlant

      public Set<MPMPlant> getMPMPlant(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get all the plants associated with given sequence holder.

      Supported API: true
      Parameters:
      sequence_holder - Sequence holder for which the associated plants have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Set of plant objects associated with given sequence holder
      Throws:
      WTException
    • getOrderedOperationUsages

      public QueryResult getOrderedOperationUsages(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_the_other_side) throws WTException
      Deprecated.
      This method will get all operations and usages links ordered as per the operation lables under the given operation holder.

      Supported API: true
      Specified by:
      getOrderedOperationUsages in interface MPMProcessPlanService
      Parameters:
      operation_holder - Operation holder
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_the_other_side - If set to false it will return operations and its usage links, otherwise only the operations
      Returns:
      QueryResult Operations and its usage links ordered as per the operation label present on links
      Throws:
      WTException
    • getMPMOperationUsageLink

      public MPMOperationUsageLink getMPMOperationUsageLink(MPMOperationHolder operationHolder, String uniqueID, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get the operation usage link with given unique identifier present under given operation holder. If the given unique identifier does not match with that of the operation usage link present under given operation holder, it will try to match it wih operation label of operation usage link.

      Supported API: true
      Specified by:
      getMPMOperationUsageLink in interface MPMProcessPlanService
      Parameters:
      operationHolder - Operation holder under which the operation usage links have to be searched
      uniqueID - This is taken as unique indetifier or operation label to be matched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      MPMOperationUsageLink Operation usage link for the given unique identifier or operation label
      Throws:
      WTException
    • getOrderedOperationsAndStandardProcedures

      public Collection getOrderedOperationsAndStandardProcedures(Object activityObj, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will get the ordered list of all operations and standard procedures present under given operation holder. The order for operations is decided using value of operation label present on operation usage link and order of standard procedures is decided using the value of insertion operation present on standard procedure link.

      Supported API: true
      Specified by:
      getOrderedOperationsAndStandardProcedures in interface MPMProcessPlanService
      Parameters:
      activityObj - Operation holder object
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Collection Ordered collection of operations and standard procedures
      Throws:
      WTException
    • getOrderedStandardProcedureLinks

      public QueryResult getOrderedStandardProcedureLinks(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean onlyTheOtherSide) throws WTException
      Deprecated.
      This method will get the ordered list of all standard procedures present under given operation holder. The order of standard procedures is decided using the value of insertion operation present on standard procedure link.

      Supported API: true
      Specified by:
      getOrderedStandardProcedureLinks in interface MPMProcessPlanService
      Parameters:
      operation_holder - Operation holder object
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      onlyTheOtherSide - If set to false it will return standard procedures and its links, otherwise only the standard procedures
      Returns:
      QueryResult Ordered collection of standard procedures and links
      Throws:
      WTException
    • getAllChildOperationsRecusrively

      public Set<MPMOperation> getAllChildOperationsRecusrively(MPMOperationHolder opHolder, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will recursively get all the child operations present under the hierarchy of given operation holder.

      Supported API: true
      Specified by:
      getAllChildOperationsRecusrively in interface MPMProcessPlanService
      Parameters:
      opHolder - Operation holder
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Set of all operations present under the hierarchy of given operation holder
      Throws:
      WTException
    • getAllChildOperationsRecursively

      public Set<MPMOperation> getAllChildOperationsRecursively(List<MPMOperationHolder> opHolders, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will recursively get all the child operations present under the hierarchy of given operation holder.

      Supported API: true
      Specified by:
      getAllChildOperationsRecursively in interface MPMProcessPlanService
      Parameters:
      opHolders - Operation holders
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Set of all operations present under the hierarchy of given operation holder
      Throws:
      WTException
    • getAllChildOperationHoldersAndUsagesRecursively

      public Map<MPMOperationHolder,IteratedUsageLink> getAllChildOperationHoldersAndUsagesRecursively(List<MPMOperationHolder> opHolders, NCServerHolder ncHolder) throws WTException
      Deprecated.
      This method will recursively get all the child operations and usages present under the hierarchy of given operation holder.

      Supported API: true
      Specified by:
      getAllChildOperationHoldersAndUsagesRecursively in interface MPMProcessPlanService
      Parameters:
      opHolders - Operation holders
      ncHolder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Map of all operations vs usages present under the hierarchy of given operation holder
      Throws:
      WTException
    • getAllChildOperationsRecursivelyForRest

      public TreeMap<Object,Map<Object,Object>> getAllChildOperationsRecursivelyForRest(List<MPMOperationHolder> opHolders, NCServerHolder nc_server_holder) throws WTException
      Deprecated.
      This method will recursively get all the child operations present under the hierarchy of given operation holder.

      Supported API: true
      Specified by:
      getAllChildOperationsRecursivelyForRest in interface MPMProcessPlanService
      Parameters:
      opHolders - Operation holders
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      Returns:
      Set of all operations present under the hierarchy of given operation holder
      Throws:
      WTException
    • getAssociatedStandardCCFromOperation

      public QueryResult getAssociatedStandardCCFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all associated SCC for the given operation.

      Supported API: true
      Specified by:
      getAssociatedStandardCCFromOperation in interface MPMProcessPlanService
      Parameters:
      operation - Operation for which the operated on parts have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return parts and operation to operated on part links for them, otherwise only the operated on parts
      Returns:
      QueryResult Query result containing operated on partsGET
      Throws:
      WTException
    • getAssociatedStandardCCFromOperation

      public Map<Persistable,QueryResult> getAssociatedStandardCCFromOperation(List<Persistable> operations, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException
      Deprecated.
      This method will return all associated SCC for the given operation.

      Supported API: true
      Specified by:
      getAssociatedStandardCCFromOperation in interface MPMProcessPlanService
      Parameters:
      operations - Operation for which the operated on parts have to be searched
      nc_server_holder - NCServerHolder that holds the Navigation Criteria
      only_return_other_side - If set to false it will return parts and operation to operated on part links for them, otherwise only the operated on parts
      Returns:
      QueryResult Query result containing operated on partsGET
      Throws:
      WTException