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, ShardedModel { 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 @Override 114 public long getCompanyId(); 115 116 /** 117 * Sets the company ID of this membership request. 118 * 119 * @param companyId the company ID of this membership request 120 */ 121 @Override 122 public void setCompanyId(long companyId); 123 124 /** 125 * Returns the user ID of this membership request. 126 * 127 * @return the user ID of this membership request 128 */ 129 public long getUserId(); 130 131 /** 132 * Sets the user ID of this membership request. 133 * 134 * @param userId the user ID of this membership request 135 */ 136 public void setUserId(long userId); 137 138 /** 139 * Returns the user uuid of this membership request. 140 * 141 * @return the user uuid of this membership request 142 */ 143 public String getUserUuid(); 144 145 /** 146 * Sets the user uuid of this membership request. 147 * 148 * @param userUuid the user uuid of this membership request 149 */ 150 public void setUserUuid(String userUuid); 151 152 /** 153 * Returns the create date of this membership request. 154 * 155 * @return the create date of this membership request 156 */ 157 public Date getCreateDate(); 158 159 /** 160 * Sets the create date of this membership request. 161 * 162 * @param createDate the create date of this membership request 163 */ 164 public void setCreateDate(Date createDate); 165 166 /** 167 * Returns the comments of this membership request. 168 * 169 * @return the comments of this membership request 170 */ 171 @AutoEscape 172 public String getComments(); 173 174 /** 175 * Sets the comments of this membership request. 176 * 177 * @param comments the comments of this membership request 178 */ 179 public void setComments(String comments); 180 181 /** 182 * Returns the reply comments of this membership request. 183 * 184 * @return the reply comments of this membership request 185 */ 186 @AutoEscape 187 public String getReplyComments(); 188 189 /** 190 * Sets the reply comments of this membership request. 191 * 192 * @param replyComments the reply comments of this membership request 193 */ 194 public void setReplyComments(String replyComments); 195 196 /** 197 * Returns the reply date of this membership request. 198 * 199 * @return the reply date of this membership request 200 */ 201 public Date getReplyDate(); 202 203 /** 204 * Sets the reply date of this membership request. 205 * 206 * @param replyDate the reply date of this membership request 207 */ 208 public void setReplyDate(Date replyDate); 209 210 /** 211 * Returns the replier user ID of this membership request. 212 * 213 * @return the replier user ID of this membership request 214 */ 215 public long getReplierUserId(); 216 217 /** 218 * Sets the replier user ID of this membership request. 219 * 220 * @param replierUserId the replier user ID of this membership request 221 */ 222 public void setReplierUserId(long replierUserId); 223 224 /** 225 * Returns the replier user uuid of this membership request. 226 * 227 * @return the replier user uuid of this membership request 228 */ 229 public String getReplierUserUuid(); 230 231 /** 232 * Sets the replier user uuid of this membership request. 233 * 234 * @param replierUserUuid the replier user uuid of this membership request 235 */ 236 public void setReplierUserUuid(String replierUserUuid); 237 238 /** 239 * Returns the status ID of this membership request. 240 * 241 * @return the status ID of this membership request 242 */ 243 public long getStatusId(); 244 245 /** 246 * Sets the status ID of this membership request. 247 * 248 * @param statusId the status ID of this membership request 249 */ 250 public void setStatusId(long statusId); 251 252 @Override 253 public boolean isNew(); 254 255 @Override 256 public void setNew(boolean n); 257 258 @Override 259 public boolean isCachedModel(); 260 261 @Override 262 public void setCachedModel(boolean cachedModel); 263 264 @Override 265 public boolean isEscapedModel(); 266 267 @Override 268 public Serializable getPrimaryKeyObj(); 269 270 @Override 271 public void setPrimaryKeyObj(Serializable primaryKeyObj); 272 273 @Override 274 public ExpandoBridge getExpandoBridge(); 275 276 @Override 277 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 278 279 @Override 280 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 281 282 @Override 283 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 284 285 @Override 286 public Object clone(); 287 288 @Override 289 public int compareTo( 290 com.liferay.portal.model.MembershipRequest membershipRequest); 291 292 @Override 293 public int hashCode(); 294 295 @Override 296 public CacheModel<com.liferay.portal.model.MembershipRequest> toCacheModel(); 297 298 @Override 299 public com.liferay.portal.model.MembershipRequest toEscapedModel(); 300 301 @Override 302 public com.liferay.portal.model.MembershipRequest toUnescapedModel(); 303 304 @Override 305 public String toString(); 306 307 @Override 308 public String toXmlString(); 309 }