|
||||||||||
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 List |
getClientFilters(ProviderContext context,
boolean required)
A convenience method for getting a list of ClientPropertiesFilters for the client based on the given
context. |
static List |
getClientFilters(ProviderContext context,
String clientType,
boolean required)
A convenience method for getting a list of ClientPropertiesFilters for the given client. |
static Set |
getClientParents(ProviderContext context)
Gets the set of parents for the client based on the context. |
static Set |
getClientParents(ProviderContext context,
String clientType)
Gets the set of parents for the specified client. |
String |
getCondition()
Return " client " |
boolean |
match(String condition,
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 String getCondition()
client
"
getCondition
in class PropertiesFilter
client
"public boolean match(String condition, String value)
match
in class PropertiesFilter
condition
- filter condition. i.e. "client"value
- client type
public static List getClientFilters(ProviderContext context, 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
ClientPropertiesFilter
s
PropertiesFilterException
public static 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
ClientPropertiesFilter
s
PropertiesFilterException
public static Set getClientParents(ProviderContext context, String clientType)
context
- provider contextclientType
- client type string
public static Set getClientParents(ProviderContext context)
context
- provider context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |