Interface MPMOperationResetLabelDelegate
public interface MPMOperationResetLabelDelegate
Delegate to reset the labels after the given MPMOperation
Supported API: true
Extendable: true
MPMOperationUsageLink or MPMStandardProcedure
MPMStandardProcedureLink under a MPMOperationHolder. The delegate will apply new labels based on the
preference values used for calculating labels. This interface should be implemented by customised implementations.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionresetValidOperationLabels(IteratedUsageLink linkToUseForResetLabels, IteratedUsageLink nextLinkToUseForResetLabels, WTCollection newLinksforUpdate) The method resets the labels on the MPMOperationUsageLink and MPMStandardProcedureLink whose labels are greater than the label on the given MPMOperationUsageLink.
-
Method Details
-
resetValidOperationLabels
ArrayList<IteratedUsageLink> resetValidOperationLabels(IteratedUsageLink linkToUseForResetLabels, IteratedUsageLink nextLinkToUseForResetLabels, WTCollection newLinksforUpdate) throws WTException The method resets the labels on the MPMOperationUsageLink and MPMStandardProcedureLink whose labels are greater than the label on the given MPMOperationUsageLink.
Supported API: true- Parameters:
linkToUseForResetLabels- IteratedUsageLink after which the labels for the MPMOperation/MPMStandardProcedure are required to be reset.newLinksforUpdate- IteratedUsageLink which are already persisted and require resetting to new labels.- Returns:
- Non persisted ArrayList of IteratedUsageLink with updated labels.
- Throws:
WTException
-