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