| 
 | Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.7) E15033-09 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
   com.bea.wli.config.resource.BaseQuery
com.bea.wli.config.resource.BaseQuery
       com.bea.wli.config.resource.ResourceQuery
com.bea.wli.config.resource.ResourceQuery
public class ResourceQuery
Query for searching resources based on various properties
| Field Summary | |
|---|---|
| static long | serialVersionUID | 
| Constructor Summary | |
|---|---|
| ResourceQuery(java.lang.String typeId) | |
| Method Summary | |
|---|---|
|  void | addKeySearch(java.lang.String key, java.lang.Object keyValue)Adds a filtering condition. | 
|  java.util.Collection<java.lang.String> | getAttrsToReturn() | 
|  java.util.Map<java.lang.String,java.lang.Object> | getFilter() | 
|  java.lang.String | getLocalName() | 
|  java.lang.String | getPath() | 
|  java.lang.String | getTypeId() | 
|  java.util.Date | getUpdatedAfter() | 
|  java.util.Date | getUpdatedBefore() | 
|  boolean | isChangedInSessionOnly() | 
|  void | lastUpdatedBetween(java.util.Date startDate, java.util.Date endDate)Adds a predicate to return the resource modified in between two dates. | 
|  void | setAttrsToReturn(java.util.Collection<java.lang.String> attrsToReturn)Sets additional attributes to return. | 
|  void | setChangedInSessionOnly(boolean changedInSessionOnly)Adds a predicate to consider only the existing resources that have been modified (updated or created) in the session. | 
|  void | setLocalName(java.lang.String localName)Adds a predicate to return only resource that have the given local name relative to their project / folder. | 
|  void | setPath(java.lang.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(java.lang.String typeId)
typeId - type id of the resources to be searched. If null all resource types are searched.| Method Detail | 
|---|
public java.lang.String getTypeId()
public java.lang.String getPath()
public java.lang.String getLocalName()
public java.util.Map<java.lang.String,java.lang.Object> getFilter()
public java.util.Collection<java.lang.String> getAttrsToReturn()
public java.util.Date getUpdatedAfter()
public java.util.Date getUpdatedBefore()
public boolean isChangedInSessionOnly()
public void addKeySearch(java.lang.String key,
                         java.lang.Object keyValue)
key -  this determines the key on which filtering is done; for example, for XML Schema resouce filtering based on targetNameSpace, the key would be  "targetNameSpace"keyValue - this determines the value based on which filtering is donepublic void setPath(java.lang.String path)
path -public void setLocalName(java.lang.String localName)
localName -public void setAttrsToReturn(java.util.Collection<java.lang.String> attrsToReturn)
attrsToReturn -
public void lastUpdatedBetween(java.util.Date startDate,
                               java.util.Date endDate)
startDate - start date of the date rangeendDate - end date of the date rangepublic void setChangedInSessionOnly(boolean changedInSessionOnly)
changedInSessionOnly - a value of true causes only the resources that has been modified in the session to be considered. A false value however indicates that all resources be considered, regardless of updates.| 
 | Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.7) E15033-09 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||