Interface GalleryProcessor
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
DefaultGalleryProcessor
,NullGalleryProcessor
public interface GalleryProcessor extends org.apache.wicket.util.io.IClusterable
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_GALLERY_PROCESSOR_ID
static String
GALLERY_PROCESSOR_ID
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Dimension
getDesiredResourceDimension(javax.jcr.Node node)
default ScalingParameters
getScalingParameters(javax.jcr.Node variantNode)
Map<String,ScalingParameters>
getScalingParametersMap()
Deprecated.UsegetScalingParameters(Node)
insteadvoid
initGalleryResource(javax.jcr.Node node, InputStream data, String mimeType, String fileName, Calendar lastModified)
boolean
isUpscalingEnabled(javax.jcr.Node node)
Deprecated.UseScalingParameters.isUpscaling()
insteadvoid
makeImage(javax.jcr.Node node, InputStream istream, String mimeType, String filename)
-
-
-
Field Detail
-
GALLERY_PROCESSOR_ID
static final String GALLERY_PROCESSOR_ID
- See Also:
- Constant Field Values
-
DEFAULT_GALLERY_PROCESSOR_ID
static final String DEFAULT_GALLERY_PROCESSOR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeImage
void makeImage(javax.jcr.Node node, InputStream istream, String mimeType, String filename) throws GalleryException, javax.jcr.RepositoryException
- Throws:
GalleryException
javax.jcr.RepositoryException
-
initGalleryResource
void initGalleryResource(javax.jcr.Node node, InputStream data, String mimeType, String fileName, Calendar lastModified) throws GalleryException, javax.jcr.RepositoryException
- Throws:
GalleryException
javax.jcr.RepositoryException
-
getDesiredResourceDimension
Dimension getDesiredResourceDimension(javax.jcr.Node node) throws GalleryException, javax.jcr.RepositoryException
- Throws:
GalleryException
javax.jcr.RepositoryException
-
isUpscalingEnabled
@Deprecated boolean isUpscalingEnabled(javax.jcr.Node node) throws GalleryException, javax.jcr.RepositoryException
Deprecated.UseScalingParameters.isUpscaling()
instead- Throws:
GalleryException
javax.jcr.RepositoryException
-
getScalingParametersMap
@Deprecated Map<String,ScalingParameters> getScalingParametersMap() throws javax.jcr.RepositoryException
Deprecated.UsegetScalingParameters(Node)
instead- Throws:
javax.jcr.RepositoryException
-
getScalingParameters
default ScalingParameters getScalingParameters(javax.jcr.Node variantNode)
-
-