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.portlet.documentlibrary.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    
030    /**
031     * The base model interface for the DLFileRank service. Represents a row in the "DLFileRank" database table, with each column mapped to a property of this class.
032     *
033     * <p>
034     * This interface and its corresponding implementation {@link com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl} 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.portlet.documentlibrary.model.impl.DLFileRankImpl}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see DLFileRank
039     * @see com.liferay.portlet.documentlibrary.model.impl.DLFileRankImpl
040     * @see com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl
041     * @generated
042     */
043    @ProviderType
044    public interface DLFileRankModel extends BaseModel<DLFileRank> {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a document library file rank model instance should use the {@link DLFileRank} interface instead.
049             */
050    
051            /**
052             * Returns the primary key of this document library file rank.
053             *
054             * @return the primary key of this document library file rank
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this document library file rank.
060             *
061             * @param primaryKey the primary key of this document library file rank
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Returns the file rank ID of this document library file rank.
067             *
068             * @return the file rank ID of this document library file rank
069             */
070            public long getFileRankId();
071    
072            /**
073             * Sets the file rank ID of this document library file rank.
074             *
075             * @param fileRankId the file rank ID of this document library file rank
076             */
077            public void setFileRankId(long fileRankId);
078    
079            /**
080             * Returns the group ID of this document library file rank.
081             *
082             * @return the group ID of this document library file rank
083             */
084            public long getGroupId();
085    
086            /**
087             * Sets the group ID of this document library file rank.
088             *
089             * @param groupId the group ID of this document library file rank
090             */
091            public void setGroupId(long groupId);
092    
093            /**
094             * Returns the company ID of this document library file rank.
095             *
096             * @return the company ID of this document library file rank
097             */
098            public long getCompanyId();
099    
100            /**
101             * Sets the company ID of this document library file rank.
102             *
103             * @param companyId the company ID of this document library file rank
104             */
105            public void setCompanyId(long companyId);
106    
107            /**
108             * Returns the user ID of this document library file rank.
109             *
110             * @return the user ID of this document library file rank
111             */
112            public long getUserId();
113    
114            /**
115             * Sets the user ID of this document library file rank.
116             *
117             * @param userId the user ID of this document library file rank
118             */
119            public void setUserId(long userId);
120    
121            /**
122             * Returns the user uuid of this document library file rank.
123             *
124             * @return the user uuid of this document library file rank
125             * @throws SystemException if a system exception occurred
126             */
127            public String getUserUuid() throws SystemException;
128    
129            /**
130             * Sets the user uuid of this document library file rank.
131             *
132             * @param userUuid the user uuid of this document library file rank
133             */
134            public void setUserUuid(String userUuid);
135    
136            /**
137             * Returns the create date of this document library file rank.
138             *
139             * @return the create date of this document library file rank
140             */
141            public Date getCreateDate();
142    
143            /**
144             * Sets the create date of this document library file rank.
145             *
146             * @param createDate the create date of this document library file rank
147             */
148            public void setCreateDate(Date createDate);
149    
150            /**
151             * Returns the file entry ID of this document library file rank.
152             *
153             * @return the file entry ID of this document library file rank
154             */
155            public long getFileEntryId();
156    
157            /**
158             * Sets the file entry ID of this document library file rank.
159             *
160             * @param fileEntryId the file entry ID of this document library file rank
161             */
162            public void setFileEntryId(long fileEntryId);
163    
164            /**
165             * Returns the active of this document library file rank.
166             *
167             * @return the active of this document library file rank
168             */
169            public boolean getActive();
170    
171            /**
172             * Returns <code>true</code> if this document library file rank is active.
173             *
174             * @return <code>true</code> if this document library file rank is active; <code>false</code> otherwise
175             */
176            public boolean isActive();
177    
178            /**
179             * Sets whether this document library file rank is active.
180             *
181             * @param active the active of this document library file rank
182             */
183            public void setActive(boolean active);
184    
185            @Override
186            public boolean isNew();
187    
188            @Override
189            public void setNew(boolean n);
190    
191            @Override
192            public boolean isCachedModel();
193    
194            @Override
195            public void setCachedModel(boolean cachedModel);
196    
197            @Override
198            public boolean isEscapedModel();
199    
200            @Override
201            public Serializable getPrimaryKeyObj();
202    
203            @Override
204            public void setPrimaryKeyObj(Serializable primaryKeyObj);
205    
206            @Override
207            public ExpandoBridge getExpandoBridge();
208    
209            @Override
210            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
211    
212            @Override
213            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
214    
215            @Override
216            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
217    
218            @Override
219            public Object clone();
220    
221            @Override
222            public int compareTo(DLFileRank dlFileRank);
223    
224            @Override
225            public int hashCode();
226    
227            @Override
228            public CacheModel<DLFileRank> toCacheModel();
229    
230            @Override
231            public DLFileRank toEscapedModel();
232    
233            @Override
234            public DLFileRank toUnescapedModel();
235    
236            @Override
237            public String toString();
238    
239            @Override
240            public String toXmlString();
241    }