Package com.ptc.windchill.mpml.bll
Class AllocationExecutionReport
java.lang.Object
com.ptc.windchill.baseserver.bll.AbstractExecutionReport
com.ptc.windchill.mpml.bll.AllocationExecutionReport
- All Implemented Interfaces:
ExecutionReport
public class AllocationExecutionReport
extends com.ptc.windchill.baseserver.bll.AbstractExecutionReport
Report of a resource allocation. It may contain information regarding multiple resources being allocated to multiple
operations.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ptc.windchill.baseserver.bll.ExecutionReport
ExecutionReport.Message, ExecutionReport.Status -
Field Summary
Fields inherited from class com.ptc.windchill.baseserver.bll.AbstractExecutionReport
messages, replacements, status -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the specified allocation result object to the result collection.voidaddLink(ObjectReference aLink) Adds the specified link to the map of link references.Returns the resource allocation results produced by the allocation.Returns the references to the operation-to-resource links, keyed by the operation reference.Methods inherited from class com.ptc.windchill.baseserver.bll.AbstractExecutionReport
add, addMessages, addReplacement, getMessages, getReplacements, getStatus, getThrowable, isSuccess, merge, setStatus, setThrowable, updateStatus
-
Method Details
-
getLinkByOperationMap
Returns the references to the operation-to-resource links, keyed by the operation reference.
Supported API: true- Returns:
- map of link references keyed by operation reference
-
getAllocationResults
Returns the resource allocation results produced by the allocation.
Supported API: true- Returns:
- resource allocation results
-
addAllocationResult
Adds the specified allocation result object to the result collection.
Supported API: true- Parameters:
aResult- allocation result to be added
-
addLink
Adds the specified link to the map of link references.
Supported API: true- Parameters:
aLink- link for which a reference must be added- Throws:
WTException- if unable to create an ObjectReference based on the specified link
-