@Service public class DocumentManager extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentManager.DocumentInfo |
| Constructor and Description |
|---|
DocumentManager() |
| Modifier and Type | Method and Description |
|---|---|
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
allDocuments() |
List<DocumentManager.DocumentInfo> |
allDocumentsInfo() |
Map<String,String> |
attributeDocuments(Map<String,String> values) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
findByCreator(String name) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
findByCreatorAndCustomer(String name,
String customerName) |
List<DocumentManager.DocumentInfo> |
findByCreatorAndCustomerInfo(String name,
String customerName) |
List<DocumentManager.DocumentInfo> |
findByCreatorInfo(String name) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
findByCustomer(String customerName) |
List<DocumentManager.DocumentInfo> |
findByCustomerInfo(String customerName) |
gr.cite.geoanalytics.dataaccess.entities.document.Document |
findById(String id,
boolean loadDetails) |
DocumentManager.DocumentInfo |
findByIdInfo(String id) |
gr.cite.geoanalytics.dataaccess.entities.document.Document |
findByIdSecure(String id,
boolean loadDetails) |
gr.cite.geoanalytics.dataaccess.entities.document.Document |
findByIdSecured(String id,
boolean loadDetails) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
findByProject(UUID projectId) |
List<DocumentManager.DocumentInfo> |
findByProjectInfo(UUID projectId) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
getDocumentsOfProject(UUID projectId) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
getDocumentsOfShape(UUID shapeId) |
List<UUID> |
listDocuments() |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
searchDocuments(List<String> terms) |
List<DocumentManager.DocumentInfo> |
searchDocumentsInfo(List<String> terms) |
List<gr.cite.geoanalytics.dataaccess.entities.document.Document> |
searchDocumentsOfProject(List<String> terms,
UUID projectId) |
void |
setCustomerDao(gr.cite.geoanalytics.dataaccess.entities.tenant.dao.TenantDao tenantDao) |
void |
setDataRepository(GeocodeManager taxonomyManager,
ConfigurationManager configurationManager) |
void |
setDocumentDao(gr.cite.geoanalytics.dataaccess.entities.document.dao.DocumentDao documentDao) |
void |
setLayerDao(gr.cite.geoanalytics.dataaccess.entities.layer.dao.LayerDao layerDao) |
void |
setMimeTypeDao(gr.cite.geoanalytics.dataaccess.entities.mimetype.dao.MimeTypeDao mimeTypeDao) |
void |
setPrincipalDao(gr.cite.geoanalytics.dataaccess.entities.security.principal.dao.PrincipalDao principalDao) |
void |
setProjectDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDao projectDao) |
void |
setProjectDocumentDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDocumentDao projectDocumentDao) |
void |
setShapeDocumentDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDocumentDao shapeDocumentDao) |
void |
update(gr.cite.geoanalytics.dataaccess.entities.document.Document d) |
@Inject public void setDataRepository(GeocodeManager taxonomyManager, ConfigurationManager configurationManager)
@Inject public void setPrincipalDao(gr.cite.geoanalytics.dataaccess.entities.security.principal.dao.PrincipalDao principalDao)
@Inject public void setCustomerDao(gr.cite.geoanalytics.dataaccess.entities.tenant.dao.TenantDao tenantDao)
@Inject public void setDocumentDao(gr.cite.geoanalytics.dataaccess.entities.document.dao.DocumentDao documentDao)
@Inject public void setLayerDao(gr.cite.geoanalytics.dataaccess.entities.layer.dao.LayerDao layerDao)
@Inject public void setProjectDocumentDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDocumentDao projectDocumentDao)
@Inject public void setShapeDocumentDao(gr.cite.geoanalytics.dataaccess.entities.shape.dao.ShapeDocumentDao shapeDocumentDao)
@Inject public void setProjectDao(gr.cite.geoanalytics.dataaccess.entities.project.dao.ProjectDao projectDao)
@Inject public void setMimeTypeDao(gr.cite.geoanalytics.dataaccess.entities.mimetype.dao.MimeTypeDao mimeTypeDao)
@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.entities.document.Document findById(String id, boolean loadDetails) throws Exception
Exception@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.entities.document.Document findByIdSecure(String id, boolean loadDetails) throws UnauthorizedOperationException, Exception
@Transactional(readOnly=true) public gr.cite.geoanalytics.dataaccess.entities.document.Document findByIdSecured(String id, boolean loadDetails) throws UnauthorizedOperationException, Exception
@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> allDocuments() throws Exception
Exception@Transactional(readOnly=true) public List<DocumentManager.DocumentInfo> allDocumentsInfo() throws Exception
Exception@Transactional(readOnly=true) public DocumentManager.DocumentInfo findByIdInfo(String id) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> findByCreatorAndCustomer(String name, String customerName) throws Exception
Exception@Transactional(readOnly=true) public List<DocumentManager.DocumentInfo> findByCreatorAndCustomerInfo(String name, String customerName) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> findByCreator(String name) throws Exception
Exception@Transactional(readOnly=true) public List<DocumentManager.DocumentInfo> findByCreatorInfo(String name) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> findByCustomer(String customerName) throws Exception
Exception@Transactional(readOnly=true) public List<DocumentManager.DocumentInfo> findByCustomerInfo(String customerName) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> findByProject(UUID projectId) throws Exception
Exception@Transactional(readOnly=true) public List<DocumentManager.DocumentInfo> findByProjectInfo(UUID projectId) throws Exception
Exception@Transactional
public void update(gr.cite.geoanalytics.dataaccess.entities.document.Document d)
throws Exception
Exception@Transactional(readOnly=true) public List<UUID> listDocuments() throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> getDocumentsOfProject(UUID projectId) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> getDocumentsOfShape(UUID shapeId) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> searchDocuments(List<String> terms) throws Exception
Exception@Transactional(readOnly=true) public List<DocumentManager.DocumentInfo> searchDocumentsInfo(List<String> terms) throws Exception
Exception@Transactional(readOnly=true) public List<gr.cite.geoanalytics.dataaccess.entities.document.Document> searchDocumentsOfProject(List<String> terms, UUID projectId) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.