001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    import java.util.Date;
027    
028    /**
029     * 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.
030     *
031     * <p>
032     * 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}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see Repository
037     * @see com.liferay.portal.model.impl.RepositoryImpl
038     * @see com.liferay.portal.model.impl.RepositoryModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface RepositoryModel extends BaseModel<Repository>, MVCCModel,
043            ShardedModel, StagedGroupedModel, TypedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a repository model instance should use the {@link Repository} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this repository.
052             *
053             * @return the primary key of this repository
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this repository.
059             *
060             * @param primaryKey the primary key of this repository
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the mvcc version of this repository.
066             *
067             * @return the mvcc version of this repository
068             */
069            @Override
070            public long getMvccVersion();
071    
072            /**
073             * Sets the mvcc version of this repository.
074             *
075             * @param mvccVersion the mvcc version of this repository
076             */
077            @Override
078            public void setMvccVersion(long mvccVersion);
079    
080            /**
081             * Returns the uuid of this repository.
082             *
083             * @return the uuid of this repository
084             */
085            @AutoEscape
086            @Override
087            public String getUuid();
088    
089            /**
090             * Sets the uuid of this repository.
091             *
092             * @param uuid the uuid of this repository
093             */
094            @Override
095            public void setUuid(String uuid);
096    
097            /**
098             * Returns the repository ID of this repository.
099             *
100             * @return the repository ID of this repository
101             */
102            public long getRepositoryId();
103    
104            /**
105             * Sets the repository ID of this repository.
106             *
107             * @param repositoryId the repository ID of this repository
108             */
109            public void setRepositoryId(long repositoryId);
110    
111            /**
112             * Returns the group ID of this repository.
113             *
114             * @return the group ID of this repository
115             */
116            @Override
117            public long getGroupId();
118    
119            /**
120             * Sets the group ID of this repository.
121             *
122             * @param groupId the group ID of this repository
123             */
124            @Override
125            public void setGroupId(long groupId);
126    
127            /**
128             * Returns the company ID of this repository.
129             *
130             * @return the company ID of this repository
131             */
132            @Override
133            public long getCompanyId();
134    
135            /**
136             * Sets the company ID of this repository.
137             *
138             * @param companyId the company ID of this repository
139             */
140            @Override
141            public void setCompanyId(long companyId);
142    
143            /**
144             * Returns the user ID of this repository.
145             *
146             * @return the user ID of this repository
147             */
148            @Override
149            public long getUserId();
150    
151            /**
152             * Sets the user ID of this repository.
153             *
154             * @param userId the user ID of this repository
155             */
156            @Override
157            public void setUserId(long userId);
158    
159            /**
160             * Returns the user uuid of this repository.
161             *
162             * @return the user uuid of this repository
163             */
164            @Override
165            public String getUserUuid();
166    
167            /**
168             * Sets the user uuid of this repository.
169             *
170             * @param userUuid the user uuid of this repository
171             */
172            @Override
173            public void setUserUuid(String userUuid);
174    
175            /**
176             * Returns the user name of this repository.
177             *
178             * @return the user name of this repository
179             */
180            @AutoEscape
181            @Override
182            public String getUserName();
183    
184            /**
185             * Sets the user name of this repository.
186             *
187             * @param userName the user name of this repository
188             */
189            @Override
190            public void setUserName(String userName);
191    
192            /**
193             * Returns the create date of this repository.
194             *
195             * @return the create date of this repository
196             */
197            @Override
198            public Date getCreateDate();
199    
200            /**
201             * Sets the create date of this repository.
202             *
203             * @param createDate the create date of this repository
204             */
205            @Override
206            public void setCreateDate(Date createDate);
207    
208            /**
209             * Returns the modified date of this repository.
210             *
211             * @return the modified date of this repository
212             */
213            @Override
214            public Date getModifiedDate();
215    
216            /**
217             * Sets the modified date of this repository.
218             *
219             * @param modifiedDate the modified date of this repository
220             */
221            @Override
222            public void setModifiedDate(Date modifiedDate);
223    
224            /**
225             * Returns the fully qualified class name of this repository.
226             *
227             * @return the fully qualified class name of this repository
228             */
229            @Override
230            public String getClassName();
231    
232            public void setClassName(String className);
233    
234            /**
235             * Returns the class name ID of this repository.
236             *
237             * @return the class name ID of this repository
238             */
239            @Override
240            public long getClassNameId();
241    
242            /**
243             * Sets the class name ID of this repository.
244             *
245             * @param classNameId the class name ID of this repository
246             */
247            @Override
248            public void setClassNameId(long classNameId);
249    
250            /**
251             * Returns the name of this repository.
252             *
253             * @return the name of this repository
254             */
255            @AutoEscape
256            public String getName();
257    
258            /**
259             * Sets the name of this repository.
260             *
261             * @param name the name of this repository
262             */
263            public void setName(String name);
264    
265            /**
266             * Returns the description of this repository.
267             *
268             * @return the description of this repository
269             */
270            @AutoEscape
271            public String getDescription();
272    
273            /**
274             * Sets the description of this repository.
275             *
276             * @param description the description of this repository
277             */
278            public void setDescription(String description);
279    
280            /**
281             * Returns the portlet ID of this repository.
282             *
283             * @return the portlet ID of this repository
284             */
285            @AutoEscape
286            public String getPortletId();
287    
288            /**
289             * Sets the portlet ID of this repository.
290             *
291             * @param portletId the portlet ID of this repository
292             */
293            public void setPortletId(String portletId);
294    
295            /**
296             * Returns the type settings of this repository.
297             *
298             * @return the type settings of this repository
299             */
300            @AutoEscape
301            public String getTypeSettings();
302    
303            /**
304             * Sets the type settings of this repository.
305             *
306             * @param typeSettings the type settings of this repository
307             */
308            public void setTypeSettings(String typeSettings);
309    
310            /**
311             * Returns the dl folder ID of this repository.
312             *
313             * @return the dl folder ID of this repository
314             */
315            public long getDlFolderId();
316    
317            /**
318             * Sets the dl folder ID of this repository.
319             *
320             * @param dlFolderId the dl folder ID of this repository
321             */
322            public void setDlFolderId(long dlFolderId);
323    
324            /**
325             * Returns the last publish date of this repository.
326             *
327             * @return the last publish date of this repository
328             */
329            @Override
330            public Date getLastPublishDate();
331    
332            /**
333             * Sets the last publish date of this repository.
334             *
335             * @param lastPublishDate the last publish date of this repository
336             */
337            @Override
338            public void setLastPublishDate(Date lastPublishDate);
339    
340            @Override
341            public boolean isNew();
342    
343            @Override
344            public void setNew(boolean n);
345    
346            @Override
347            public boolean isCachedModel();
348    
349            @Override
350            public void setCachedModel(boolean cachedModel);
351    
352            @Override
353            public boolean isEscapedModel();
354    
355            @Override
356            public Serializable getPrimaryKeyObj();
357    
358            @Override
359            public void setPrimaryKeyObj(Serializable primaryKeyObj);
360    
361            @Override
362            public ExpandoBridge getExpandoBridge();
363    
364            @Override
365            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
366    
367            @Override
368            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
369    
370            @Override
371            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
372    
373            @Override
374            public Object clone();
375    
376            @Override
377            public int compareTo(com.liferay.portal.model.Repository repository);
378    
379            @Override
380            public int hashCode();
381    
382            @Override
383            public CacheModel<com.liferay.portal.model.Repository> toCacheModel();
384    
385            @Override
386            public com.liferay.portal.model.Repository toEscapedModel();
387    
388            @Override
389            public com.liferay.portal.model.Repository toUnescapedModel();
390    
391            @Override
392            public String toString();
393    
394            @Override
395            public String toXmlString();
396    }