|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Class derived from IResource to allow basic fields for serializationpublic interface SitoolsStore<T extends IResource>
Base class for Store interfaces
| Method Summary | |
|---|---|
T |
create(T resource)
Method for creating a object |
boolean |
delete(java.lang.String id)
Method for deleting a object by its id |
T[] |
getArray()
Method for getting all objects |
T[] |
getArray(ResourceCollectionFilter filter)
Method for getting objects according to the specified filter |
T[] |
getArrayByXQuery(java.lang.String xquery)
Method for getting objects according to the XQuery |
java.util.List<T> |
getList()
Method for getting all objects |
java.util.List<T> |
getList(ResourceCollectionFilter filter)
Method for getting objects with specific criteria |
java.util.List<T> |
getListByXQuery(java.lang.String xquery)
Method for getting objects with XQuery request syntax |
java.util.List<T> |
getPage(ResourceCollectionFilter filter,
java.util.List<T> resources)
Method for getting objects according to the pagination criteria |
T |
retrieve(java.lang.String id)
Method for retrieving a object by its id |
java.util.List<T> |
retrieveByParent(java.lang.String id)
Get the list of object by parent ID |
T |
update(T resource)
Method for updating a object |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
T[] getArray()
T[] getArrayByXQuery(java.lang.String xquery)
xquery - String with XQuery syntax
T[] getArray(ResourceCollectionFilter filter)
filter - criteria (pagination, ...)
java.util.List<T> getList()
java.util.List<T> getList(ResourceCollectionFilter filter)
filter - criteria (pagination, ...)
java.util.List<T> getPage(ResourceCollectionFilter filter,
java.util.List<T> resources)
filter - paginationresources - input
java.util.List<T> getListByXQuery(java.lang.String xquery)
xquery - String
T create(T resource)
resource - input
T retrieve(java.lang.String id)
id - project identifier
T update(T resource)
resource - input
boolean delete(java.lang.String id)
id - object identifier
java.util.List<T> retrieveByParent(java.lang.String id)
id - the parent ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||