Package org.cyclos.impl.system
Interface ImageHandler
-
public interface ImageHandlerGeneral handler for images
-
-
Field Summary
Fields Modifier and Type Field Description static intKEY_LENGTHThe URL key length
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageVObuild(com.querydsl.core.Tuple tuple, QImage image)Builds anImageVOfrom a tuple and base pathImageVObuild(Long id, String name, Boolean convertedToJpeg, String contentType, Integer width, Integer height, Integer length, String key, Date lastModified)Builds anImageVOfrom specific fieldsStringnewKey()Returns a new URL key that is not used by any other imageList<com.querydsl.core.types.Path<?>>projection(QImage image)Returns a list with all projected fields needed for an image under the given aliasImageVOresolveImage(ImageVO image)List<ImageVO>resolveImages(List<ImageVO> images)
-
-
-
Field Detail
-
KEY_LENGTH
static final int KEY_LENGTH
The URL key length- See Also:
- Constant Field Values
-
-
Method Detail
-
build
ImageVO build(Long id, String name, Boolean convertedToJpeg, String contentType, Integer width, Integer height, Integer length, String key, Date lastModified)
Builds anImageVOfrom specific fields
-
build
ImageVO build(com.querydsl.core.Tuple tuple, QImage image)
Builds anImageVOfrom a tuple and base path
-
newKey
String newKey()
Returns a new URL key that is not used by any other image
-
projection
List<com.querydsl.core.types.Path<?>> projection(QImage image)
Returns a list with all projected fields needed for an image under the given alias
-
-