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