Class UploadHelper
java.lang.Object
org.tailormap.api.persistence.helper.UploadHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrlForImage(String imageId, UploadCategory category) getUrlForImage(UUID imageId, UploadCategory category) getUrlForLayerAttachedImage(UUID imageId, UploadCategory category, Application application, String layerId) Returns the URL for a layer-attached image e.g. a legend image, or null if the imageId is null or not found.
-
Constructor Details
-
UploadHelper
-
-
Method Details
-
getUrlForImage
-
getUrlForImage
-
getUrlForLayerAttachedImage
public String getUrlForLayerAttachedImage(UUID imageId, UploadCategory category, Application application, String layerId) Returns the URL for a layer-attached image e.g. a legend image, or null if the imageId is null or not found.- Parameters:
imageId- the id of the imagecategory- the category of the image, e.g. LEGENDapplication- the application the image is attached tolayerId- the id of the layer the image is attached to- Returns:
- the URL for the layer-attached image or null
-