001    /**
002     * Copyright (c) 2000-2010 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.annotation.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     * <p>
029     * This interface is a model that represents the Subscription table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       Subscription
035     * @see       com.liferay.portal.model.impl.SubscriptionImpl
036     * @see       com.liferay.portal.model.impl.SubscriptionModelImpl
037     * @generated
038     */
039    public interface SubscriptionModel extends BaseModel<Subscription> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getSubscriptionId();
045    
046            public void setSubscriptionId(long subscriptionId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public long getUserId();
053    
054            public void setUserId(long userId);
055    
056            public String getUserUuid() throws SystemException;
057    
058            public void setUserUuid(String userUuid);
059    
060            @AutoEscape
061            public String getUserName();
062    
063            public void setUserName(String userName);
064    
065            public Date getCreateDate();
066    
067            public void setCreateDate(Date createDate);
068    
069            public Date getModifiedDate();
070    
071            public void setModifiedDate(Date modifiedDate);
072    
073            public String getClassName();
074    
075            public long getClassNameId();
076    
077            public void setClassNameId(long classNameId);
078    
079            public long getClassPK();
080    
081            public void setClassPK(long classPK);
082    
083            @AutoEscape
084            public String getFrequency();
085    
086            public void setFrequency(String frequency);
087    
088            public Subscription toEscapedModel();
089    
090            public boolean isNew();
091    
092            public void setNew(boolean n);
093    
094            public boolean isCachedModel();
095    
096            public void setCachedModel(boolean cachedModel);
097    
098            public boolean isEscapedModel();
099    
100            public void setEscapedModel(boolean escapedModel);
101    
102            public Serializable getPrimaryKeyObj();
103    
104            public ExpandoBridge getExpandoBridge();
105    
106            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
107    
108            public Object clone();
109    
110            public int compareTo(Subscription subscription);
111    
112            public int hashCode();
113    
114            public String toString();
115    
116            public String toXmlString();
117    }