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