1
22
23 package com.liferay.portlet.messageboards.model;
24
25 import com.liferay.portal.SystemException;
26 import com.liferay.portal.model.BaseModel;
27 import com.liferay.portal.service.ServiceContext;
28
29 import com.liferay.portlet.expando.model.ExpandoBridge;
30
31 import java.io.Serializable;
32
33 import java.util.Date;
34
35
54 public interface MBThreadModel extends BaseModel<MBThread> {
55 public long getPrimaryKey();
56
57 public void setPrimaryKey(long pk);
58
59 public long getThreadId();
60
61 public void setThreadId(long threadId);
62
63 public long getGroupId();
64
65 public void setGroupId(long groupId);
66
67 public long getCategoryId();
68
69 public void setCategoryId(long categoryId);
70
71 public long getRootMessageId();
72
73 public void setRootMessageId(long rootMessageId);
74
75 public int getMessageCount();
76
77 public void setMessageCount(int messageCount);
78
79 public int getViewCount();
80
81 public void setViewCount(int viewCount);
82
83 public long getLastPostByUserId();
84
85 public void setLastPostByUserId(long lastPostByUserId);
86
87 public String getLastPostByUserUuid() throws SystemException;
88
89 public void setLastPostByUserUuid(String lastPostByUserUuid);
90
91 public Date getLastPostDate();
92
93 public void setLastPostDate(Date lastPostDate);
94
95 public double getPriority();
96
97 public void setPriority(double priority);
98
99 public MBThread toEscapedModel();
100
101 public boolean isNew();
102
103 public boolean setNew(boolean n);
104
105 public boolean isCachedModel();
106
107 public void setCachedModel(boolean cachedModel);
108
109 public boolean isEscapedModel();
110
111 public void setEscapedModel(boolean escapedModel);
112
113 public Serializable getPrimaryKeyObj();
114
115 public ExpandoBridge getExpandoBridge();
116
117 public void setExpandoBridgeAttributes(ServiceContext serviceContext);
118
119 public Object clone();
120
121 public int compareTo(MBThread mbThread);
122
123 public int hashCode();
124
125 public String toString();
126
127 public String toXmlString();
128 }