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>, 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            public void setClassName(String className);
198    
199            /**
200             * Returns the class name ID of this repository.
201             *
202             * @return the class name ID of this repository
203             */
204            public long getClassNameId();
205    
206            /**
207             * Sets the class name ID of this repository.
208             *
209             * @param classNameId the class name ID of this repository
210             */
211            public void setClassNameId(long classNameId);
212    
213            /**
214             * Returns the name of this repository.
215             *
216             * @return the name of this repository
217             */
218            @AutoEscape
219            public String getName();
220    
221            /**
222             * Sets the name of this repository.
223             *
224             * @param name the name of this repository
225             */
226            public void setName(String name);
227    
228            /**
229             * Returns the description of this repository.
230             *
231             * @return the description of this repository
232             */
233            @AutoEscape
234            public String getDescription();
235    
236            /**
237             * Sets the description of this repository.
238             *
239             * @param description the description of this repository
240             */
241            public void setDescription(String description);
242    
243            /**
244             * Returns the portlet ID of this repository.
245             *
246             * @return the portlet ID of this repository
247             */
248            @AutoEscape
249            public String getPortletId();
250    
251            /**
252             * Sets the portlet ID of this repository.
253             *
254             * @param portletId the portlet ID of this repository
255             */
256            public void setPortletId(String portletId);
257    
258            /**
259             * Returns the type settings of this repository.
260             *
261             * @return the type settings of this repository
262             */
263            @AutoEscape
264            public String getTypeSettings();
265    
266            /**
267             * Sets the type settings of this repository.
268             *
269             * @param typeSettings the type settings of this repository
270             */
271            public void setTypeSettings(String typeSettings);
272    
273            /**
274             * Returns the dl folder ID of this repository.
275             *
276             * @return the dl folder ID of this repository
277             */
278            public long getDlFolderId();
279    
280            /**
281             * Sets the dl folder ID of this repository.
282             *
283             * @param dlFolderId the dl folder ID of this repository
284             */
285            public void setDlFolderId(long dlFolderId);
286    
287            public boolean isNew();
288    
289            public void setNew(boolean n);
290    
291            public boolean isCachedModel();
292    
293            public void setCachedModel(boolean cachedModel);
294    
295            public boolean isEscapedModel();
296    
297            public Serializable getPrimaryKeyObj();
298    
299            public void setPrimaryKeyObj(Serializable primaryKeyObj);
300    
301            public ExpandoBridge getExpandoBridge();
302    
303            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
304    
305            public Object clone();
306    
307            public int compareTo(Repository repository);
308    
309            public int hashCode();
310    
311            public CacheModel<Repository> toCacheModel();
312    
313            public Repository toEscapedModel();
314    
315            public Repository toUnescapedModel();
316    
317            public String toString();
318    
319            public String toXmlString();
320    }