|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.portal.providers.context.PropertiesFilter
com.sun.portal.providers.context.ClientPropertiesFilter
This class implements the "client" filter.
| Constructor Summary | |
ClientPropertiesFilter()
Constructor. |
|
| Method Summary | |
static java.util.List |
getClientFilters(ProviderContext context,
boolean required)
A convenience method for getting a list of ClientPropertiesFilters for the client based on the given
context. |
static java.util.List |
getClientFilters(ProviderContext context,
java.lang.String clientType,
boolean required)
A convenience method for getting a list of ClientPropertiesFilters for the given client. |
static java.util.Set |
getClientParents(ProviderContext context)
Gets the set of parents for the client based on the context. |
static java.util.Set |
getClientParents(ProviderContext context,
java.lang.String clientType)
Gets the set of parents for the specified client. |
java.lang.String |
getCondition()
Return " client" |
boolean |
match(java.lang.String condition,
java.lang.String value)
Does the given condition and value match this client filter? This match method is based on a case-sensitive string comparison. |
| Methods inherited from class com.sun.portal.providers.context.PropertiesFilter |
getValue, init, isRequired, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ClientPropertiesFilter()
PropertiesFilterFactory.get(CLIENT_PROPERTIESFILTER_CLASSNAME, ...).
PropertiesFilterFactory.get(String, String, boolean)| Method Detail |
public java.lang.String getCondition()
client"
getCondition in class PropertiesFilterclient"
public boolean match(java.lang.String condition,
java.lang.String value)
match in class PropertiesFiltercondition - filter condition. i.e. "client"value - client type
public static java.util.List getClientFilters(ProviderContext context,
java.lang.String clientType,
boolean required)
throws PropertiesFilterException
ClientPropertiesFilters for the given client.
context - provider contextclientType - client type stringrequired - boolean value that determines whether the filters are
required or optional
ClientPropertiesFilters
PropertiesFilterException
public static java.util.List getClientFilters(ProviderContext context,
boolean required)
throws PropertiesFilterException
ClientPropertiesFilters for the client based on the given
context.
context - provider contextrequired - boolean value that determines whether the filters are
required or optional
ClientPropertiesFilters
PropertiesFilterException
public static java.util.Set getClientParents(ProviderContext context,
java.lang.String clientType)
context - provider contextclientType - client type string
public static java.util.Set getClientParents(ProviderContext context)
context - provider context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||