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