Package wt.epm.annotation
Class EPMClientAnnotationHelper
java.lang.Object
wt.epm.annotation.EPMClientAnnotationHelper
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptionstatic WTCollectionprocessAnnotation(Map<EPMStructureAnnotationType, WTCollection> annotationTypeVsMemberLinks) Sets EPMStructureAnnotationType only on the non-annotated EPMMemberLink.
-
Method Details
-
processAnnotation
public static WTCollection processAnnotation(Map<EPMStructureAnnotationType, WTCollection> annotationTypeVsMemberLinks) throws WTExceptionSets EPMStructureAnnotationType only on the non-annotated EPMMemberLink. EPMStructureAnnotationType.REMOVE annotation is supported for only for the persistent EPMMemberLinks without annotation On the other hand, EPMStructureAnnotationType.ADD_UNPLACED and EPMStructureAnnotationType.ADD_PACKAGED annotations are supported only for non-persistent EPMMemberLinks. This API throws an error if any annotated EPMMemberLink is passed as input.
Supported API: true- Parameters:
annotationTypeVsMemberLinks- Map of EPMStructureAnnotationTypes against WTCollections of EPMMemberLinks on which the respective annotations are to be added- Returns:
- WTCollection of EPMMemberLinks.
- Throws:
WTException
-