com.liferay.portal.service
Class ImageLocalServiceUtil
java.lang.Object
com.liferay.portal.service.ImageLocalServiceUtil
public class ImageLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portal.service.ImageLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
com.liferay.portal.service.ImageLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
ImageLocalService
,
ImageLocalServiceFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageLocalServiceUtil
public ImageLocalServiceUtil()
addImage
public static Image addImage(Image image)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteImage
public static void deleteImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImage
public static void deleteImage(Image image)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<Image> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<Image> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImage
public static Image updateImage(Image image)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImage
public static Image getImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImages
public static java.util.List<Image> getImages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
public static java.util.List<Image> getImages(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImagesBySize
public static java.util.List<Image> getImagesBySize(int size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImage
public static Image updateImage(long imageId,
byte[] bytes,
java.lang.String type,
int height,
int width,
int size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException