Uses of Class
de.narimo.georepo.server.api.documents.DocumentType
-
Packages that use DocumentType Package Description de.narimo.georepo.server.api.documents de.narimo.georepo.server.repository -
-
Uses of DocumentType in de.narimo.georepo.server.api.documents
Methods in de.narimo.georepo.server.api.documents that return DocumentType Modifier and Type Method Description static DocumentTypeDocumentType. valueOf(String name)Returns the enum constant of this type with the specified name.static DocumentType[]DocumentType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.narimo.georepo.server.api.documents with parameters of type DocumentType Modifier and Type Method Description voidImageAndDocumentService. acceptImageOrDocument(javax.servlet.ServletContext ctx, int layerId, int gfid, String diffDocumentFilename, String workspace, DocumentType documentType)intImageAndDocumentService. addImageOrDocument(javax.servlet.ServletContext ctx, de.narimo.commons.dto.User user, String workspace, InputStream fileInputStream, String filename, int layerId, int gfid, DocumentType documentType, String description)voidImageAndDocumentService. declineImageOrDocument(javax.servlet.ServletContext ctx, int layerId, int gfid, String diffDocumentFilename, String workspace, DocumentType documentType)byte[]ImageAndDocumentService. getDiffFeatureImageOrDocument(javax.servlet.ServletContext ctx, String workspace, int layerId, int gfid, String filename, DocumentType documentType)byte[]ImageAndDocumentService. getFeatureImageOrDocument(javax.servlet.ServletContext ctx, String workspace, int layerId, int gfid, String filename, DocumentType documentType)List<FeatureDocument>ImageAndDocumentService. getFeatureImagesOrDocuments(de.narimo.commons.dto.User user, String workspace, int layerId, int gfid, DocumentType documentType)List<FeatureDocument>ImageAndDocumentService. getUnreviewedImagesOrDocuments(de.narimo.commons.dto.User user, String workspace, int layerId, DocumentType documentType)booleanImageAndDocumentService. isAllowedFileType(String fileType, DocumentType documentType)Checks a simple file type like png, jpg for being valid. -
Uses of DocumentType in de.narimo.georepo.server.repository
Methods in de.narimo.georepo.server.repository with parameters of type DocumentType Modifier and Type Method Description static StringImageOrDocumentRepository. acceptNewImageOrDocument(String imagesTable, String diffImagesTable, int gfid, String diffDocumentFilename, DocumentType documentType)Accept an image from an images diff table.static StringImageOrDocumentRepository. declineNewImageOrDocument(String imagesTable, String diffImagesTable, int gfid, String diffDocumentFilename, DocumentType documentType)static List<FeatureDocument>ImageOrDocumentRepository. getFeatureImagesOrDocuemnts(de.narimo.commons.dto.User requestingUser, String workspace, int layerId, int gfid, DocumentType documentType)Retrieves a list of documents with related information for each feature.static List<FeatureDocument>ImageOrDocumentRepository. getUnreviewedImagesOrDocuments(de.narimo.commons.dto.User requestingUser, String workspace, int layerId, DocumentType documentType)static intImageOrDocumentRepository. insertUnreviewedImage(int layerId, Integer userId, int gfid, String generatedFilename, DocumentType documentType, String description)Inserts a new image and returns its id.
-