public interface GalleryProcessor
extends org.apache.wicket.util.io.IClusterable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GALLERY_PROCESSOR_ID |
static String |
GALLERY_PROCESSOR_ID |
Modifier and Type | Method and Description |
---|---|
Dimension |
getDesiredResourceDimension(javax.jcr.Node node) |
default ScalingParameters |
getScalingParameters(javax.jcr.Node variantNode) |
Map<String,ScalingParameters> |
getScalingParametersMap()
Deprecated.
Use
getScalingParameters(Node) instead |
void |
initGalleryResource(javax.jcr.Node node,
InputStream data,
String mimeType,
String fileName,
Calendar lastModified) |
boolean |
isUpscalingEnabled(javax.jcr.Node node)
Deprecated.
Use
ScalingParameters.isUpscaling() instead |
void |
makeImage(javax.jcr.Node node,
InputStream istream,
String mimeType,
String filename) |
static final String GALLERY_PROCESSOR_ID
static final String DEFAULT_GALLERY_PROCESSOR_ID
void makeImage(javax.jcr.Node node, InputStream istream, String mimeType, String filename) throws GalleryException, javax.jcr.RepositoryException
GalleryException
javax.jcr.RepositoryException
void initGalleryResource(javax.jcr.Node node, InputStream data, String mimeType, String fileName, Calendar lastModified) throws GalleryException, javax.jcr.RepositoryException
GalleryException
javax.jcr.RepositoryException
Dimension getDesiredResourceDimension(javax.jcr.Node node) throws GalleryException, javax.jcr.RepositoryException
GalleryException
javax.jcr.RepositoryException
@Deprecated boolean isUpscalingEnabled(javax.jcr.Node node) throws GalleryException, javax.jcr.RepositoryException
ScalingParameters.isUpscaling()
insteadGalleryException
javax.jcr.RepositoryException
@Deprecated Map<String,ScalingParameters> getScalingParametersMap() throws javax.jcr.RepositoryException
getScalingParameters(Node)
insteadjavax.jcr.RepositoryException
default ScalingParameters getScalingParameters(javax.jcr.Node variantNode)
Copyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.