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.social.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 SocialActivity table in the
029     * database.
030     * </p>
031     *
032     * @author    Brian Wing Shun Chan
033     * @see       SocialActivity
034     * @see       com.liferay.portlet.social.model.impl.SocialActivityImpl
035     * @see       com.liferay.portlet.social.model.impl.SocialActivityModelImpl
036     * @generated
037     */
038    public interface SocialActivityModel extends BaseModel<SocialActivity> {
039            public long getPrimaryKey();
040    
041            public void setPrimaryKey(long pk);
042    
043            public long getActivityId();
044    
045            public void setActivityId(long activityId);
046    
047            public long getGroupId();
048    
049            public void setGroupId(long groupId);
050    
051            public long getCompanyId();
052    
053            public void setCompanyId(long companyId);
054    
055            public long getUserId();
056    
057            public void setUserId(long userId);
058    
059            public String getUserUuid() throws SystemException;
060    
061            public void setUserUuid(String userUuid);
062    
063            public long getCreateDate();
064    
065            public void setCreateDate(long createDate);
066    
067            public long getMirrorActivityId();
068    
069            public void setMirrorActivityId(long mirrorActivityId);
070    
071            public String getClassName();
072    
073            public long getClassNameId();
074    
075            public void setClassNameId(long classNameId);
076    
077            public long getClassPK();
078    
079            public void setClassPK(long classPK);
080    
081            public int getType();
082    
083            public void setType(int type);
084    
085            @AutoEscape
086            public String getExtraData();
087    
088            public void setExtraData(String extraData);
089    
090            public long getReceiverUserId();
091    
092            public void setReceiverUserId(long receiverUserId);
093    
094            public String getReceiverUserUuid() throws SystemException;
095    
096            public void setReceiverUserUuid(String receiverUserUuid);
097    
098            public SocialActivity toEscapedModel();
099    
100            public boolean isNew();
101    
102            public void setNew(boolean n);
103    
104            public boolean isCachedModel();
105    
106            public void setCachedModel(boolean cachedModel);
107    
108            public boolean isEscapedModel();
109    
110            public void setEscapedModel(boolean escapedModel);
111    
112            public Serializable getPrimaryKeyObj();
113    
114            public ExpandoBridge getExpandoBridge();
115    
116            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
117    
118            public Object clone();
119    
120            public int compareTo(SocialActivity socialActivity);
121    
122            public int hashCode();
123    
124            public String toString();
125    
126            public String toXmlString();
127    }