Class RemoveDocumentLinkFilterDelegate
java.lang.Object
com.ptc.windchill.enterprise.massChange.filters.AbstractDefaultFilterDelegate
com.ptc.windchill.enterprise.massChange.filters.AbstractWorkableFilterDelegate
com.ptc.windchill.enterprise.massChange.filters.AbstractDocumentLinkFilterDelegate
com.ptc.windchill.enterprise.massChange.filters.RemoveDocumentLinkFilterDelegate
- All Implemented Interfaces:
MassChangeFilterDelegate
This filter delegate determines whether the selected objects are eligible for
the mass change operation for the selected document. The AssociationDelegate
registered for the selected association type ("Referenced By", "Described
By", or "Passive") which is used to filter or remove the appropriate
association links for the selected objects and the selected document. The
supported document types are wt.doc.WTDocument and wt.epm.EPMDocument.
If this delegate is extended or replaced with a customized delegate, the
action for the mass change operation should be overridden in a customized
actions.xml. The customized delegated should be registered as the command
class in the overridden mass change operation action.
This operation is registered with the action name
removeDocumentUsage
Extendable: true
Supported API: true
- See Also:
-
Field Summary
Fields inherited from class com.ptc.windchill.enterprise.massChange.filters.AbstractWorkableFilterDelegate
logFields inherited from class com.ptc.windchill.enterprise.massChange.filters.AbstractDefaultFilterDelegate
RESOURCE -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfilterNotRelated(MassChangeFilterState mcFilterState) Filter out mass change target parts that are not related to the specified document.protected voidpreEvaluate(MassChangeFilterState mcFilterState) Filter out mass change target parts that are not related to the specified document.protected voidpreProcessOperation(MassChangeFilterState mcFilterState) Remove associations between target objects and the specified document.Methods inherited from class com.ptc.windchill.enterprise.massChange.filters.AbstractDocumentLinkFilterDelegate
generateHintText, getAssociationType, getChangeableSourceName, getRelatedDocument, isReferencedByLink, validateFormSubmissionMethods inherited from class com.ptc.windchill.enterprise.massChange.filters.AbstractWorkableFilterDelegate
checkin, filterCheckout, filterView, getCheckedOutByMe, getFilterView, getOriginalCopyMap, getSourceChangeable, getTargetWorkingCopies, getWorkingCopyMap, isCheckedOut, isCheckedOutByMe, isCheckedOutToSandbox, isSupportedSourceType, isViewValid, postProcessOperation, undoCheckoutsMethods inherited from class com.ptc.windchill.enterprise.massChange.filters.AbstractDefaultFilterDelegate
evaluate, filterAdminLock, filterAssociationType, filterForRedline, filterPermission, filterType, getAssociationLinkTypeMap, getCadPublishableTargets, getCadPublishMap, getCommandBean, getFormResult, getModifiableObjects, getServerExcludedItems, getSourceChangeable, postEvaluate, processOperation, setCommandBean, setFormResult
-
Method Details
-
preProcessOperation
Remove associations between target objects and the specified document.
Overridden methods must have first line:super.preProcessOperation(mcFilterState)
Supported API: true- Overrides:
preProcessOperationin classAbstractWorkableFilterDelegate- Parameters:
mcFilterState- MassChangeFilterState object populated with mass change target objects.- Throws:
WTException
-
preEvaluate
Filter out mass change target parts that are not related to the specified document. Filtered objects will be marked as excluded. Objects already excluded will not be evaluated.Overridden methods must have first line:
super.preEvaluate(mcFilterState)
Supported API: true- Overrides:
preEvaluatein classAbstractWorkableFilterDelegate- Parameters:
mcFilterState- MassChangeFilterState object populated with mass change target objects.- Throws:
WTException
-
filterNotRelated
Filter out mass change target parts that are not related to the specified document. Filtered objects will be marked as excluded. Objects already excluded will not be evaluated.
Supported API: true- Parameters:
mcFilterState- MassChangeFilterState object populated with mass change target objects.- Throws:
WTException
-