@Service public class ImageServiceImpl extends Object implements ImageService
| Constructor and Description |
|---|
ImageServiceImpl(ImageSecurityService imageSecurityService,
de.digitalcollections.commons.file.business.impl.resolved.ResolvedFileResourceServiceImpl fileResourceService) |
| 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.commons.file.business.impl.resolved.ResolvedFileResourceServiceImpl fileResourceService)
public void readImageInfo(String identifier, de.digitalcollections.iiif.model.image.ImageService info) throws UnsupportedFormatException, UnsupportedOperationException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, IOException
readImageInfo in interface ImageServiceUnsupportedFormatExceptionUnsupportedOperationExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptionIOExceptionpublic void processImage(String identifier, de.digitalcollections.iiif.model.image.ImageApiSelector selector, de.digitalcollections.iiif.model.image.ImageApiProfile profile, OutputStream os) throws InvalidParametersException, UnsupportedOperationException, UnsupportedFormatException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, IOException
processImage in interface ImageServiceInvalidParametersExceptionUnsupportedOperationExceptionUnsupportedFormatExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptionIOExceptionpublic Instant getImageModificationDate(String identifier) throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
getImageModificationDate in interface ImageServicede.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptionpublic 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 © 2019. All rights reserved.