001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.imagegallery.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.model.GroupedModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    
030    /**
031     * The base model interface for the IGImage service. Represents a row in the "IGImage" database table, with each column mapped to a property of this class.
032     *
033     * <p>
034     * This interface and its corresponding implementation {@link com.liferay.portlet.imagegallery.model.impl.IGImageModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.imagegallery.model.impl.IGImageImpl}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see IGImage
039     * @see com.liferay.portlet.imagegallery.model.impl.IGImageImpl
040     * @see com.liferay.portlet.imagegallery.model.impl.IGImageModelImpl
041     * @generated
042     */
043    public interface IGImageModel extends BaseModel<IGImage>, GroupedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a i g image model instance should use the {@link IGImage} interface instead.
048             */
049    
050            /**
051             * Gets the primary key of this i g image.
052             *
053             * @return the primary key of this i g image
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this i g image
059             *
060             * @param primaryKey the primary key of this i g image
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Gets the uuid of this i g image.
066             *
067             * @return the uuid of this i g image
068             */
069            @AutoEscape
070            public String getUuid();
071    
072            /**
073             * Sets the uuid of this i g image.
074             *
075             * @param uuid the uuid of this i g image
076             */
077            public void setUuid(String uuid);
078    
079            /**
080             * Gets the image ID of this i g image.
081             *
082             * @return the image ID of this i g image
083             */
084            public long getImageId();
085    
086            /**
087             * Sets the image ID of this i g image.
088             *
089             * @param imageId the image ID of this i g image
090             */
091            public void setImageId(long imageId);
092    
093            /**
094             * Gets the group ID of this i g image.
095             *
096             * @return the group ID of this i g image
097             */
098            public long getGroupId();
099    
100            /**
101             * Sets the group ID of this i g image.
102             *
103             * @param groupId the group ID of this i g image
104             */
105            public void setGroupId(long groupId);
106    
107            /**
108             * Gets the company ID of this i g image.
109             *
110             * @return the company ID of this i g image
111             */
112            public long getCompanyId();
113    
114            /**
115             * Sets the company ID of this i g image.
116             *
117             * @param companyId the company ID of this i g image
118             */
119            public void setCompanyId(long companyId);
120    
121            /**
122             * Gets the user ID of this i g image.
123             *
124             * @return the user ID of this i g image
125             */
126            public long getUserId();
127    
128            /**
129             * Sets the user ID of this i g image.
130             *
131             * @param userId the user ID of this i g image
132             */
133            public void setUserId(long userId);
134    
135            /**
136             * Gets the user uuid of this i g image.
137             *
138             * @return the user uuid of this i g image
139             * @throws SystemException if a system exception occurred
140             */
141            public String getUserUuid() throws SystemException;
142    
143            /**
144             * Sets the user uuid of this i g image.
145             *
146             * @param userUuid the user uuid of this i g image
147             */
148            public void setUserUuid(String userUuid);
149    
150            /**
151             * Gets the user name of this i g image.
152             *
153             * @return the user name of this i g image
154             */
155            @AutoEscape
156            public String getUserName();
157    
158            /**
159             * Sets the user name of this i g image.
160             *
161             * @param userName the user name of this i g image
162             */
163            public void setUserName(String userName);
164    
165            /**
166             * Gets the create date of this i g image.
167             *
168             * @return the create date of this i g image
169             */
170            public Date getCreateDate();
171    
172            /**
173             * Sets the create date of this i g image.
174             *
175             * @param createDate the create date of this i g image
176             */
177            public void setCreateDate(Date createDate);
178    
179            /**
180             * Gets the modified date of this i g image.
181             *
182             * @return the modified date of this i g image
183             */
184            public Date getModifiedDate();
185    
186            /**
187             * Sets the modified date of this i g image.
188             *
189             * @param modifiedDate the modified date of this i g image
190             */
191            public void setModifiedDate(Date modifiedDate);
192    
193            /**
194             * Gets the folder ID of this i g image.
195             *
196             * @return the folder ID of this i g image
197             */
198            public long getFolderId();
199    
200            /**
201             * Sets the folder ID of this i g image.
202             *
203             * @param folderId the folder ID of this i g image
204             */
205            public void setFolderId(long folderId);
206    
207            /**
208             * Gets the name of this i g image.
209             *
210             * @return the name of this i g image
211             */
212            @AutoEscape
213            public String getName();
214    
215            /**
216             * Sets the name of this i g image.
217             *
218             * @param name the name of this i g image
219             */
220            public void setName(String name);
221    
222            /**
223             * Gets the description of this i g image.
224             *
225             * @return the description of this i g image
226             */
227            @AutoEscape
228            public String getDescription();
229    
230            /**
231             * Sets the description of this i g image.
232             *
233             * @param description the description of this i g image
234             */
235            public void setDescription(String description);
236    
237            /**
238             * Gets the small image ID of this i g image.
239             *
240             * @return the small image ID of this i g image
241             */
242            public long getSmallImageId();
243    
244            /**
245             * Sets the small image ID of this i g image.
246             *
247             * @param smallImageId the small image ID of this i g image
248             */
249            public void setSmallImageId(long smallImageId);
250    
251            /**
252             * Gets the large image ID of this i g image.
253             *
254             * @return the large image ID of this i g image
255             */
256            public long getLargeImageId();
257    
258            /**
259             * Sets the large image ID of this i g image.
260             *
261             * @param largeImageId the large image ID of this i g image
262             */
263            public void setLargeImageId(long largeImageId);
264    
265            /**
266             * Gets the custom1 image ID of this i g image.
267             *
268             * @return the custom1 image ID of this i g image
269             */
270            public long getCustom1ImageId();
271    
272            /**
273             * Sets the custom1 image ID of this i g image.
274             *
275             * @param custom1ImageId the custom1 image ID of this i g image
276             */
277            public void setCustom1ImageId(long custom1ImageId);
278    
279            /**
280             * Gets the custom2 image ID of this i g image.
281             *
282             * @return the custom2 image ID of this i g image
283             */
284            public long getCustom2ImageId();
285    
286            /**
287             * Sets the custom2 image ID of this i g image.
288             *
289             * @param custom2ImageId the custom2 image ID of this i g image
290             */
291            public void setCustom2ImageId(long custom2ImageId);
292    
293            public boolean isNew();
294    
295            public void setNew(boolean n);
296    
297            public boolean isCachedModel();
298    
299            public void setCachedModel(boolean cachedModel);
300    
301            public boolean isEscapedModel();
302    
303            public void setEscapedModel(boolean escapedModel);
304    
305            public Serializable getPrimaryKeyObj();
306    
307            public void setPrimaryKeyObj(Serializable primaryKeyObj);
308    
309            public ExpandoBridge getExpandoBridge();
310    
311            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
312    
313            public Object clone();
314    
315            public int compareTo(IGImage igImage);
316    
317            public int hashCode();
318    
319            public CacheModel<IGImage> toCacheModel();
320    
321            public IGImage toEscapedModel();
322    
323            public String toString();
324    
325            public String toXmlString();
326    }