1
22
23 package com.liferay.portlet.imagegallery.service.persistence;
24
25
31 public interface IGImagePersistence {
32 public com.liferay.portlet.imagegallery.model.IGImage create(long imageId);
33
34 public com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.imagegallery.NoSuchImageException;
37
38 public com.liferay.portlet.imagegallery.model.IGImage remove(
39 com.liferay.portlet.imagegallery.model.IGImage igImage)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.imagegallery.model.IGImage update(
43 com.liferay.portlet.imagegallery.model.IGImage igImage)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.imagegallery.model.IGImage update(
47 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.imagegallery.model.IGImage updateImpl(
51 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(
55 long imageId)
56 throws com.liferay.portal.SystemException,
57 com.liferay.portlet.imagegallery.NoSuchImageException;
58
59 public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(
60 long imageId) throws com.liferay.portal.SystemException;
61
62 public java.util.List findByUuid(java.lang.String uuid)
63 throws com.liferay.portal.SystemException;
64
65 public java.util.List findByUuid(java.lang.String uuid, int begin, int end)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List findByUuid(java.lang.String uuid, int begin, int end,
69 com.liferay.portal.kernel.util.OrderByComparator obc)
70 throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(
73 java.lang.String uuid,
74 com.liferay.portal.kernel.util.OrderByComparator obc)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portlet.imagegallery.NoSuchImageException;
77
78 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(
79 java.lang.String uuid,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.imagegallery.NoSuchImageException;
83
84 public com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(
85 long imageId, java.lang.String uuid,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.imagegallery.NoSuchImageException;
89
90 public java.util.List findByFolderId(long folderId)
91 throws com.liferay.portal.SystemException;
92
93 public java.util.List findByFolderId(long folderId, int begin, int end)
94 throws com.liferay.portal.SystemException;
95
96 public java.util.List findByFolderId(long folderId, int begin, int end,
97 com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(
101 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
102 throws com.liferay.portal.SystemException,
103 com.liferay.portlet.imagegallery.NoSuchImageException;
104
105 public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(
106 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.imagegallery.NoSuchImageException;
109
110 public com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(
111 long imageId, long folderId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.imagegallery.NoSuchImageException;
115
116 public com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(
117 long smallImageId)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.imagegallery.NoSuchImageException;
120
121 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
122 long smallImageId) throws com.liferay.portal.SystemException;
123
124 public com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(
125 long largeImageId)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.imagegallery.NoSuchImageException;
128
129 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
130 long largeImageId) throws com.liferay.portal.SystemException;
131
132 public java.util.List findWithDynamicQuery(
133 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
134 throws com.liferay.portal.SystemException;
135
136 public java.util.List findWithDynamicQuery(
137 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
138 int begin, int end) throws com.liferay.portal.SystemException;
139
140 public java.util.List findAll() throws com.liferay.portal.SystemException;
141
142 public java.util.List findAll(int begin, int end)
143 throws com.liferay.portal.SystemException;
144
145 public java.util.List findAll(int begin, int end,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException;
148
149 public void removeByUuid(java.lang.String uuid)
150 throws com.liferay.portal.SystemException;
151
152 public void removeByFolderId(long folderId)
153 throws com.liferay.portal.SystemException;
154
155 public void removeBySmallImageId(long smallImageId)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.imagegallery.NoSuchImageException;
158
159 public void removeByLargeImageId(long largeImageId)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portlet.imagegallery.NoSuchImageException;
162
163 public void removeAll() throws com.liferay.portal.SystemException;
164
165 public int countByUuid(java.lang.String uuid)
166 throws com.liferay.portal.SystemException;
167
168 public int countByFolderId(long folderId)
169 throws com.liferay.portal.SystemException;
170
171 public int countBySmallImageId(long smallImageId)
172 throws com.liferay.portal.SystemException;
173
174 public int countByLargeImageId(long largeImageId)
175 throws com.liferay.portal.SystemException;
176
177 public int countAll() throws com.liferay.portal.SystemException;
178 }