| Class and Description |
|---|
| Search
This is a simple class which allows the passing of a set of search parameters in a nice way
Example usage: Search s1 = new Search("title", curTitle); // search where title equals value of curTitleSearch s2 = new Search("title", curTitle, Restriction.NOT_EQUALS); // search where title not equals value of curTitleSearch s2 = new Search(Most searches can be modeled this way fairly easily. |
| Class and Description |
|---|
| Search
This is a simple class which allows the passing of a set of search parameters in a nice way
Example usage: Search s1 = new Search("title", curTitle); // search where title equals value of curTitleSearch s2 = new Search("title", curTitle, Restriction.NOT_EQUALS); // search where title not equals value of curTitleSearch s2 = new Search(Most searches can be modeled this way fairly easily. |
| Class and Description |
|---|
| Search
This is a simple class which allows the passing of a set of search parameters in a nice way
Example usage: Search s1 = new Search("title", curTitle); // search where title equals value of curTitleSearch s2 = new Search("title", curTitle, Restriction.NOT_EQUALS); // search where title not equals value of curTitleSearch s2 = new Search(Most searches can be modeled this way fairly easily. |
| Class and Description |
|---|
| Order
A simple bean which defines the order to return the results of a search
Example usage: Order ota = new Order("title"); // order by title ascendingOrder otd = new Order("title", false); // order by title descending |
| Restriction
A simple bean which defines a restriction in a search, this is like saying:
where userId = '123'; OR where userId like '%aaronz%';
Example usage: Restriction rteq = new Restriction("title", curTitle); // restrict search to title equals value of curTitleRestriction rtne = new Restriction("title", curTitle, Restriction.NOT_EQUALS); // restrict search to title not equals value of curTitle |
| Search
This is a simple class which allows the passing of a set of search parameters in a nice way
Example usage: Search s1 = new Search("title", curTitle); // search where title equals value of curTitleSearch s2 = new Search("title", curTitle, Restriction.NOT_EQUALS); // search where title not equals value of curTitleSearch s2 = new Search(Most searches can be modeled this way fairly easily. |
Copyright © 2003–2021 Sakai Project. All rights reserved.