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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ptc.windchill.mpml.processplan.MPMProcessPlanService
MPMProcessPlanService.AlternateSequenceInfo -
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 TypeMethodDescriptionaddUseMPMOperation(MPMOperationHolder operationHolder, MPMOperation operation, String label) Deprecated.This method will insert the operation under the given operation holder by creating operation usage link between them.getAllChildOperationHoldersAndUsagesRecursively(List<MPMOperationHolder> opHolders, NCServerHolder ncHolder) Deprecated.This method will recursively get all the child operations and usages present under the hierarchy of given operation holder.getAllChildOperationsRecursively(List<MPMOperationHolder> opHolders, NCServerHolder nc_server_holder) Deprecated.This method will recursively get all the child operations present under the hierarchy of given operation holder.getAllChildOperationsRecursivelyForRest(List<MPMOperationHolder> opHolders, NCServerHolder nc_server_holder) Deprecated.This method will recursively get all the child operations present under the hierarchy of given operation holder.getAllChildOperationsRecusrively(MPMOperationHolder opHolder, NCServerHolder nc_server_holder) Deprecated.This method will recursively get all the child operations present under the hierarchy of given operation holder.getAllFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will get all operations, sequences and standard procedures under the given operation holder.getAllFromOperationHolder(Collection<Iterated> operation_holders, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will get all operations, sequences and standard procedures under the given operation holder.getAllocatedPartToStandardOperation(MPMOperationHolder stdoperation, String operationPath, NavigationCriteria navigationCriteria) Deprecated.
Supported API: truegetAllUsageLinksForAllocatedParts(MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) 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.getAllUsageLinksForAllocatedParts(MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder, boolean chkPartAllocationAtOccurrenceLevel) 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.getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMProcessPlan processPlanIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) Deprecated.Fetches the part usage links for the allocated parts corresponding to the input arguments and returns the thus fetched links to the caller.getAllUsageLinksForAllocatedParts(WTPart bomIteration, MPMOperationToPartLink operation_to_part_link, NCServerHolder nc_server_holder) Deprecated.Fetches the part usage links for the allocated parts corresponding to the input arguments and returns the thus fetched links to the caller.getAssociatedStandardCCFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all associated SCC for the given operation.getAssociatedStandardCCFromOperation(List<Persistable> operations, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all associated SCC for the given operation.getConsumablesFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all consumable resources allocated to the given operation.getMPMOperationToPartLink(MPMOperationHolder operationHolder, WTPartMaster partMaster, String componentIdPath, ObjectReference assemblyMasterRefe) Deprecated.This method will get the operation to part link for the given operation , part master and component id path.getMPMOperationToPartLink(MPMOperation operation, WTPartMaster partMaster, LineNumber lineNumber) Deprecated.This method will get the operation to part link for the given operation , part master and line number.getMPMOperationUsageLink(MPMOperationHolder operationHolder, String uniqueID, NCServerHolder nc_server_holder) Deprecated.This method will get the operation usage link with given unique identifier present under given operation holder.getMPMPlant(MPMOperation operation, NCServerHolder nc_server_holder) Deprecated.This method will get all the plants associated with given operation.getMPMPlant(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder) Deprecated.This method will get all the plants associated with given sequence holder.getMPMProcessPlan(MPMOperationHolder operationHolder, NCServerHolder nc_server_holder) Deprecated.This method will get the process plan which holds the given operation holders under its hierarchy.getMPMProcessPlan(MPMOperation operation, NCServerHolder nc_server_holder) Deprecated.This method will get the process plan which holds the given operation under its hierarchy.voidgetNextAllocationNumber(WTCollection operationToConsumableLinkCollection) Deprecated.This method will get the next allocation number from the given operation to consumable link.intgetNextAlternateNumber(MPMPartToProcessPlanLink partToProcessPlanLink) Deprecated.This method will get the next alternate number for the given part to process plan link.getNextMPMOperationUsageLinkLabel(MPMOperationHolder operationHolder) Deprecated.This method will get the next operation label under given operation holder.voidgetNextMPMStdCCUsageToResourceLinkAllocationNumber(WTCollection stdCCUsageToResourceLinkCollection) Deprecated.This method will get the next allocation number from the given MPMStdCCUsageToResourceLink.intgetNextSequenceNumber(MPMSequenceUsageLink sequenceUsageLink) Deprecated.This method will get the next sequence number for the given sequence usage link.getOperatedPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder) Deprecated.This method will return all operated on parts for the given operation.getOperatedPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all operated on parts for the given operation.getOperationHoldersFromOperationMaster(MPMOperationMaster operation_master, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return operation holders having the the given operation master as its child.getOperationHoldersFromOperationMaster(MPMOperationMaster operation_master, NCServerHolder nc_server_holder, boolean only_return_other_side, boolean filterDirectParents) Deprecated.This method will return operation holders having the the given operation master as its child.getOperationsAndStandardProceduresFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will get all operations and standard procedures under the given operation holder.getOperationsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all child operations present under the given operation.getOperationsFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will get all the operations under given operation holder.getOperationsFromSequence(MPMSequence sequence, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all operations under the given sequence.getOrderedMPMOperationUsageLinks(MPMOperationHolder operationHolder, boolean descending) Deprecated.This method will return the operation usage link under the given operation holder as per the creation order.getOrderedOperationsAndStandardProcedures(Object activityObj, NCServerHolder nc_server_holder) Deprecated.This method will get the ordered list of all operations and standard procedures present under given operation holder.getOrderedOperationUsages(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_the_other_side) Deprecated.This method will get all operations and usages links ordered as per the operation lables under the given operation holder.getOrderedStandardProcedureLinks(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean onlyTheOtherSide) Deprecated.This method will get the ordered list of all standard procedures present under given operation holder.getPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will get all BOM allocated parts for the given operation.getPartsFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, FilteredStatus filter_status, boolean only_return_other_side) Deprecated.This method will return a map of all parts allocated to an operation.getPlantListRecursively(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder) Deprecated.This method will get the set of plants associated to the current operation holder and, recursively, the plants of all parent operation holders.getPlantsFromSequenceHolder(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all plant objects associated with the given sequence holder.getSequenceHoldersFromSequenceMaster(MPMSequenceMaster sequence_master, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return sequence holders having the the given sequence master as its child.getSequenceHoldersFromSequenceMaster(MPMSequenceMaster sequence_master, NCServerHolder nc_server_holder, boolean only_return_other_side, boolean filterDirectParents) Deprecated.This method will return sequence holders having the the given sequence master as its child.getSequencesFromSequenceHolder(MPMSequenceHolder sequence_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all the child sequences for given sequence holder.getSequenceUsageLink(MPMSequenceHolder sequenceHolder, int sequenceNumber) Deprecated.This method will get the sequence usage link with given sequence number under the given sequence holder
Supported API: truegetSequenceUsageLinkOperationLabel(MPMSequenceUsageLink sequenceUsageLink, boolean isBranching) Deprecated.This method will get the operation label for the operation usage link of branching or return operation, associated with given sequence usage link.getStandardProceduresFromOperationHolder(MPMOperationHolder operation_holder, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will get all standard procedures under the given operation holder.getUseMPMOperationMaster(MPMOperationHolder operationHolder, String label) Deprecated.This method will get the operation master whose operation usage link has given operation label under the given operation holder.getWorkCentersAndConsumablesFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all work centers and consumable resources allocated to the given operation.getWorkCentersFromOperation(MPMOperation operation, NCServerHolder nc_server_holder, boolean only_return_other_side) Deprecated.This method will return all work centers allocated to the given operation.Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getConceptualClassname, 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
-
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:
addUseMPMOperationin interfaceMPMProcessPlanService- Parameters:
operationHolder- Operation holder under which the operation has to be insertedoperation- Operation that has to be insertedlabel- 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:
getMPMProcessPlanin interfaceMPMProcessPlanService- Parameters:
operation- Operation object for which the process plan has to be identifiednc_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:
getMPMProcessPlanin interfaceMPMProcessPlanService- Parameters:
operationHolder- Operation object for which the process plan has to be identifiednc_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:
getAllFromOperationHolderin interfaceMPMProcessPlanService- Parameters:
operation_holder- Operation holdernc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getAllFromOperationHolderin interfaceMPMProcessPlanService- Parameters:
nc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_return_other_side- If set to false it will return object and its usage link, otherwise only the objectoperation_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:
getOperationsFromOperationHolderin interfaceMPMProcessPlanService- Parameters:
operation_holder- Operation holder under which the operations has to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getStandardProceduresFromOperationHolderin interfaceMPMProcessPlanService- Parameters:
operation_holder- Operation holder under which the standard procedures has to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getOperationsAndStandardProceduresFromOperationHolderin interfaceMPMProcessPlanService- Parameters:
operation_holder- Operation holder under which operations and standard procedures has to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getPartsFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation object for which the BOM allocated parts has to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getPartsFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation for which part allocations have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriafilter_status- Filtered statusonly_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:
getOperatedPartsFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation for which the operated on parts have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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 searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getWorkCentersFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation for which the work centers have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getConsumablesFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation for which the consumable resources have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getWorkCentersAndConsumablesFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation for which the work centers and consumable resources have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getOperationsFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation under which the child operations have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getOperationHoldersFromOperationMasterin interfaceMPMProcessPlanService- Parameters:
operation_master- Operation master for which the operation holders have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getOperationHoldersFromOperationMasterin interfaceMPMProcessPlanService- Parameters:
operation_master- Operation master for which the operation holders have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_return_other_side- If set to false it will return operation holders and operation usage links with the operation master, otherwise only the operation holdersfilterDirectParents- 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:
getSequencesFromSequenceHolderin interfaceMPMProcessPlanService- Parameters:
sequence_holder- Sequence holder for which the child sequences have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getPlantsFromSequenceHolderin interfaceMPMProcessPlanService- 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
-
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:
getOperationsFromSequencein interfaceMPMProcessPlanService- Parameters:
sequence- Sequence under which the operations have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getSequenceHoldersFromSequenceMasterin interfaceMPMProcessPlanService- Parameters:
sequence_master- Sequence master for which the sequence holders have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_return_other_side- If set to false it will return sequence holders and sequence usage links with the sequence master, otherwise only the sequence holdersfilterDirectParents- 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:
getSequenceHoldersFromSequenceMasterin interfaceMPMProcessPlanService- Parameters:
sequence_master- Sequence master for which the sequence holders have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getMPMOperationToPartLinkin interfaceMPMProcessPlanService- Parameters:
operation- Operation objectpartMaster- Part master objectlineNumber- 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:
getMPMOperationToPartLinkin interfaceMPMProcessPlanService- Parameters:
operationHolder-partMaster- Part master objectcomponentIdPath- component id pathoperation- Operation object- Returns:
- MPMOperationToPartLink Operation to part link for the given operation, part and component id path
- 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:
getNextMPMOperationUsageLinkLabelin interfaceMPMProcessPlanService- Parameters:
operationHolder- Operation holder under which the next operation label has to be calculated- Returns:
- String Calculated next operation label
- Throws:
WTException
-
getNextSequenceNumber
Deprecated.This method will get the next sequence number for the given sequence usage link.
Supported API: true- Specified by:
getNextSequenceNumberin interfaceMPMProcessPlanService- 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:
getOrderedMPMOperationUsageLinksin interfaceMPMProcessPlanService- Parameters:
operationHolder- Operation holder objectdescending- 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:
getSequenceUsageLinkin interfaceMPMProcessPlanService- Parameters:
sequenceHolder- Sequence holder under which the sequence usage link has to be searchedsequenceNumber- 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:
getUseMPMOperationMasterin interfaceMPMProcessPlanService- Parameters:
operationHolder- Operation holder under which the operation master has to be searchedlabel- 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:
getNextAlternateNumberin interfaceMPMProcessPlanService- 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:
getAllUsageLinksForAllocatedPartsin interfaceMPMProcessPlanService- 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:
getAllUsageLinksForAllocatedPartsin interfaceMPMProcessPlanService- 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:
getAllUsageLinksForAllocatedPartsin interfaceMPMProcessPlanService- 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:
getAllUsageLinksForAllocatedPartsin interfaceMPMProcessPlanService- 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:
getSequenceUsageLinkOperationLabelin interfaceMPMProcessPlanService- Parameters:
sequenceUsageLink- Sequence usage linkisBranching- 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:
getNextAllocationNumberin interfaceMPMProcessPlanService- 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:
getNextMPMStdCCUsageToResourceLinkAllocationNumberin interfaceMPMProcessPlanService- 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 hierarchync_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 searchednc_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 searchednc_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:
getOrderedOperationUsagesin interfaceMPMProcessPlanService- Parameters:
operation_holder- Operation holdernc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getMPMOperationUsageLinkin interfaceMPMProcessPlanService- Parameters:
operationHolder- Operation holder under which the operation usage links have to be searcheduniqueID- This is taken as unique indetifier or operation label to be matchednc_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:
getOrderedOperationsAndStandardProceduresin interfaceMPMProcessPlanService- Parameters:
activityObj- Operation holder objectnc_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:
getOrderedStandardProcedureLinksin interfaceMPMProcessPlanService- Parameters:
operation_holder- Operation holder objectnc_server_holder- NCServerHolder that holds the Navigation CriteriaonlyTheOtherSide- 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:
getAllChildOperationsRecusrivelyin interfaceMPMProcessPlanService- Parameters:
opHolder- Operation holdernc_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:
getAllChildOperationsRecursivelyin interfaceMPMProcessPlanService- Parameters:
opHolders- Operation holdersnc_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:
getAllChildOperationHoldersAndUsagesRecursivelyin interfaceMPMProcessPlanService- Parameters:
opHolders- Operation holdersncHolder- 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, getAllChildOperationsRecursivelyForRestObject>> (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:
getAllChildOperationsRecursivelyForRestin interfaceMPMProcessPlanService- Parameters:
opHolders- Operation holdersnc_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:
getAssociatedStandardCCFromOperationin interfaceMPMProcessPlanService- Parameters:
operation- Operation for which the operated on parts have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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:
getAssociatedStandardCCFromOperationin interfaceMPMProcessPlanService- Parameters:
operations- Operation for which the operated on parts have to be searchednc_server_holder- NCServerHolder that holds the Navigation Criteriaonly_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
-
MPMProcessPlanServiceusingMPMServiceLocator.getMPMProcessPlanService()