001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * The base model interface for the Repository service. Represents a row in the "Repository" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.RepositoryModelImpl} 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.portal.model.impl.RepositoryImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see Repository
036     * @see com.liferay.portal.model.impl.RepositoryImpl
037     * @see com.liferay.portal.model.impl.RepositoryModelImpl
038     * @generated
039     */
040    public interface RepositoryModel extends BaseModel<Repository>,
041            StagedGroupedModel, TypedModel {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a repository model instance should use the {@link Repository} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this repository.
050             *
051             * @return the primary key of this repository
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this repository.
057             *
058             * @param primaryKey the primary key of this repository
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the uuid of this repository.
064             *
065             * @return the uuid of this repository
066             */
067            @AutoEscape
068            @Override
069            public String getUuid();
070    
071            /**
072             * Sets the uuid of this repository.
073             *
074             * @param uuid the uuid of this repository
075             */
076            @Override
077            public void setUuid(String uuid);
078    
079            /**
080             * Returns the repository ID of this repository.
081             *
082             * @return the repository ID of this repository
083             */
084            public long getRepositoryId();
085    
086            /**
087             * Sets the repository ID of this repository.
088             *
089             * @param repositoryId the repository ID of this repository
090             */
091            public void setRepositoryId(long repositoryId);
092    
093            /**
094             * Returns the group ID of this repository.
095             *
096             * @return the group ID of this repository
097             */
098            @Override
099            public long getGroupId();
100    
101            /**
102             * Sets the group ID of this repository.
103             *
104             * @param groupId the group ID of this repository
105             */
106            @Override
107            public void setGroupId(long groupId);
108    
109            /**
110             * Returns the company ID of this repository.
111             *
112             * @return the company ID of this repository
113             */
114            @Override
115            public long getCompanyId();
116    
117            /**
118             * Sets the company ID of this repository.
119             *
120             * @param companyId the company ID of this repository
121             */
122            @Override
123            public void setCompanyId(long companyId);
124    
125            /**
126             * Returns the user ID of this repository.
127             *
128             * @return the user ID of this repository
129             */
130            @Override
131            public long getUserId();
132    
133            /**
134             * Sets the user ID of this repository.
135             *
136             * @param userId the user ID of this repository
137             */
138            @Override
139            public void setUserId(long userId);
140    
141            /**
142             * Returns the user uuid of this repository.
143             *
144             * @return the user uuid of this repository
145             * @throws SystemException if a system exception occurred
146             */
147            @Override
148            public String getUserUuid() throws SystemException;
149    
150            /**
151             * Sets the user uuid of this repository.
152             *
153             * @param userUuid the user uuid of this repository
154             */
155            @Override
156            public void setUserUuid(String userUuid);
157    
158            /**
159             * Returns the user name of this repository.
160             *
161             * @return the user name of this repository
162             */
163            @AutoEscape
164            @Override
165            public String getUserName();
166    
167            /**
168             * Sets the user name of this repository.
169             *
170             * @param userName the user name of this repository
171             */
172            @Override
173            public void setUserName(String userName);
174    
175            /**
176             * Returns the create date of this repository.
177             *
178             * @return the create date of this repository
179             */
180            @Override
181            public Date getCreateDate();
182    
183            /**
184             * Sets the create date of this repository.
185             *
186             * @param createDate the create date of this repository
187             */
188            @Override
189            public void setCreateDate(Date createDate);
190    
191            /**
192             * Returns the modified date of this repository.
193             *
194             * @return the modified date of this repository
195             */
196            @Override
197            public Date getModifiedDate();
198    
199            /**
200             * Sets the modified date of this repository.
201             *
202             * @param modifiedDate the modified date of this repository
203             */
204            @Override
205            public void setModifiedDate(Date modifiedDate);
206    
207            /**
208             * Returns the fully qualified class name of this repository.
209             *
210             * @return the fully qualified class name of this repository
211             */
212            @Override
213            public String getClassName();
214    
215            public void setClassName(String className);
216    
217            /**
218             * Returns the class name ID of this repository.
219             *
220             * @return the class name ID of this repository
221             */
222            @Override
223            public long getClassNameId();
224    
225            /**
226             * Sets the class name ID of this repository.
227             *
228             * @param classNameId the class name ID of this repository
229             */
230            @Override
231            public void setClassNameId(long classNameId);
232    
233            /**
234             * Returns the name of this repository.
235             *
236             * @return the name of this repository
237             */
238            @AutoEscape
239            public String getName();
240    
241            /**
242             * Sets the name of this repository.
243             *
244             * @param name the name of this repository
245             */
246            public void setName(String name);
247    
248            /**
249             * Returns the description of this repository.
250             *
251             * @return the description of this repository
252             */
253            @AutoEscape
254            public String getDescription();
255    
256            /**
257             * Sets the description of this repository.
258             *
259             * @param description the description of this repository
260             */
261            public void setDescription(String description);
262    
263            /**
264             * Returns the portlet ID of this repository.
265             *
266             * @return the portlet ID of this repository
267             */
268            @AutoEscape
269            public String getPortletId();
270    
271            /**
272             * Sets the portlet ID of this repository.
273             *
274             * @param portletId the portlet ID of this repository
275             */
276            public void setPortletId(String portletId);
277    
278            /**
279             * Returns the type settings of this repository.
280             *
281             * @return the type settings of this repository
282             */
283            @AutoEscape
284            public String getTypeSettings();
285    
286            /**
287             * Sets the type settings of this repository.
288             *
289             * @param typeSettings the type settings of this repository
290             */
291            public void setTypeSettings(String typeSettings);
292    
293            /**
294             * Returns the dl folder ID of this repository.
295             *
296             * @return the dl folder ID of this repository
297             */
298            public long getDlFolderId();
299    
300            /**
301             * Sets the dl folder ID of this repository.
302             *
303             * @param dlFolderId the dl folder ID of this repository
304             */
305            public void setDlFolderId(long dlFolderId);
306    
307            @Override
308            public boolean isNew();
309    
310            @Override
311            public void setNew(boolean n);
312    
313            @Override
314            public boolean isCachedModel();
315    
316            @Override
317            public void setCachedModel(boolean cachedModel);
318    
319            @Override
320            public boolean isEscapedModel();
321    
322            @Override
323            public Serializable getPrimaryKeyObj();
324    
325            @Override
326            public void setPrimaryKeyObj(Serializable primaryKeyObj);
327    
328            @Override
329            public ExpandoBridge getExpandoBridge();
330    
331            @Override
332            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
333    
334            @Override
335            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
336    
337            @Override
338            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
339    
340            @Override
341            public Object clone();
342    
343            @Override
344            public int compareTo(Repository repository);
345    
346            @Override
347            public int hashCode();
348    
349            @Override
350            public CacheModel<Repository> toCacheModel();
351    
352            @Override
353            public Repository toEscapedModel();
354    
355            @Override
356            public Repository toUnescapedModel();
357    
358            @Override
359            public String toString();
360    
361            @Override
362            public String toXmlString();
363    }