|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.wli.config.resource.ResourceQuery
public class ResourceQuery
Base class for resource queries that are used to query resources within a particular type.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
ResourceQuery(String typeId)
|
|
| Method Summary | |
|---|---|
void |
addKeySearch(String key,
Object keyValue)
Adds a filtering condition. |
void |
addSubQuery(ResourceQuery q)
Adds a subquery to be performed over a subordinate type in addition to this query |
Collection<String> |
getAttrsToReturn()
|
Map<String,Object> |
getFilter()
|
String |
getLocalName()
|
String |
getPath()
|
Collection<ResourceQuery> |
getSubQueries()
|
String |
getTypeId()
|
void |
setAttrsToReturn(Collection<String> attrsToReturn)
Sets additional attributes to return. |
void |
setLocalName(String localName)
Adds a predicate to return only resource that have the given local name relative to their project / folder. |
void |
setPath(String path)
Adds a predicate to return only resources under the given path |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ResourceQuery(String typeId)
| Method Detail |
|---|
public String getTypeId()
public String getPath()
public String getLocalName()
public Map<String,Object> getFilter()
public Collection<String> getAttrsToReturn()
public Collection<ResourceQuery> getSubQueries()
public void addKeySearch(String key,
Object keyValue)
key - keyValue - public void setPath(String path)
path - public void setLocalName(String localName)
localName - public void setAttrsToReturn(Collection<String> attrsToReturn)
attrsToReturn - public void addSubQuery(ResourceQuery q)
q -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||