001 /** 002 * Copyright (c) 2000-present 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.portal.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * 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. 030 * 031 * <p> 032 * 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}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see MembershipRequest 037 * @see com.liferay.portal.model.impl.MembershipRequestImpl 038 * @see com.liferay.portal.model.impl.MembershipRequestModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface MembershipRequestModel extends BaseModel<MembershipRequest>, 043 MVCCModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a membership request model instance should use the {@link MembershipRequest} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this membership request. 052 * 053 * @return the primary key of this membership request 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this membership request. 059 * 060 * @param primaryKey the primary key of this membership request 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the mvcc version of this membership request. 066 * 067 * @return the mvcc version of this membership request 068 */ 069 @Override 070 public long getMvccVersion(); 071 072 /** 073 * Sets the mvcc version of this membership request. 074 * 075 * @param mvccVersion the mvcc version of this membership request 076 */ 077 @Override 078 public void setMvccVersion(long mvccVersion); 079 080 /** 081 * Returns the membership request ID of this membership request. 082 * 083 * @return the membership request ID of this membership request 084 */ 085 public long getMembershipRequestId(); 086 087 /** 088 * Sets the membership request ID of this membership request. 089 * 090 * @param membershipRequestId the membership request ID of this membership request 091 */ 092 public void setMembershipRequestId(long membershipRequestId); 093 094 /** 095 * Returns the group ID of this membership request. 096 * 097 * @return the group ID of this membership request 098 */ 099 public long getGroupId(); 100 101 /** 102 * Sets the group ID of this membership request. 103 * 104 * @param groupId the group ID of this membership request 105 */ 106 public void setGroupId(long groupId); 107 108 /** 109 * Returns the company ID of this membership request. 110 * 111 * @return the company ID of this membership request 112 */ 113 public long getCompanyId(); 114 115 /** 116 * Sets the company ID of this membership request. 117 * 118 * @param companyId the company ID of this membership request 119 */ 120 public void setCompanyId(long companyId); 121 122 /** 123 * Returns the user ID of this membership request. 124 * 125 * @return the user ID of this membership request 126 */ 127 public long getUserId(); 128 129 /** 130 * Sets the user ID of this membership request. 131 * 132 * @param userId the user ID of this membership request 133 */ 134 public void setUserId(long userId); 135 136 /** 137 * Returns the user uuid of this membership request. 138 * 139 * @return the user uuid of this membership request 140 */ 141 public String getUserUuid(); 142 143 /** 144 * Sets the user uuid of this membership request. 145 * 146 * @param userUuid the user uuid of this membership request 147 */ 148 public void setUserUuid(String userUuid); 149 150 /** 151 * Returns the create date of this membership request. 152 * 153 * @return the create date of this membership request 154 */ 155 public Date getCreateDate(); 156 157 /** 158 * Sets the create date of this membership request. 159 * 160 * @param createDate the create date of this membership request 161 */ 162 public void setCreateDate(Date createDate); 163 164 /** 165 * Returns the comments of this membership request. 166 * 167 * @return the comments of this membership request 168 */ 169 @AutoEscape 170 public String getComments(); 171 172 /** 173 * Sets the comments of this membership request. 174 * 175 * @param comments the comments of this membership request 176 */ 177 public void setComments(String comments); 178 179 /** 180 * Returns the reply comments of this membership request. 181 * 182 * @return the reply comments of this membership request 183 */ 184 @AutoEscape 185 public String getReplyComments(); 186 187 /** 188 * Sets the reply comments of this membership request. 189 * 190 * @param replyComments the reply comments of this membership request 191 */ 192 public void setReplyComments(String replyComments); 193 194 /** 195 * Returns the reply date of this membership request. 196 * 197 * @return the reply date of this membership request 198 */ 199 public Date getReplyDate(); 200 201 /** 202 * Sets the reply date of this membership request. 203 * 204 * @param replyDate the reply date of this membership request 205 */ 206 public void setReplyDate(Date replyDate); 207 208 /** 209 * Returns the replier user ID of this membership request. 210 * 211 * @return the replier user ID of this membership request 212 */ 213 public long getReplierUserId(); 214 215 /** 216 * Sets the replier user ID of this membership request. 217 * 218 * @param replierUserId the replier user ID of this membership request 219 */ 220 public void setReplierUserId(long replierUserId); 221 222 /** 223 * Returns the replier user uuid of this membership request. 224 * 225 * @return the replier user uuid of this membership request 226 */ 227 public String getReplierUserUuid(); 228 229 /** 230 * Sets the replier user uuid of this membership request. 231 * 232 * @param replierUserUuid the replier user uuid of this membership request 233 */ 234 public void setReplierUserUuid(String replierUserUuid); 235 236 /** 237 * Returns the status ID of this membership request. 238 * 239 * @return the status ID of this membership request 240 */ 241 public long getStatusId(); 242 243 /** 244 * Sets the status ID of this membership request. 245 * 246 * @param statusId the status ID of this membership request 247 */ 248 public void setStatusId(long statusId); 249 250 @Override 251 public boolean isNew(); 252 253 @Override 254 public void setNew(boolean n); 255 256 @Override 257 public boolean isCachedModel(); 258 259 @Override 260 public void setCachedModel(boolean cachedModel); 261 262 @Override 263 public boolean isEscapedModel(); 264 265 @Override 266 public Serializable getPrimaryKeyObj(); 267 268 @Override 269 public void setPrimaryKeyObj(Serializable primaryKeyObj); 270 271 @Override 272 public ExpandoBridge getExpandoBridge(); 273 274 @Override 275 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 276 277 @Override 278 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 279 280 @Override 281 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 282 283 @Override 284 public Object clone(); 285 286 @Override 287 public int compareTo( 288 com.liferay.portal.model.MembershipRequest membershipRequest); 289 290 @Override 291 public int hashCode(); 292 293 @Override 294 public CacheModel<com.liferay.portal.model.MembershipRequest> toCacheModel(); 295 296 @Override 297 public com.liferay.portal.model.MembershipRequest toEscapedModel(); 298 299 @Override 300 public com.liferay.portal.model.MembershipRequest toUnescapedModel(); 301 302 @Override 303 public String toString(); 304 305 @Override 306 public String toXmlString(); 307 }