001    /**
002     * Copyright (c) 2000-2012 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>, GroupedModel {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. All methods that expect a repository model instance should use the {@link Repository} interface instead.
045             */
046    
047            /**
048             * Returns the primary key of this repository.
049             *
050             * @return the primary key of this repository
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this repository.
056             *
057             * @param primaryKey the primary key of this repository
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the uuid of this repository.
063             *
064             * @return the uuid of this repository
065             */
066            @AutoEscape
067            public String getUuid();
068    
069            /**
070             * Sets the uuid of this repository.
071             *
072             * @param uuid the uuid of this repository
073             */
074            public void setUuid(String uuid);
075    
076            /**
077             * Returns the repository ID of this repository.
078             *
079             * @return the repository ID of this repository
080             */
081            public long getRepositoryId();
082    
083            /**
084             * Sets the repository ID of this repository.
085             *
086             * @param repositoryId the repository ID of this repository
087             */
088            public void setRepositoryId(long repositoryId);
089    
090            /**
091             * Returns the group ID of this repository.
092             *
093             * @return the group ID of this repository
094             */
095            public long getGroupId();
096    
097            /**
098             * Sets the group ID of this repository.
099             *
100             * @param groupId the group ID of this repository
101             */
102            public void setGroupId(long groupId);
103    
104            /**
105             * Returns the company ID of this repository.
106             *
107             * @return the company ID of this repository
108             */
109            public long getCompanyId();
110    
111            /**
112             * Sets the company ID of this repository.
113             *
114             * @param companyId the company ID of this repository
115             */
116            public void setCompanyId(long companyId);
117    
118            /**
119             * Returns the user ID of this repository.
120             *
121             * @return the user ID of this repository
122             */
123            public long getUserId();
124    
125            /**
126             * Sets the user ID of this repository.
127             *
128             * @param userId the user ID of this repository
129             */
130            public void setUserId(long userId);
131    
132            /**
133             * Returns the user uuid of this repository.
134             *
135             * @return the user uuid of this repository
136             * @throws SystemException if a system exception occurred
137             */
138            public String getUserUuid() throws SystemException;
139    
140            /**
141             * Sets the user uuid of this repository.
142             *
143             * @param userUuid the user uuid of this repository
144             */
145            public void setUserUuid(String userUuid);
146    
147            /**
148             * Returns the user name of this repository.
149             *
150             * @return the user name of this repository
151             */
152            @AutoEscape
153            public String getUserName();
154    
155            /**
156             * Sets the user name of this repository.
157             *
158             * @param userName the user name of this repository
159             */
160            public void setUserName(String userName);
161    
162            /**
163             * Returns the create date of this repository.
164             *
165             * @return the create date of this repository
166             */
167            public Date getCreateDate();
168    
169            /**
170             * Sets the create date of this repository.
171             *
172             * @param createDate the create date of this repository
173             */
174            public void setCreateDate(Date createDate);
175    
176            /**
177             * Returns the modified date of this repository.
178             *
179             * @return the modified date of this repository
180             */
181            public Date getModifiedDate();
182    
183            /**
184             * Sets the modified date of this repository.
185             *
186             * @param modifiedDate the modified date of this repository
187             */
188            public void setModifiedDate(Date modifiedDate);
189    
190            /**
191             * Returns the fully qualified class name of this repository.
192             *
193             * @return the fully qualified class name of this repository
194             */
195            public String getClassName();
196    
197            /**
198             * Returns the class name ID of this repository.
199             *
200             * @return the class name ID of this repository
201             */
202            public long getClassNameId();
203    
204            /**
205             * Sets the class name ID of this repository.
206             *
207             * @param classNameId the class name ID of this repository
208             */
209            public void setClassNameId(long classNameId);
210    
211            /**
212             * Returns the name of this repository.
213             *
214             * @return the name of this repository
215             */
216            @AutoEscape
217            public String getName();
218    
219            /**
220             * Sets the name of this repository.
221             *
222             * @param name the name of this repository
223             */
224            public void setName(String name);
225    
226            /**
227             * Returns the description of this repository.
228             *
229             * @return the description of this repository
230             */
231            @AutoEscape
232            public String getDescription();
233    
234            /**
235             * Sets the description of this repository.
236             *
237             * @param description the description of this repository
238             */
239            public void setDescription(String description);
240    
241            /**
242             * Returns the portlet ID of this repository.
243             *
244             * @return the portlet ID of this repository
245             */
246            @AutoEscape
247            public String getPortletId();
248    
249            /**
250             * Sets the portlet ID of this repository.
251             *
252             * @param portletId the portlet ID of this repository
253             */
254            public void setPortletId(String portletId);
255    
256            /**
257             * Returns the type settings of this repository.
258             *
259             * @return the type settings of this repository
260             */
261            @AutoEscape
262            public String getTypeSettings();
263    
264            /**
265             * Sets the type settings of this repository.
266             *
267             * @param typeSettings the type settings of this repository
268             */
269            public void setTypeSettings(String typeSettings);
270    
271            /**
272             * Returns the dl folder ID of this repository.
273             *
274             * @return the dl folder ID of this repository
275             */
276            public long getDlFolderId();
277    
278            /**
279             * Sets the dl folder ID of this repository.
280             *
281             * @param dlFolderId the dl folder ID of this repository
282             */
283            public void setDlFolderId(long dlFolderId);
284    
285            public boolean isNew();
286    
287            public void setNew(boolean n);
288    
289            public boolean isCachedModel();
290    
291            public void setCachedModel(boolean cachedModel);
292    
293            public boolean isEscapedModel();
294    
295            public Serializable getPrimaryKeyObj();
296    
297            public void setPrimaryKeyObj(Serializable primaryKeyObj);
298    
299            public ExpandoBridge getExpandoBridge();
300    
301            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
302    
303            public Object clone();
304    
305            public int compareTo(Repository repository);
306    
307            public int hashCode();
308    
309            public CacheModel<Repository> toCacheModel();
310    
311            public Repository toEscapedModel();
312    
313            public String toString();
314    
315            public String toXmlString();
316    }