|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectgrails-app.services.pl.burningice.plugins.image.ImageUploadService
class ImageUploadService
Service for image upload handling
Property Summary | |
---|---|
private def |
actionMapping
Map configuration key to action in this service |
BurningImageService |
burningImageService
|
ContainerWorkerFactory |
containerWorkerFactory
|
ResourcePathProvider |
resourcePathProvider
|
private def |
scaleImage
Performs scaling on image |
boolean |
transactional
|
private def |
watermarkImage
Performs watermarking on image |
Constructor Summary | |
ImageUploadService()
|
Method Summary | |
---|---|
ImageContainer
|
delete(ImageContainer imageContainer, def shouldBeSaved = false)
Allows to delete images associated with specified domain object |
private ImageContainer
|
execute(ImageContainer imageContainer, MultipartFile uploadedImage, groovy.lang.Closure actionWrapper)
Execute actions on image |
private def
|
executeOnImage(def image, def subImageOperations)
Perform specified chain of modification configured by the user |
def
|
save(ImageContainer imageContainer)
Perfrom save/update of image. |
def
|
save(ImageContainer imageContainer, boolean shouldBeSaved)
|
def
|
save(ImageContainer imageContainer, groovy.lang.Closure actionWraper)
|
def
|
save(ImageContainer imageContainer, boolean shouldBeSaved, groovy.lang.Closure actionWraper)
|
Methods inherited from class java.lang.Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
private def actionMapping
BurningImageService burningImageService
ContainerWorkerFactory containerWorkerFactory
ResourcePathProvider resourcePathProvider
private def scaleImage
boolean transactional
private def watermarkImage
Constructor Detail |
---|
ImageUploadService()
Method Detail |
---|
ImageContainer delete(ImageContainer imageContainer, def shouldBeSaved = false)
private ImageContainer execute(ImageContainer imageContainer, MultipartFile uploadedImage, groovy.lang.Closure actionWrapper)
private def executeOnImage(def image, def subImageOperations)
public def save(ImageContainer imageContainer)
public def save(ImageContainer imageContainer, boolean shouldBeSaved)
public def save(ImageContainer imageContainer, groovy.lang.Closure actionWraper)
public def save(ImageContainer imageContainer, boolean shouldBeSaved, groovy.lang.Closure actionWraper)
Groovy Documentation