001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portal.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.service.ServiceContext; 020 021 import com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 import java.util.Date; 026 027 /** 028 * The base model interface for the MembershipRequest service. Represents a row in the "MembershipRequest" database table, with each column mapped to a property of this class. 029 * 030 * <p> 031 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.MembershipRequestModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.MembershipRequestImpl}. 032 * </p> 033 * 034 * <p> 035 * Never modify or reference this interface directly. All methods that expect a membership request model instance should use the {@link MembershipRequest} interface instead. 036 * </p> 037 * 038 * @author Brian Wing Shun Chan 039 * @see MembershipRequest 040 * @see com.liferay.portal.model.impl.MembershipRequestImpl 041 * @see com.liferay.portal.model.impl.MembershipRequestModelImpl 042 * @generated 043 */ 044 public interface MembershipRequestModel extends BaseModel<MembershipRequest> { 045 /** 046 * Gets the primary key of this membership request. 047 * 048 * @return the primary key of this membership request 049 */ 050 public long getPrimaryKey(); 051 052 /** 053 * Sets the primary key of this membership request 054 * 055 * @param pk the primary key of this membership request 056 */ 057 public void setPrimaryKey(long pk); 058 059 /** 060 * Gets the membership request id of this membership request. 061 * 062 * @return the membership request id of this membership request 063 */ 064 public long getMembershipRequestId(); 065 066 /** 067 * Sets the membership request id of this membership request. 068 * 069 * @param membershipRequestId the membership request id of this membership request 070 */ 071 public void setMembershipRequestId(long membershipRequestId); 072 073 /** 074 * Gets the company id of this membership request. 075 * 076 * @return the company id of this membership request 077 */ 078 public long getCompanyId(); 079 080 /** 081 * Sets the company id of this membership request. 082 * 083 * @param companyId the company id of this membership request 084 */ 085 public void setCompanyId(long companyId); 086 087 /** 088 * Gets the user id of this membership request. 089 * 090 * @return the user id of this membership request 091 */ 092 public long getUserId(); 093 094 /** 095 * Sets the user id of this membership request. 096 * 097 * @param userId the user id of this membership request 098 */ 099 public void setUserId(long userId); 100 101 /** 102 * Gets the user uuid of this membership request. 103 * 104 * @return the user uuid of this membership request 105 * @throws SystemException if a system exception occurred 106 */ 107 public String getUserUuid() throws SystemException; 108 109 /** 110 * Sets the user uuid of this membership request. 111 * 112 * @param userUuid the user uuid of this membership request 113 */ 114 public void setUserUuid(String userUuid); 115 116 /** 117 * Gets the create date of this membership request. 118 * 119 * @return the create date of this membership request 120 */ 121 public Date getCreateDate(); 122 123 /** 124 * Sets the create date of this membership request. 125 * 126 * @param createDate the create date of this membership request 127 */ 128 public void setCreateDate(Date createDate); 129 130 /** 131 * Gets the group id of this membership request. 132 * 133 * @return the group id of this membership request 134 */ 135 public long getGroupId(); 136 137 /** 138 * Sets the group id of this membership request. 139 * 140 * @param groupId the group id of this membership request 141 */ 142 public void setGroupId(long groupId); 143 144 /** 145 * Gets the comments of this membership request. 146 * 147 * @return the comments of this membership request 148 */ 149 @AutoEscape 150 public String getComments(); 151 152 /** 153 * Sets the comments of this membership request. 154 * 155 * @param comments the comments of this membership request 156 */ 157 public void setComments(String comments); 158 159 /** 160 * Gets the reply comments of this membership request. 161 * 162 * @return the reply comments of this membership request 163 */ 164 @AutoEscape 165 public String getReplyComments(); 166 167 /** 168 * Sets the reply comments of this membership request. 169 * 170 * @param replyComments the reply comments of this membership request 171 */ 172 public void setReplyComments(String replyComments); 173 174 /** 175 * Gets the reply date of this membership request. 176 * 177 * @return the reply date of this membership request 178 */ 179 public Date getReplyDate(); 180 181 /** 182 * Sets the reply date of this membership request. 183 * 184 * @param replyDate the reply date of this membership request 185 */ 186 public void setReplyDate(Date replyDate); 187 188 /** 189 * Gets the replier user id of this membership request. 190 * 191 * @return the replier user id of this membership request 192 */ 193 public long getReplierUserId(); 194 195 /** 196 * Sets the replier user id of this membership request. 197 * 198 * @param replierUserId the replier user id of this membership request 199 */ 200 public void setReplierUserId(long replierUserId); 201 202 /** 203 * Gets the replier user uuid of this membership request. 204 * 205 * @return the replier user uuid of this membership request 206 * @throws SystemException if a system exception occurred 207 */ 208 public String getReplierUserUuid() throws SystemException; 209 210 /** 211 * Sets the replier user uuid of this membership request. 212 * 213 * @param replierUserUuid the replier user uuid of this membership request 214 */ 215 public void setReplierUserUuid(String replierUserUuid); 216 217 /** 218 * Gets the status id of this membership request. 219 * 220 * @return the status id of this membership request 221 */ 222 public int getStatusId(); 223 224 /** 225 * Sets the status id of this membership request. 226 * 227 * @param statusId the status id of this membership request 228 */ 229 public void setStatusId(int statusId); 230 231 public boolean isNew(); 232 233 public void setNew(boolean n); 234 235 public boolean isCachedModel(); 236 237 public void setCachedModel(boolean cachedModel); 238 239 public boolean isEscapedModel(); 240 241 public void setEscapedModel(boolean escapedModel); 242 243 public Serializable getPrimaryKeyObj(); 244 245 public ExpandoBridge getExpandoBridge(); 246 247 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 248 249 public Object clone(); 250 251 public int compareTo(MembershipRequest membershipRequest); 252 253 public int hashCode(); 254 255 public MembershipRequest toEscapedModel(); 256 257 public String toString(); 258 259 public String toXmlString(); 260 }