1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.social.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
19  import com.liferay.portal.model.BaseModel;
20  import com.liferay.portal.service.ServiceContext;
21  
22  import com.liferay.portlet.expando.model.ExpandoBridge;
23  
24  import java.io.Serializable;
25  
26  /**
27   * <a href="SocialActivityModel.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface is a model that represents the SocialActivity table in the
36   * database.
37   * </p>
38   *
39   * @author    Brian Wing Shun Chan
40   * @see       SocialActivity
41   * @see       com.liferay.portlet.social.model.impl.SocialActivityImpl
42   * @see       com.liferay.portlet.social.model.impl.SocialActivityModelImpl
43   * @generated
44   */
45  public interface SocialActivityModel extends BaseModel<SocialActivity> {
46      public long getPrimaryKey();
47  
48      public void setPrimaryKey(long pk);
49  
50      public long getActivityId();
51  
52      public void setActivityId(long activityId);
53  
54      public long getGroupId();
55  
56      public void setGroupId(long groupId);
57  
58      public long getCompanyId();
59  
60      public void setCompanyId(long companyId);
61  
62      public long getUserId();
63  
64      public void setUserId(long userId);
65  
66      public String getUserUuid() throws SystemException;
67  
68      public void setUserUuid(String userUuid);
69  
70      public long getCreateDate();
71  
72      public void setCreateDate(long createDate);
73  
74      public long getMirrorActivityId();
75  
76      public void setMirrorActivityId(long mirrorActivityId);
77  
78      public String getClassName();
79  
80      public long getClassNameId();
81  
82      public void setClassNameId(long classNameId);
83  
84      public long getClassPK();
85  
86      public void setClassPK(long classPK);
87  
88      public int getType();
89  
90      public void setType(int type);
91  
92      @AutoEscape
93      public String getExtraData();
94  
95      public void setExtraData(String extraData);
96  
97      public long getReceiverUserId();
98  
99      public void setReceiverUserId(long receiverUserId);
100 
101     public String getReceiverUserUuid() throws SystemException;
102 
103     public void setReceiverUserUuid(String receiverUserUuid);
104 
105     public boolean isNew();
106 
107     public boolean setNew(boolean n);
108 
109     public boolean isCachedModel();
110 
111     public void setCachedModel(boolean cachedModel);
112 
113     public boolean isEscapedModel();
114 
115     public void setEscapedModel(boolean escapedModel);
116 
117     public Serializable getPrimaryKeyObj();
118 
119     public ExpandoBridge getExpandoBridge();
120 
121     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
122 
123     public Object clone();
124 
125     public int compareTo(SocialActivity socialActivity);
126 
127     public int hashCode();
128 
129     public SocialActivity toEscapedModel();
130 
131     public String toString();
132 
133     public String toXmlString();
134 }