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.portlet.messageboards.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.StagedGroupedModel; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.expando.model.ExpandoBridge; 026 027 import java.io.Serializable; 028 029 import java.util.Date; 030 031 /** 032 * The base model interface for the MBBan service. Represents a row in the "MBBan" database table, with each column mapped to a property of this class. 033 * 034 * <p> 035 * This interface and its corresponding implementation {@link com.liferay.portlet.messageboards.model.impl.MBBanModelImpl} 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.portlet.messageboards.model.impl.MBBanImpl}. 036 * </p> 037 * 038 * @author Brian Wing Shun Chan 039 * @see MBBan 040 * @see com.liferay.portlet.messageboards.model.impl.MBBanImpl 041 * @see com.liferay.portlet.messageboards.model.impl.MBBanModelImpl 042 * @generated 043 */ 044 @ProviderType 045 public interface MBBanModel extends BaseModel<MBBan>, StagedGroupedModel { 046 /* 047 * NOTE FOR DEVELOPERS: 048 * 049 * Never modify or reference this interface directly. All methods that expect a message boards ban model instance should use the {@link MBBan} interface instead. 050 */ 051 052 /** 053 * Returns the primary key of this message boards ban. 054 * 055 * @return the primary key of this message boards ban 056 */ 057 public long getPrimaryKey(); 058 059 /** 060 * Sets the primary key of this message boards ban. 061 * 062 * @param primaryKey the primary key of this message boards ban 063 */ 064 public void setPrimaryKey(long primaryKey); 065 066 /** 067 * Returns the uuid of this message boards ban. 068 * 069 * @return the uuid of this message boards ban 070 */ 071 @AutoEscape 072 @Override 073 public String getUuid(); 074 075 /** 076 * Sets the uuid of this message boards ban. 077 * 078 * @param uuid the uuid of this message boards ban 079 */ 080 @Override 081 public void setUuid(String uuid); 082 083 /** 084 * Returns the ban ID of this message boards ban. 085 * 086 * @return the ban ID of this message boards ban 087 */ 088 public long getBanId(); 089 090 /** 091 * Sets the ban ID of this message boards ban. 092 * 093 * @param banId the ban ID of this message boards ban 094 */ 095 public void setBanId(long banId); 096 097 /** 098 * Returns the group ID of this message boards ban. 099 * 100 * @return the group ID of this message boards ban 101 */ 102 @Override 103 public long getGroupId(); 104 105 /** 106 * Sets the group ID of this message boards ban. 107 * 108 * @param groupId the group ID of this message boards ban 109 */ 110 @Override 111 public void setGroupId(long groupId); 112 113 /** 114 * Returns the company ID of this message boards ban. 115 * 116 * @return the company ID of this message boards ban 117 */ 118 @Override 119 public long getCompanyId(); 120 121 /** 122 * Sets the company ID of this message boards ban. 123 * 124 * @param companyId the company ID of this message boards ban 125 */ 126 @Override 127 public void setCompanyId(long companyId); 128 129 /** 130 * Returns the user ID of this message boards ban. 131 * 132 * @return the user ID of this message boards ban 133 */ 134 @Override 135 public long getUserId(); 136 137 /** 138 * Sets the user ID of this message boards ban. 139 * 140 * @param userId the user ID of this message boards ban 141 */ 142 @Override 143 public void setUserId(long userId); 144 145 /** 146 * Returns the user uuid of this message boards ban. 147 * 148 * @return the user uuid of this message boards ban 149 */ 150 @Override 151 public String getUserUuid(); 152 153 /** 154 * Sets the user uuid of this message boards ban. 155 * 156 * @param userUuid the user uuid of this message boards ban 157 */ 158 @Override 159 public void setUserUuid(String userUuid); 160 161 /** 162 * Returns the user name of this message boards ban. 163 * 164 * @return the user name of this message boards ban 165 */ 166 @AutoEscape 167 @Override 168 public String getUserName(); 169 170 /** 171 * Sets the user name of this message boards ban. 172 * 173 * @param userName the user name of this message boards ban 174 */ 175 @Override 176 public void setUserName(String userName); 177 178 /** 179 * Returns the create date of this message boards ban. 180 * 181 * @return the create date of this message boards ban 182 */ 183 @Override 184 public Date getCreateDate(); 185 186 /** 187 * Sets the create date of this message boards ban. 188 * 189 * @param createDate the create date of this message boards ban 190 */ 191 @Override 192 public void setCreateDate(Date createDate); 193 194 /** 195 * Returns the modified date of this message boards ban. 196 * 197 * @return the modified date of this message boards ban 198 */ 199 @Override 200 public Date getModifiedDate(); 201 202 /** 203 * Sets the modified date of this message boards ban. 204 * 205 * @param modifiedDate the modified date of this message boards ban 206 */ 207 @Override 208 public void setModifiedDate(Date modifiedDate); 209 210 /** 211 * Returns the ban user ID of this message boards ban. 212 * 213 * @return the ban user ID of this message boards ban 214 */ 215 public long getBanUserId(); 216 217 /** 218 * Sets the ban user ID of this message boards ban. 219 * 220 * @param banUserId the ban user ID of this message boards ban 221 */ 222 public void setBanUserId(long banUserId); 223 224 /** 225 * Returns the ban user uuid of this message boards ban. 226 * 227 * @return the ban user uuid of this message boards ban 228 */ 229 public String getBanUserUuid(); 230 231 /** 232 * Sets the ban user uuid of this message boards ban. 233 * 234 * @param banUserUuid the ban user uuid of this message boards ban 235 */ 236 public void setBanUserUuid(String banUserUuid); 237 238 @Override 239 public boolean isNew(); 240 241 @Override 242 public void setNew(boolean n); 243 244 @Override 245 public boolean isCachedModel(); 246 247 @Override 248 public void setCachedModel(boolean cachedModel); 249 250 @Override 251 public boolean isEscapedModel(); 252 253 @Override 254 public Serializable getPrimaryKeyObj(); 255 256 @Override 257 public void setPrimaryKeyObj(Serializable primaryKeyObj); 258 259 @Override 260 public ExpandoBridge getExpandoBridge(); 261 262 @Override 263 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 264 265 @Override 266 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 267 268 @Override 269 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 270 271 @Override 272 public Object clone(); 273 274 @Override 275 public int compareTo(com.liferay.portlet.messageboards.model.MBBan mbBan); 276 277 @Override 278 public int hashCode(); 279 280 @Override 281 public CacheModel<com.liferay.portlet.messageboards.model.MBBan> toCacheModel(); 282 283 @Override 284 public com.liferay.portlet.messageboards.model.MBBan toEscapedModel(); 285 286 @Override 287 public com.liferay.portlet.messageboards.model.MBBan toUnescapedModel(); 288 289 @Override 290 public String toString(); 291 292 @Override 293 public String toXmlString(); 294 }