Class AbstractDocumentLinkFilterDelegate

All Implemented Interfaces:
MassChangeFilterDelegate
Direct Known Subclasses:
AddDocumentLinkFilterDelegate, RemoveDocumentLinkFilterDelegate

public abstract class AbstractDocumentLinkFilterDelegate extends AbstractWorkableFilterDelegate
This filter delegate determines whether the selected objects are eligible for the mass change operation on the selected document. The supported document types are wt.doc.WTDocument and wt.epm.EPMDocument.

Extendable: true

Supported API: true
See Also:
  • Method Details

    • getAssociationType

      protected String getAssociationType()
      Initializes and returns the association type for the mass change operation. Returns the associated link types for the mass change operation. If the associated link types are not already defined, this method will initialize them.

      Supported API: true
      Returns:
      association type
      See Also:
    • validateFormSubmission

      public UIValidationResult validateFormSubmission(UIValidationCriteria validationCriteria) throws WTException
      Implementation used for document related operations on the Mass Change wizard. Will return a UIValidationStatus.DENIED object if the specified Revision does not return a specific document version.

      Supported API: true
      Specified by:
      validateFormSubmission in interface MassChangeFilterDelegate
      Overrides:
      validateFormSubmission in class AbstractDefaultFilterDelegate
      Parameters:
      validationCriteria - - UIValidationCriteria object that holds client data
      Returns:
      UIValidationResult
      Throws:
      WTException
    • getRelatedDocument

      protected Persistable getRelatedDocument() throws WTException
      Get the specified version of the related document.

      Supported API: true
      Returns:
      Specified version of the document, or null if it does not exist.
      Throws:
      WTException