com.sas.services.information.metadata
Class IdFilter
com.sas.services.information.metadata.IdFilter
All Implemented Interfaces: FilterInterface , java.io.Serializable
public class IdFilter 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: Serialized Form
Methods inherited from class com.sas.services.information.Filter
addProtocol , addSearchOption , component2JCRXPath , component2Select , getDAVBase , getDAVBasicSearchString , getDAVScope , getDAVType , getExplicitSearchString , getFilterComponent , getFilterString , getJCRType , getJCRXPathString , getName , getOMROption , getOMRRepository , getOMRSearchString , getOMRTemplate , getOMRType , getProtocols , getRdbmsTable , getSearchOptions , getType , getXPathString , removeProtocol , removeSearchOption , setDAVBase , setDAVScope , setExplicitSearchString , setFilterComponent , setName , setOMRFlags , setOMROption , setOMRRepository , setOMRTemplate , setProtocols , setRdbmsTable , setType , toString
Methods inherited from interface com.sas.services.information.FilterInterface
addProtocol , addSearchOption , getDAVBase , getDAVBasicSearchString , getDAVScope , getDAVType , getExplicitSearchString , getFilterComponent , getFilterString , getJCRXPathString , getName , getOMROption , getOMRRepository , getOMRSearchString , getOMRTemplate , getOMRType , getProtocols , getRdbmsTable , getSearchOptions , getType , getXPathString , removeProtocol , removeSearchOption , setDAVBase , setDAVScope , setExplicitSearchString , setFilterComponent , setName , setOMRFlags , setOMROption , setOMRRepository , setOMRTemplate , setProtocols , setRdbmsTable , setType
IdFilter
public IdFilter ()
IdFilter
public IdFilter (java.lang.String identifier)
getIdString
public final java.lang.String getIdString ()
Returns: Returns the _idString.
setIdString
public final void setIdString (java.lang.String string)
Parameters: string
- The _idString to set.
getXMLSelectString
public java.lang.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 java.lang.String getDavBasicSearchString ()
getDAVSQLString
public java.lang.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 java.lang.String getLdapString ()
Copyright © 2009 SAS Institute Inc. All Rights Reserved.