@Service public class ImageServiceImpl extends Object implements ImageService
| Constructor and Description |
|---|
ImageServiceImpl(ImageSecurityService imageSecurityService,
de.digitalcollections.core.business.api.ResourceService resourceService) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribution() |
Instant |
getImageModificationDate(String identifier) |
String |
getLicense() |
String |
getLogoUrl() |
int |
getMaxHeight() |
int |
getMaxWidth() |
void |
processImage(String identifier,
de.digitalcollections.iiif.model.image.ImageApiSelector selector,
de.digitalcollections.iiif.model.image.ImageApiProfile profile,
OutputStream os) |
void |
readImageInfo(String identifier,
de.digitalcollections.iiif.model.image.ImageService info) |
void |
setAttribution(String attribution) |
void |
setLicense(String license) |
void |
setLogoUrl(String logoUrl) |
void |
setMaxHeight(int maxHeight) |
void |
setMaxWidth(int maxWidth) |
public ImageServiceImpl(@Autowired(required=false)
ImageSecurityService imageSecurityService,
@Autowired
de.digitalcollections.core.business.api.ResourceService resourceService)
public void readImageInfo(String identifier, de.digitalcollections.iiif.model.image.ImageService info) throws UnsupportedFormatException, UnsupportedOperationException, ResourceNotFoundException, IOException
readImageInfo in interface ImageServiceUnsupportedFormatExceptionUnsupportedOperationExceptionResourceNotFoundExceptionIOExceptionpublic void processImage(String identifier, de.digitalcollections.iiif.model.image.ImageApiSelector selector, de.digitalcollections.iiif.model.image.ImageApiProfile profile, OutputStream os) throws InvalidParametersException, UnsupportedOperationException, UnsupportedFormatException, ResourceNotFoundException, IOException
processImage in interface ImageServiceInvalidParametersExceptionUnsupportedOperationExceptionUnsupportedFormatExceptionResourceNotFoundExceptionIOExceptionpublic Instant getImageModificationDate(String identifier) throws ResourceNotFoundException
getImageModificationDate in interface ImageServiceResourceNotFoundExceptionpublic String getLogoUrl()
public void setLogoUrl(String logoUrl)
public String getAttribution()
public void setAttribution(String attribution)
public String getLicense()
public void setLicense(String license)
public int getMaxWidth()
public void setMaxWidth(int maxWidth)
public int getMaxHeight()
public void setMaxHeight(int maxHeight)
Copyright © 2018. All rights reserved.