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    /**
027     * <p>
028     * This interface is a model that represents the AnnouncementsDelivery table in the
029     * database.
030     * </p>
031     *
032     * @author    Brian Wing Shun Chan
033     * @see       AnnouncementsDelivery
034     * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl
035     * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
036     * @generated
037     */
038    public interface AnnouncementsDeliveryModel extends BaseModel<AnnouncementsDelivery> {
039            public long getPrimaryKey();
040    
041            public void setPrimaryKey(long pk);
042    
043            public long getDeliveryId();
044    
045            public void setDeliveryId(long deliveryId);
046    
047            public long getCompanyId();
048    
049            public void setCompanyId(long companyId);
050    
051            public long getUserId();
052    
053            public void setUserId(long userId);
054    
055            public String getUserUuid() throws SystemException;
056    
057            public void setUserUuid(String userUuid);
058    
059            @AutoEscape
060            public String getType();
061    
062            public void setType(String type);
063    
064            public boolean getEmail();
065    
066            public boolean isEmail();
067    
068            public void setEmail(boolean email);
069    
070            public boolean getSms();
071    
072            public boolean isSms();
073    
074            public void setSms(boolean sms);
075    
076            public boolean getWebsite();
077    
078            public boolean isWebsite();
079    
080            public void setWebsite(boolean website);
081    
082            public AnnouncementsDelivery toEscapedModel();
083    
084            public boolean isNew();
085    
086            public void setNew(boolean n);
087    
088            public boolean isCachedModel();
089    
090            public void setCachedModel(boolean cachedModel);
091    
092            public boolean isEscapedModel();
093    
094            public void setEscapedModel(boolean escapedModel);
095    
096            public Serializable getPrimaryKeyObj();
097    
098            public ExpandoBridge getExpandoBridge();
099    
100            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
101    
102            public Object clone();
103    
104            public int compareTo(AnnouncementsDelivery announcementsDelivery);
105    
106            public int hashCode();
107    
108            public String toString();
109    
110            public String toXmlString();
111    }