Uses of Class
org.sakaiproject.entitybroker.entityprovider.search.Restriction

Packages that use Restriction
org.sakaiproject.entitybroker.entityprovider.search   
 

Uses of Restriction in org.sakaiproject.entitybroker.entityprovider.search
 

Methods in org.sakaiproject.entitybroker.entityprovider.search that return Restriction
 Restriction Search.getRestrictionByProperties(String[] properties)
          Finds if there are any search restrictions with one of the given properties, if so it returns the first of the found restriction, otherwise returns null
 Restriction Search.getRestrictionByProperty(String property)
          Convenient method to find restrictions by their property, if there happens to be more than one restriction with a property then only the first one will be returned (since that is an invalid state)
 Restriction[] Search.getRestrictions()
          Restrictions define limitations on the results of a search, e.g. propertyA > 100 or property B = 'jump'
You can add as many restrictions as you like and they will be applied in the array order
 

Methods in org.sakaiproject.entitybroker.entityprovider.search with parameters of type Restriction
 void Search.addRestriction(Restriction restriction)
           
 void Search.setRestrictions(Restriction[] restrictions)
           
 

Constructors in org.sakaiproject.entitybroker.entityprovider.search with parameters of type Restriction
Search(Restriction restriction)
          Defines a search which defines only a single restriction, defaults to AND restriction comparison and returning all results
Search(Restriction[] restrictions)
          Defines a search which defines only restrictions, defaults to AND restriction comparisons and returning all results
Search(Restriction[] restrictions, Order order)
          Defines a search which defines restrictions and return ordering, defaults to AND restriction comparisons and returning all results
Search(Restriction[] restrictions, Order[] orders)
          Defines a search which defines restrictions and return ordering, defaults to AND restriction comparisons and returning all results
Search(Restriction[] restrictions, Order[] orders, long start, long limit)
          Defines a search which defines restrictions and return ordering and limits the returns, defaults to AND restriction comparisons
Search(Restriction[] restrictions, Order[] orders, long start, long limit, boolean conjunction)
          Defines a search which defines restrictions and return ordering and limits the returns, also specifies the types of restriction comparisons (AND or OR)
Search(Restriction[] restrictions, Order order, long start, long limit)
          Defines a search which defines restrictions and return ordering and limits the returns, defaults to AND restriction comparisons
Search(Restriction[] restrictions, Order order, long start, long limit, boolean conjunction)
          Defines a search which defines restrictions and return ordering and limits the returns, also specifies the types of restriction comparisons (AND or OR)
Search(Restriction restriction, Order order)
          Defines a search which defines only a single restriction and returns all items, defaults to AND restriction comparisons
Search(Restriction restriction, Order order, long start, long limit)
          Defines a search which defines only a single restriction and limits the returns, defaults to AND restriction comparisons
 



Copyright © 2007-2012 Sakai Project. All Rights Reserved.