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.portlet.announcements.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
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     * <p>
030     * This interface is a model that represents the AnnouncementsEntry table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       AnnouncementsEntry
036     * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsEntryImpl
037     * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsEntryModelImpl
038     * @generated
039     */
040    public interface AnnouncementsEntryModel extends BaseModel<AnnouncementsEntry> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            @AutoEscape
046            public String getUuid();
047    
048            public void setUuid(String uuid);
049    
050            public long getEntryId();
051    
052            public void setEntryId(long entryId);
053    
054            public long getCompanyId();
055    
056            public void setCompanyId(long companyId);
057    
058            public long getUserId();
059    
060            public void setUserId(long userId);
061    
062            public String getUserUuid() throws SystemException;
063    
064            public void setUserUuid(String userUuid);
065    
066            @AutoEscape
067            public String getUserName();
068    
069            public void setUserName(String userName);
070    
071            public Date getCreateDate();
072    
073            public void setCreateDate(Date createDate);
074    
075            public Date getModifiedDate();
076    
077            public void setModifiedDate(Date modifiedDate);
078    
079            public String getClassName();
080    
081            public long getClassNameId();
082    
083            public void setClassNameId(long classNameId);
084    
085            public long getClassPK();
086    
087            public void setClassPK(long classPK);
088    
089            @AutoEscape
090            public String getTitle();
091    
092            public void setTitle(String title);
093    
094            @AutoEscape
095            public String getContent();
096    
097            public void setContent(String content);
098    
099            @AutoEscape
100            public String getUrl();
101    
102            public void setUrl(String url);
103    
104            @AutoEscape
105            public String getType();
106    
107            public void setType(String type);
108    
109            public Date getDisplayDate();
110    
111            public void setDisplayDate(Date displayDate);
112    
113            public Date getExpirationDate();
114    
115            public void setExpirationDate(Date expirationDate);
116    
117            public int getPriority();
118    
119            public void setPriority(int priority);
120    
121            public boolean getAlert();
122    
123            public boolean isAlert();
124    
125            public void setAlert(boolean alert);
126    
127            public AnnouncementsEntry toEscapedModel();
128    
129            public boolean isNew();
130    
131            public void setNew(boolean n);
132    
133            public boolean isCachedModel();
134    
135            public void setCachedModel(boolean cachedModel);
136    
137            public boolean isEscapedModel();
138    
139            public void setEscapedModel(boolean escapedModel);
140    
141            public Serializable getPrimaryKeyObj();
142    
143            public ExpandoBridge getExpandoBridge();
144    
145            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
146    
147            public Object clone();
148    
149            public int compareTo(AnnouncementsEntry announcementsEntry);
150    
151            public int hashCode();
152    
153            public String toString();
154    
155            public String toXmlString();
156    }