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