Interface MongoConcessioni
-
public interface MongoConcessioni
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConcessionecleanFileSet(String id, String path)ConcessionecreateNew(Concessione c)voiddeleteById(String id)voiddeleteById(String id, Boolean force)ConcessionegetById(String id)ConfigurationgetCurrentConfiguration()Iterator<Concessione>getList()Concessionepublish(String id)Iterator<Concessione>query(QueryRequest request)StringqueryForJSON(QueryRequest request)<T> Iterator<T>queryForType(QueryRequest request, Class<T> clazz)ConcessioneregisterFileSet(String id, AddSectionToConcessioneRequest request)Concessionereplace(Concessione replacement)Iterator<Concessione>search(String filter)voidunPublish(String id)Concessioneupdate(String id, String jsonUpdate)
-
-
-
Method Detail
-
createNew
Concessione createNew(Concessione c) throws Exception
- Throws:
Exception
-
getById
Concessione getById(String id) throws Exception
- Throws:
Exception
-
getList
Iterator<Concessione> getList() throws Exception
- Throws:
Exception
-
publish
Concessione publish(String id) throws Exception
- Throws:
Exception
-
registerFileSet
Concessione registerFileSet(String id, AddSectionToConcessioneRequest request) throws Exception
- Throws:
Exception
-
cleanFileSet
Concessione cleanFileSet(String id, String path) throws Exception
- Throws:
Exception
-
update
Concessione update(String id, String jsonUpdate) throws Exception
- Throws:
Exception
-
replace
Concessione replace(Concessione replacement) throws Exception
- Throws:
Exception
-
getCurrentConfiguration
Configuration getCurrentConfiguration() throws Exception
- Throws:
Exception
-
search
Iterator<Concessione> search(String filter) throws Exception
- Throws:
Exception
-
query
Iterator<Concessione> query(QueryRequest request) throws Exception
- Throws:
Exception
-
queryForJSON
String queryForJSON(QueryRequest request) throws Exception
- Throws:
Exception
-
queryForType
<T> Iterator<T> queryForType(QueryRequest request, Class<T> clazz) throws Exception
- Throws:
Exception
-
-