public class ConcessioniMongoManager extends MongoManager
client, collection, ID| Constructor and Description |
|---|
ConcessioniMongoManager() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.gcube.application.geoportal.common.model.legacy.Concessione |
asConcessione(org.bson.Document d) |
protected static org.bson.Document |
asDocument(org.gcube.application.geoportal.common.model.legacy.Concessione c) |
void |
deleteById(String id,
boolean force) |
org.gcube.application.geoportal.common.model.legacy.Concessione |
getById(String id) |
Iterable<org.gcube.application.geoportal.common.model.legacy.Concessione> |
list() |
protected String |
mongoIDFieldName() |
org.gcube.application.geoportal.common.model.legacy.Concessione |
persistContent(String id,
String destinationPath,
List<org.gcube.application.geoportal.common.model.rest.TempFile> files) |
org.gcube.application.geoportal.common.model.legacy.Concessione |
publish(String id) |
Iterable<org.bson.Document> |
query(org.gcube.application.geoportal.common.model.rest.QueryRequest queryRequest) |
org.gcube.application.geoportal.common.model.legacy.Concessione |
registerNew(org.gcube.application.geoportal.common.model.legacy.Concessione toRegister)
PUBLIC METHODS
|
org.gcube.application.geoportal.common.model.legacy.Concessione |
replace(org.gcube.application.geoportal.common.model.legacy.Concessione toRegister) |
Iterable<org.gcube.application.geoportal.common.model.legacy.Concessione> |
search(org.bson.Document filter) |
org.gcube.application.geoportal.common.model.legacy.Concessione |
unpublish(String id) |
org.gcube.application.geoportal.common.model.legacy.Concessione |
unregisterFileset(String id,
String toClearPath) |
asDoc, asId, asString, asString, deleteDoc, getDocById, getDocById, init, insertDoc, iterateDoc, queryDoc, replaceDoc, updateDocpublic ConcessioniMongoManager()
throws org.gcube.application.geoportal.common.model.rest.ConfigurationException
org.gcube.application.geoportal.common.model.rest.ConfigurationExceptionprotected static org.bson.Document asDocument(org.gcube.application.geoportal.common.model.legacy.Concessione c)
throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionprotected static org.gcube.application.geoportal.common.model.legacy.Concessione asConcessione(org.bson.Document d)
throws com.fasterxml.jackson.core.JsonProcessingException,
IOException
com.fasterxml.jackson.core.JsonProcessingExceptionIOExceptionprotected String mongoIDFieldName()
mongoIDFieldName in class MongoManagerpublic org.gcube.application.geoportal.common.model.legacy.Concessione registerNew(org.gcube.application.geoportal.common.model.legacy.Concessione toRegister)
throws IOException
IOExceptionpublic org.gcube.application.geoportal.common.model.legacy.Concessione replace(org.gcube.application.geoportal.common.model.legacy.Concessione toRegister)
throws IOException
IOExceptionpublic Iterable<org.gcube.application.geoportal.common.model.legacy.Concessione> list()
public Iterable<org.gcube.application.geoportal.common.model.legacy.Concessione> search(org.bson.Document filter)
public Iterable<org.bson.Document> query(org.gcube.application.geoportal.common.model.rest.QueryRequest queryRequest)
public org.gcube.application.geoportal.common.model.legacy.Concessione getById(String id) throws IOException
IOExceptionpublic void deleteById(String id, boolean force) throws DeletionException
DeletionExceptionpublic org.gcube.application.geoportal.common.model.legacy.Concessione unpublish(String id) throws DeletionException
DeletionExceptionpublic org.gcube.application.geoportal.common.model.legacy.Concessione publish(String id) throws IOException
IOExceptionpublic org.gcube.application.geoportal.common.model.legacy.Concessione unregisterFileset(String id, String toClearPath) throws Exception
ExceptionCopyright © 2022. All Rights Reserved.