*** This class provides Binary Compatibility only, not Source Compatibility ***
Class ServerFilter
java.lang.Object
com.sas.services.information.Filter
com.sas.services.information.metadata.ServerFilter
- All Implemented Interfaces:
FilterInterface,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.sas.services.information.Filter
_componentFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStringGet the filter in the form of a DAV basicsearch XML request.StringGet the filter in the form of a DAV SQL request.StringStringGet the OMR type.ListGet the List of protocols that were set to be searched.intStringGet the filter in the form of an XMLSelect statement.voidsetServerType(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERVER_ANY
public static final int SERVER_ANY- See Also:
-
SERVER_LDAP
public static final int SERVER_LDAP- See Also:
-
SERVER_OMI
public static final int SERVER_OMI- See Also:
-
SERVER_DAV
public static final int SERVER_DAV- See Also:
-
SERVER_WORKSPACE
public static final int SERVER_WORKSPACE- See Also:
-
SERVER_STOREDPROCESS
public static final int SERVER_STOREDPROCESS- See Also:
-
SERVER_MDX
public static final int SERVER_MDX- See Also:
-
SERVER_GMS
public static final int SERVER_GMS- See Also:
-
SERVER_MQX
public static final int SERVER_MQX- See Also:
-
SERVER_FTP
public static final int SERVER_FTP- See Also:
-
-
Constructor Details
-
ServerFilter
public ServerFilter() -
ServerFilter
public ServerFilter(String key, int relation, String value)
-
-
Method Details
-
getOMRType
public String getOMRType()Description copied from class:FilterGet 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:
getOMRTypein interfaceFilterInterface- Overrides:
getOMRTypein classFilter- Returns:
- The OMR specific type to search for.
-
getLDAPType
public String getLDAPType() -
setServerType
public void setServerType(int type) -
getServerType
public int getServerType() -
getXMLSelectString
public String getXMLSelectString()Description copied from class:FilterGet the filter in the form of an XMLSelect statement.- Specified by:
getXMLSelectStringin interfaceFilterInterface- Overrides:
getXMLSelectStringin classFilter- Returns:
- An XMLSelect string to pass to OMR.
-
getDAVBasicSearchString
public String getDAVBasicSearchString()Description copied from class:FilterGet the filter in the form of a DAV basicsearch XML request. This is described in the WebDAV SEARCH proposal.- Specified by:
getDAVBasicSearchStringin interfaceFilterInterface- Overrides:
getDAVBasicSearchStringin classFilter- Returns:
- An XML basicsearch request to pass to a DAV server.
-
getDAVSQLString
public String getDAVSQLString()Description copied from class:FilterGet 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:
getDAVSQLStringin interfaceFilterInterface- Overrides:
getDAVSQLStringin classFilter- Returns:
- An XML DAV SQL request to pass to a DAV server.
-
getProtocols
public List getProtocols()Description copied from interface:FilterInterfaceGet the List of protocols that were set to be searched.- Specified by:
getProtocolsin interfaceFilterInterface- Overrides:
getProtocolsin classFilter- Returns:
- A List of protocol Strings.
-