1
22
23 package com.liferay.portlet.imagegallery.service;
24
25
26
50 public interface IGImageService {
51 public com.liferay.portlet.imagegallery.model.IGImage addImage(
52 long folderId, java.lang.String name, java.lang.String description,
53 java.io.File file, java.lang.String contentType,
54 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
55 boolean addGuestPermissions)
56 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portlet.imagegallery.model.IGImage addImage(
60 long folderId, java.lang.String name, java.lang.String description,
61 java.io.File file, java.lang.String contentType,
62 java.lang.String[] tagsEntries,
63 java.lang.String[] communityPermissions,
64 java.lang.String[] guestPermissions)
65 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 public void deleteImage(long imageId)
69 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException;
71
72 public void deleteImageByFolderIdAndNameWithExtension(long folderId,
73 java.lang.String nameWithExtension)
74 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
75 com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
78 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
82 long folderId, java.lang.String nameWithExtension)
83 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
84 com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
87 long largeImageId)
88 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
92 long smallImageId)
93 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
97 long folderId)
98 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException;
100
101 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
102 long imageId, long folderId, java.lang.String name,
103 java.lang.String description, java.io.File file,
104 java.lang.String contentType, java.lang.String[] tagsEntries)
105 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException;
107 }