Liferay 7.0-ce-a2

com.liferay.portal.kernel.servlet.taglib.ui
Class ImageSelector

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector

public class ImageSelector
extends Object


Constructor Summary
ImageSelector(long imageId)
           
ImageSelector(long imageId, String imageCropRegion)
           
ImageSelector(long imageId, String imageURL, String imageCropRegion)
           
ImageSelector(String imageURL, String imageCropRegion)
           
 
Method Summary
 byte[] getCroppedImageBytes()
           
 String getImageCropRegion()
           
 long getImageId()
           
 String getImageURL()
           
 String getMimeType()
           
 String getTitle()
           
 boolean isCroppedImage()
           
 boolean isRemoveSmallImage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSelector

public ImageSelector(long imageId)

ImageSelector

public ImageSelector(long imageId,
                     String imageCropRegion)

ImageSelector

public ImageSelector(long imageId,
                     String imageURL,
                     String imageCropRegion)

ImageSelector

public ImageSelector(String imageURL,
                     String imageCropRegion)
Method Detail

getCroppedImageBytes

public byte[] getCroppedImageBytes()
                            throws IOException,
                                   PortalException
Throws:
IOException
PortalException

getImageCropRegion

public String getImageCropRegion()

getImageId

public long getImageId()

getImageURL

public String getImageURL()

getMimeType

public String getMimeType()
                   throws PortalException
Throws:
PortalException

getTitle

public String getTitle()
                throws PortalException
Throws:
PortalException

isCroppedImage

public boolean isCroppedImage()

isRemoveSmallImage

public boolean isRemoveSmallImage()

Liferay 7.0-ce-a2