Interface MPMProcessPlanService
- All Known Implementing Classes:
StandardMPMProcessPlanService
Service for the MPMProcessPlan related use cases
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetAllocatedPartToStandardOperation(MPMOperationHolder stdoperation, String operationPath, NavigationCriteria navigationCriteria)
Supported API: truegetAllUsageLinksForAllocatedParts(MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder, boolean chkPartAllocationAtOccurrenceLevel) Deprecated.getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMProcessPlan processPlanIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) Deprecated.Useinstead.invalid reference
#getAllAssociativeUsageLinksForAllocatedParts(WTPart, MPMProcessPlan, MPMOperationToPartLink)getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) Deprecated.Useinstead.invalid reference
#getAllAssociativeUsageLinksForAllocatedParts(WTPart, MPMProcessPlan, MPMOperationToPartLink)getPartsFromCoProduceProcessPlan(MPMProcessPlan processPlan) Takes a process plan and returns a Set of CoProduce bean which contains information about related CoProduce object, its primary and secondary objects along with inflated primary and secondary links.getPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean only_return_other_side)
Supported API: truegetPlantsFromSequenceHolder(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) This method will return all plant objects associated with the given sequence holder.
-
Method Details
-
getPartsFromOperation
Map<CSCollectedFromObj,Persistable> getPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean only_return_other_side) throws WTException
Supported API: true- Parameters:
operation-nc_server_holder-filter_status-only_return_other_side-- Returns:
- Throws:
WTException
-
getAllUsageLinksForAllocatedParts
@Deprecated ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder, boolean chkPartAllocationAtOccurrenceLevel) throws WTException Deprecated.Useinstead.invalid reference
#getAllAssociativeUsageLinksForAllocatedParts(WTPart, MPMProcessPlan, MPMOperationToPartLink)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- 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.- 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.
-
getPlantsFromSequenceHolder
QueryResult getPlantsFromSequenceHolder(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) throws WTException This method will return all plant objects associated with the given sequence holder.
Supported API: true- Parameters:
sequence_holder- Sequence holder for which the associated plant objects have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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
-
getAllUsageLinksForAllocatedParts
@Deprecated ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMProcessPlan processPlanIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) throws WTException Deprecated.Useinstead.invalid reference
#getAllAssociativeUsageLinksForAllocatedParts(WTPart, MPMProcessPlan, MPMOperationToPartLink)This method will get the assembly context from operation to part link which is a master. Then it will apply given Navigation criteria to fetch the iteration. After this it fetches the process plan for the operation given on OperationToPartLink. Then it will fetch all the Process Plan to part links and check that the iteration fetched from operation to part link is actually linked to processplan. After this it will try to find the allocated component and return all the usage links in the path from assembly to the component.
Supported API: true- Parameters:
bomIteration-processPlanIteration-operation_to_part_link-nc_server_holder-- Returns:
- Throws:
WTException
-
getAllUsageLinksForAllocatedParts
@Deprecated ArrayList<WTPartUsageLink> getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) throws WTException Deprecated.Useinstead.invalid reference
#getAllAssociativeUsageLinksForAllocatedParts(WTPart, MPMProcessPlan, MPMOperationToPartLink)This method will get the assembly context from operation to part link which is a master. Then it will apply given Navigation criteria to fetch the iteration. After this it fetches the process plan for the operation given on OperationToPartLink. Then it will fetch all the Process Plan to part links and check that the iteration fetched from operation to part link is actually linked to processplan. After this it will try to find the allocated component and return all the usage links in the path from assembly to the component.
Supported API: true- Parameters:
bomIteration-operation_to_part_link-nc_server_holder-- Returns:
- Throws:
WTException
-
getPartsFromCoProduceProcessPlan
Takes a process plan and returns a Set of CoProduce bean which contains information about related CoProduce object, its primary and secondary objects along with inflated primary and secondary links. All the CoProduce beans are based on Latest ConfigSpec. Note: The CoProduceUsage links are not inflated in the CoProduce bean.
Supported API: true- Parameters:
processPlan- for which related CoProduce part details to be obtained- Returns:
- Set of CoProduce bean
- Throws:
WTException
-
invalid reference