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