Class IdFilter

java.lang.Object
com.sas.services.information.Filter
com.sas.services.information.metadata.IdFilter
All Implemented Interfaces:
FilterInterface, Serializable

public class IdFilter extends Filter implements FilterInterface
This is a very specific class used to retrieve an object which the repository identifier is already known. Usually, a fetch would be done as this is a more efficient operation, but there are some instances where a search is deisrable. Also, this mechanism is used for the count operation which counts associated objects. In order to correctly use this class, use the constructor that sets the id string, or set it explicitly, and set the type, then perform the search normally.
See Also:
  • Constructor Details

    • IdFilter

      public IdFilter()
    • IdFilter

      public IdFilter(String identifier)
  • Method Details

    • getIdString

      public final String getIdString()
      Returns:
      Returns the _idString.
    • setIdString

      public final void setIdString(String string)
      Parameters:
      string - The _idString to set.
    • getXMLSelectString

      public String getXMLSelectString()
      Get the filter in the form of an XMLSelect statement.

      Specified by:
      getXMLSelectString in interface FilterInterface
      Overrides:
      getXMLSelectString in class Filter
      Returns:
      An XMLSelect string to pass to OMR.
    • getOMRFlags

      public int getOMRFlags()
      Description copied from class: Filter
      Get the flags to add to the OMI request.

      Specified by:
      getOMRFlags in interface FilterInterface
      Overrides:
      getOMRFlags in class Filter
      Returns:
      The OMI flags.
    • getDavBasicSearchString

      public String getDavBasicSearchString()
    • getDAVSQLString

      public String getDAVSQLString()
      Description copied from class: Filter
      Get the filter in the form of a DAV SQL request. This is aimed at the Microsoft servers - Internet Information Server, SharePoint Portal Server and Exchange server.

      Specified by:
      getDAVSQLString in interface FilterInterface
      Overrides:
      getDAVSQLString in class Filter
      Returns:
      An XML DAV SQL request to pass to a DAV server.
    • getLdapString

      public String getLdapString()