|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ImageLocalService
This interface defines the service. The default implementation is
ImageLocalServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
ImageLocalServiceUtil| Method Detail |
|---|
Image addImage(Image image)
throws SystemException
SystemExceptionImage createImage(long imageId)
void deleteImage(long imageId)
throws PortalException,
SystemException
PortalException
SystemException
void deleteImage(Image image)
throws SystemException
SystemException
List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemException
List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemException
List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemException
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getImage(long imageId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Image> getImages(int start,
int end)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getImagesCount()
throws SystemException
SystemException
Image updateImage(Image image)
throws SystemException
SystemException
Image updateImage(Image image,
boolean merge)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getCompanyLogo(long imageId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getDefaultCompanyLogo()
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getDefaultOrganizationLogo()
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getDefaultSpacer()
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getDefaultUserFemalePortrait()
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getDefaultUserMalePortrait()
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getImage(byte[] bytes)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getImage(File file)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getImage(InputStream is)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Image getImageOrDefault(long imageId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Image> getImages()
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Image> getImagesBySize(int size)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean isNullOrDefaultSpacer(byte[] bytes)
Image updateImage(long imageId,
byte[] bytes)
throws PortalException,
SystemException
PortalException
SystemException
Image updateImage(long imageId,
File file)
throws PortalException,
SystemException
PortalException
SystemException
Image updateImage(long imageId,
InputStream is)
throws PortalException,
SystemException
PortalException
SystemException
Image updateImage(long imageId,
byte[] bytes,
String type,
int height,
int width,
int size)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||