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 RepositoryEntry service. Represents a row in the "RepositoryEntry" 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.RepositoryEntryModelImpl} 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.RepositoryEntryImpl}.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see RepositoryEntry
038     * @see com.liferay.portal.model.impl.RepositoryEntryImpl
039     * @see com.liferay.portal.model.impl.RepositoryEntryModelImpl
040     * @generated
041     */
042    @ProviderType
043    public interface RepositoryEntryModel extends BaseModel<RepositoryEntry>,
044            StagedGroupedModel {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a repository entry model instance should use the {@link RepositoryEntry} interface instead.
049             */
050    
051            /**
052             * Returns the primary key of this repository entry.
053             *
054             * @return the primary key of this repository entry
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this repository entry.
060             *
061             * @param primaryKey the primary key of this repository entry
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Returns the uuid of this repository entry.
067             *
068             * @return the uuid of this repository entry
069             */
070            @AutoEscape
071            @Override
072            public String getUuid();
073    
074            /**
075             * Sets the uuid of this repository entry.
076             *
077             * @param uuid the uuid of this repository entry
078             */
079            @Override
080            public void setUuid(String uuid);
081    
082            /**
083             * Returns the repository entry ID of this repository entry.
084             *
085             * @return the repository entry ID of this repository entry
086             */
087            public long getRepositoryEntryId();
088    
089            /**
090             * Sets the repository entry ID of this repository entry.
091             *
092             * @param repositoryEntryId the repository entry ID of this repository entry
093             */
094            public void setRepositoryEntryId(long repositoryEntryId);
095    
096            /**
097             * Returns the group ID of this repository entry.
098             *
099             * @return the group ID of this repository entry
100             */
101            @Override
102            public long getGroupId();
103    
104            /**
105             * Sets the group ID of this repository entry.
106             *
107             * @param groupId the group ID of this repository entry
108             */
109            @Override
110            public void setGroupId(long groupId);
111    
112            /**
113             * Returns the company ID of this repository entry.
114             *
115             * @return the company ID of this repository entry
116             */
117            @Override
118            public long getCompanyId();
119    
120            /**
121             * Sets the company ID of this repository entry.
122             *
123             * @param companyId the company ID of this repository entry
124             */
125            @Override
126            public void setCompanyId(long companyId);
127    
128            /**
129             * Returns the user ID of this repository entry.
130             *
131             * @return the user ID of this repository entry
132             */
133            @Override
134            public long getUserId();
135    
136            /**
137             * Sets the user ID of this repository entry.
138             *
139             * @param userId the user ID of this repository entry
140             */
141            @Override
142            public void setUserId(long userId);
143    
144            /**
145             * Returns the user uuid of this repository entry.
146             *
147             * @return the user uuid of this repository entry
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 entry.
155             *
156             * @param userUuid the user uuid of this repository entry
157             */
158            @Override
159            public void setUserUuid(String userUuid);
160    
161            /**
162             * Returns the user name of this repository entry.
163             *
164             * @return the user name of this repository entry
165             */
166            @AutoEscape
167            @Override
168            public String getUserName();
169    
170            /**
171             * Sets the user name of this repository entry.
172             *
173             * @param userName the user name of this repository entry
174             */
175            @Override
176            public void setUserName(String userName);
177    
178            /**
179             * Returns the create date of this repository entry.
180             *
181             * @return the create date of this repository entry
182             */
183            @Override
184            public Date getCreateDate();
185    
186            /**
187             * Sets the create date of this repository entry.
188             *
189             * @param createDate the create date of this repository entry
190             */
191            @Override
192            public void setCreateDate(Date createDate);
193    
194            /**
195             * Returns the modified date of this repository entry.
196             *
197             * @return the modified date of this repository entry
198             */
199            @Override
200            public Date getModifiedDate();
201    
202            /**
203             * Sets the modified date of this repository entry.
204             *
205             * @param modifiedDate the modified date of this repository entry
206             */
207            @Override
208            public void setModifiedDate(Date modifiedDate);
209    
210            /**
211             * Returns the repository ID of this repository entry.
212             *
213             * @return the repository ID of this repository entry
214             */
215            public long getRepositoryId();
216    
217            /**
218             * Sets the repository ID of this repository entry.
219             *
220             * @param repositoryId the repository ID of this repository entry
221             */
222            public void setRepositoryId(long repositoryId);
223    
224            /**
225             * Returns the mapped ID of this repository entry.
226             *
227             * @return the mapped ID of this repository entry
228             */
229            @AutoEscape
230            public String getMappedId();
231    
232            /**
233             * Sets the mapped ID of this repository entry.
234             *
235             * @param mappedId the mapped ID of this repository entry
236             */
237            public void setMappedId(String mappedId);
238    
239            /**
240             * Returns the manual check in required of this repository entry.
241             *
242             * @return the manual check in required of this repository entry
243             */
244            public boolean getManualCheckInRequired();
245    
246            /**
247             * Returns <code>true</code> if this repository entry is manual check in required.
248             *
249             * @return <code>true</code> if this repository entry is manual check in required; <code>false</code> otherwise
250             */
251            public boolean isManualCheckInRequired();
252    
253            /**
254             * Sets whether this repository entry is manual check in required.
255             *
256             * @param manualCheckInRequired the manual check in required of this repository entry
257             */
258            public void setManualCheckInRequired(boolean manualCheckInRequired);
259    
260            @Override
261            public boolean isNew();
262    
263            @Override
264            public void setNew(boolean n);
265    
266            @Override
267            public boolean isCachedModel();
268    
269            @Override
270            public void setCachedModel(boolean cachedModel);
271    
272            @Override
273            public boolean isEscapedModel();
274    
275            @Override
276            public Serializable getPrimaryKeyObj();
277    
278            @Override
279            public void setPrimaryKeyObj(Serializable primaryKeyObj);
280    
281            @Override
282            public ExpandoBridge getExpandoBridge();
283    
284            @Override
285            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
286    
287            @Override
288            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
289    
290            @Override
291            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
292    
293            @Override
294            public Object clone();
295    
296            @Override
297            public int compareTo(RepositoryEntry repositoryEntry);
298    
299            @Override
300            public int hashCode();
301    
302            @Override
303            public CacheModel<RepositoryEntry> toCacheModel();
304    
305            @Override
306            public RepositoryEntry toEscapedModel();
307    
308            @Override
309            public RepositoryEntry toUnescapedModel();
310    
311            @Override
312            public String toString();
313    
314            @Override
315            public String toXmlString();
316    }