|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.persistence.Paginable<T>
fr.cnes.sitools.common.store.SitoolsStoreXML<FilterModel>
fr.cnes.sitools.plugins.filters.FilterPluginStoreXML
public final class FilterPluginStoreXML
Storage for filter plugins
| Constructor Summary | |
|---|---|
FilterPluginStoreXML(org.restlet.Context context)
Default constructor |
|
FilterPluginStoreXML(java.io.File location,
org.restlet.Context context)
Constructor with the XML file location |
|
| Method Summary | |
|---|---|
java.lang.String |
getCollectionName()
Method to implement for collection name |
void |
init(java.io.File location)
Initialization with location method to override |
java.util.List<FilterModel> |
retrieveByParent(java.lang.String id)
Get the list of filters |
FilterModel |
update(FilterModel filter)
Method for updating a object |
| Methods inherited from class fr.cnes.sitools.common.store.SitoolsStoreXML |
|---|
create, delete, getArray, getArray, getArrayByXQuery, getList, retrieve, sort |
| Methods inherited from class fr.cnes.sitools.persistence.Paginable |
|---|
close, getList, getListByXQuery, getLog, getPage, getPaginableClass, getRawList, init, setList |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.cnes.sitools.common.store.SitoolsStore |
|---|
getList, getListByXQuery, getPage |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Constructor Detail |
|---|
public FilterPluginStoreXML(org.restlet.Context context)
context - the Restlet Context
public FilterPluginStoreXML(java.io.File location,
org.restlet.Context context)
location - directory of FilePersistenceStrategycontext - the Restlet Context| Method Detail |
|---|
public void init(java.io.File location)
Paginable
init in class Paginable<FilterModel>location - the file locationpublic FilterModel update(FilterModel filter)
SitoolsStore
filter - input
public java.util.List<FilterModel> retrieveByParent(java.lang.String id)
id - the parent id
public java.lang.String getCollectionName()
SitoolsStoreXML
getCollectionName in class SitoolsStoreXML<FilterModel>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||