***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Class ServerFilter

com.sas.services.information.metadata.ServerFilter
All Implemented Interfaces:
FilterInterface, java.io.Serializable

public class ServerFilter

See Also:
Serialized Form

Field Summary
static int SERVER_ANY
           
static int SERVER_DAV
           
static int SERVER_FTP
           
static int SERVER_GMS
           
static int SERVER_LDAP
           
static int SERVER_MDX
           
static int SERVER_MQX
           
static int SERVER_OMI
           
static int SERVER_STOREDPROCESS
           
static int SERVER_WORKSPACE
           
 
Fields inherited from class com.sas.services.information.Filter
_component
 
Fields inherited from interface com.sas.services.information.FilterInterface
BASE_SCOPE, FILTERCOMPONENT_UNSUPPORTED, FLAG_OVERRIDE, ONELEVEL_SCOPE, PROTOCOL_DAV, PROTOCOL_HIBERNATE, PROTOCOL_IPOD, PROTOCOL_LDAP, PROTOCOL_OMI, SUBTREE_SCOPE
 
Constructor Summary
ServerFilter()
           
ServerFilter(java.lang.String key, int relation, java.lang.String value)
           
 
Method Summary
 java.lang.String getDAVBasicSearchString()
          Get the filter in the form of a DAV basicsearch XML request.
 java.lang.String getDAVSQLString()
          Get the filter in the form of a DAV SQL request.
 java.lang.String getLDAPType()
           
 java.lang.String getOMRType()
          Get the OMR type.
 java.util.List getProtocols()
          Get the List of protocols that were set to be searched.
 int getServerType()
           
 java.lang.String getXMLSelectString()
          Get the filter in the form of an XMLSelect statement.
 void setServerType(int type)
           
 
Methods inherited from class com.sas.services.information.Filter
addProtocol, addSearchOption, component2JCRXPath, component2Select, getDAVBase, getDAVScope, getDAVType, getExplicitSearchString, getFilterComponent, getFilterString, getJCRType, getJCRXPathString, getName, getOMRFlags, getOMROption, getOMRRepository, getOMRSearchString, getOMRTemplate, getRdbmsTable, getSearchOptions, getType, getXPathString, removeProtocol, removeSearchOption, setDAVBase, setDAVScope, setExplicitSearchString, setFilterComponent, setName, setOMRFlags, setOMROption, setOMRRepository, setOMRTemplate, setProtocols, setRdbmsTable, setType, toString
 

Field Detail

SERVER_ANY

public static final int SERVER_ANY
See Also:
Constant Field Values

SERVER_LDAP

public static final int SERVER_LDAP
See Also:
Constant Field Values

SERVER_OMI

public static final int SERVER_OMI
See Also:
Constant Field Values

SERVER_DAV

public static final int SERVER_DAV
See Also:
Constant Field Values

SERVER_WORKSPACE

public static final int SERVER_WORKSPACE
See Also:
Constant Field Values

SERVER_STOREDPROCESS

public static final int SERVER_STOREDPROCESS
See Also:
Constant Field Values

SERVER_MDX

public static final int SERVER_MDX
See Also:
Constant Field Values

SERVER_GMS

public static final int SERVER_GMS
See Also:
Constant Field Values

SERVER_MQX

public static final int SERVER_MQX
See Also:
Constant Field Values

SERVER_FTP

public static final int SERVER_FTP
See Also:
Constant Field Values
Constructor Detail

ServerFilter

public ServerFilter()

ServerFilter

public ServerFilter(java.lang.String key,
                    int relation,
                    java.lang.String value)
Method Detail

getOMRType

public java.lang.String getOMRType()
Description copied from class: Filter
Get the OMR type. Return the type by default. subclasses may override this to return a different string. This method is mostly for use by the OMIRepository class.

Specified by:
getOMRType in interface FilterInterface
Overrides:
getOMRType in class Filter
Returns:
The OMR specific type to search for.

getLDAPType

public java.lang.String getLDAPType()

setServerType

public void setServerType(int type)

getServerType

public int getServerType()

getXMLSelectString

public java.lang.String getXMLSelectString()
Description copied from class: Filter
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.

getDAVBasicSearchString

public java.lang.String getDAVBasicSearchString()
Description copied from class: Filter
Get the filter in the form of a DAV basicsearch XML request. This is described in the WebDAV SEARCH proposal.

Specified by:
getDAVBasicSearchString in interface FilterInterface
Overrides:
getDAVBasicSearchString in class Filter
Returns:
An XML basicsearch request to pass to a DAV server.

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.

getProtocols

public java.util.List getProtocols()
Description copied from interface: FilterInterface
Get the List of protocols that were set to be searched.

Specified by:
getProtocols in interface FilterInterface
Overrides:
getProtocols in class Filter
Returns:
A List of protocol Strings.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.