com.groiss.wfxml
Interface DMSFilter


public interface DMSFilter

This interface can be used to control the inclusion of DMSDocuments in a WfXML-CreatePIMessage. Should be set via WfXML.setDMSFilter(filter). Must be cleared after usage with WfXML.removeDMSFilter(); Typical use would be:

try {
      WfXML2.setDMSFilter(filter);
      message.addToDMSFolder(pi.getDMSFolder().listContents());

    } catch(Exception t) {
      ...
    } finally {
	    WfXML2.removeDMSFilter();
    }


Method Summary
 boolean include(java.lang.String path)
          Determines if an DMSObject should be included.
 

Method Detail

include

boolean include(java.lang.String path)
Determines if an DMSObject should be included.

Parameters:
path - The full path of the DMSObject (starting with the "/" after the process id)
Returns:
true, if the DMSObject should be included in the wfXML Message.


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.