Interface OperatedOnAllocationService
Service to perform operated on allocation-related tasks.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiondoCopyAllocation(MPMOperationHolder operationHolder, Collection<? extends OperationToPartAllocationLink> linksToConsume, NavigationCriteria relatedNC, boolean isReAllocation) This service will consume given links as operated on parts on given operation holder.doSimpleAllocation(List<MPMOperationHolder> operationHolders, List<WTPart> parts) This service will consume given parts as operated on parts as stand alone.doSimpleAllocation(Map<MPMOperation, List<WTPart>> operationHoldersToPartsMap) This service will consume given parts as operated on parts for the MPMOperationHolder.booleanFind out that allocated part is reference or it is consumed from related assembly.booleanFind out that allocated part is stand-alone or it is consumed from related assembly.
-
Method Details
-
doSimpleAllocation
OperatedOnAllocationReport doSimpleAllocation(List<MPMOperationHolder> operationHolders, List<WTPart> parts) throws WTException This service will consume given parts as operated on parts as stand alone.
Supported API: true- Parameters:
operationHolders-parts-- Throws:
WTException
-
doSimpleAllocation
WTCollection doSimpleAllocation(Map<MPMOperation, List<WTPart>> operationHoldersToPartsMap) throws WTExceptionThis service will consume given parts as operated on parts for the MPMOperationHolder.
Supported API: true- Parameters:
operationHoldersToPartsMap-- Returns:
- WTCollection with MPMOperationToOperatedPartLinks
- Throws:
WTException
-
isStandaloneAllocation
Find out that allocated part is stand-alone or it is consumed from related assembly.
Supported API: true- Parameters:
link-- Returns:
-
isReferenceAllocation
Find out that allocated part is reference or it is consumed from related assembly.
Supported API: true- Parameters:
link-- Returns: