Package org.gluu.oxtrust.service
Class ImageService
- java.lang.Object
-
- org.gluu.oxtrust.service.ImageService
-
@Named("imageService") @ApplicationScoped public class ImageService extends java.lang.Object
Service class to work with images in photo repository- Author:
- Yuriy Movchan Date: 11.04.2010
-
-
Constructor Summary
Constructors Constructor Description ImageService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gluu.model.GluuImage
constructImage(GluuCustomPerson creator, org.richfaces.model.UploadedFile uploadedFile)
org.gluu.model.GluuImage
constructImageWithThumbnail(GluuCustomPerson creator, org.richfaces.model.UploadedFile uploadedFile, int thumbWidth, int thumbHeight)
byte[]
getBlankIconData()
byte[]
getBlankImageData()
byte[]
getBlankPhotoData()
byte[]
getImageDate(org.richfaces.model.UploadedFile uploadedFile)
boolean
isIconImage(org.gluu.model.GluuImage image)
-
-
-
Method Detail
-
constructImage
public org.gluu.model.GluuImage constructImage(GluuCustomPerson creator, org.richfaces.model.UploadedFile uploadedFile)
-
constructImageWithThumbnail
public org.gluu.model.GluuImage constructImageWithThumbnail(GluuCustomPerson creator, org.richfaces.model.UploadedFile uploadedFile, int thumbWidth, int thumbHeight)
-
getBlankImageData
public byte[] getBlankImageData()
-
getBlankPhotoData
public byte[] getBlankPhotoData()
-
getBlankIconData
public byte[] getBlankIconData()
-
isIconImage
public boolean isIconImage(org.gluu.model.GluuImage image)
-
getImageDate
public byte[] getImageDate(org.richfaces.model.UploadedFile uploadedFile)
-
-