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 RepositoryEntry service. Represents a row in the "RepositoryEntry" 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.RepositoryEntryModelImpl} 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.RepositoryEntryImpl}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see RepositoryEntry 037 * @see com.liferay.portal.model.impl.RepositoryEntryImpl 038 * @see com.liferay.portal.model.impl.RepositoryEntryModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface RepositoryEntryModel extends BaseModel<RepositoryEntry>, 043 MVCCModel, ShardedModel, StagedGroupedModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a repository entry model instance should use the {@link RepositoryEntry} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this repository entry. 052 * 053 * @return the primary key of this repository entry 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this repository entry. 059 * 060 * @param primaryKey the primary key of this repository entry 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the mvcc version of this repository entry. 066 * 067 * @return the mvcc version of this repository entry 068 */ 069 @Override 070 public long getMvccVersion(); 071 072 /** 073 * Sets the mvcc version of this repository entry. 074 * 075 * @param mvccVersion the mvcc version of this repository entry 076 */ 077 @Override 078 public void setMvccVersion(long mvccVersion); 079 080 /** 081 * Returns the uuid of this repository entry. 082 * 083 * @return the uuid of this repository entry 084 */ 085 @AutoEscape 086 @Override 087 public String getUuid(); 088 089 /** 090 * Sets the uuid of this repository entry. 091 * 092 * @param uuid the uuid of this repository entry 093 */ 094 @Override 095 public void setUuid(String uuid); 096 097 /** 098 * Returns the repository entry ID of this repository entry. 099 * 100 * @return the repository entry ID of this repository entry 101 */ 102 public long getRepositoryEntryId(); 103 104 /** 105 * Sets the repository entry ID of this repository entry. 106 * 107 * @param repositoryEntryId the repository entry ID of this repository entry 108 */ 109 public void setRepositoryEntryId(long repositoryEntryId); 110 111 /** 112 * Returns the group ID of this repository entry. 113 * 114 * @return the group ID of this repository entry 115 */ 116 @Override 117 public long getGroupId(); 118 119 /** 120 * Sets the group ID of this repository entry. 121 * 122 * @param groupId the group ID of this repository entry 123 */ 124 @Override 125 public void setGroupId(long groupId); 126 127 /** 128 * Returns the company ID of this repository entry. 129 * 130 * @return the company ID of this repository entry 131 */ 132 @Override 133 public long getCompanyId(); 134 135 /** 136 * Sets the company ID of this repository entry. 137 * 138 * @param companyId the company ID of this repository entry 139 */ 140 @Override 141 public void setCompanyId(long companyId); 142 143 /** 144 * Returns the user ID of this repository entry. 145 * 146 * @return the user ID of this repository entry 147 */ 148 @Override 149 public long getUserId(); 150 151 /** 152 * Sets the user ID of this repository entry. 153 * 154 * @param userId the user ID of this repository entry 155 */ 156 @Override 157 public void setUserId(long userId); 158 159 /** 160 * Returns the user uuid of this repository entry. 161 * 162 * @return the user uuid of this repository entry 163 */ 164 @Override 165 public String getUserUuid(); 166 167 /** 168 * Sets the user uuid of this repository entry. 169 * 170 * @param userUuid the user uuid of this repository entry 171 */ 172 @Override 173 public void setUserUuid(String userUuid); 174 175 /** 176 * Returns the user name of this repository entry. 177 * 178 * @return the user name of this repository entry 179 */ 180 @AutoEscape 181 @Override 182 public String getUserName(); 183 184 /** 185 * Sets the user name of this repository entry. 186 * 187 * @param userName the user name of this repository entry 188 */ 189 @Override 190 public void setUserName(String userName); 191 192 /** 193 * Returns the create date of this repository entry. 194 * 195 * @return the create date of this repository entry 196 */ 197 @Override 198 public Date getCreateDate(); 199 200 /** 201 * Sets the create date of this repository entry. 202 * 203 * @param createDate the create date of this repository entry 204 */ 205 @Override 206 public void setCreateDate(Date createDate); 207 208 /** 209 * Returns the modified date of this repository entry. 210 * 211 * @return the modified date of this repository entry 212 */ 213 @Override 214 public Date getModifiedDate(); 215 216 /** 217 * Sets the modified date of this repository entry. 218 * 219 * @param modifiedDate the modified date of this repository entry 220 */ 221 @Override 222 public void setModifiedDate(Date modifiedDate); 223 224 /** 225 * Returns the repository ID of this repository entry. 226 * 227 * @return the repository ID of this repository entry 228 */ 229 public long getRepositoryId(); 230 231 /** 232 * Sets the repository ID of this repository entry. 233 * 234 * @param repositoryId the repository ID of this repository entry 235 */ 236 public void setRepositoryId(long repositoryId); 237 238 /** 239 * Returns the mapped ID of this repository entry. 240 * 241 * @return the mapped ID of this repository entry 242 */ 243 @AutoEscape 244 public String getMappedId(); 245 246 /** 247 * Sets the mapped ID of this repository entry. 248 * 249 * @param mappedId the mapped ID of this repository entry 250 */ 251 public void setMappedId(String mappedId); 252 253 /** 254 * Returns the manual check in required of this repository entry. 255 * 256 * @return the manual check in required of this repository entry 257 */ 258 public boolean getManualCheckInRequired(); 259 260 /** 261 * Returns <code>true</code> if this repository entry is manual check in required. 262 * 263 * @return <code>true</code> if this repository entry is manual check in required; <code>false</code> otherwise 264 */ 265 public boolean isManualCheckInRequired(); 266 267 /** 268 * Sets whether this repository entry is manual check in required. 269 * 270 * @param manualCheckInRequired the manual check in required of this repository entry 271 */ 272 public void setManualCheckInRequired(boolean manualCheckInRequired); 273 274 /** 275 * Returns the last publish date of this repository entry. 276 * 277 * @return the last publish date of this repository entry 278 */ 279 @Override 280 public Date getLastPublishDate(); 281 282 /** 283 * Sets the last publish date of this repository entry. 284 * 285 * @param lastPublishDate the last publish date of this repository entry 286 */ 287 @Override 288 public void setLastPublishDate(Date lastPublishDate); 289 290 @Override 291 public boolean isNew(); 292 293 @Override 294 public void setNew(boolean n); 295 296 @Override 297 public boolean isCachedModel(); 298 299 @Override 300 public void setCachedModel(boolean cachedModel); 301 302 @Override 303 public boolean isEscapedModel(); 304 305 @Override 306 public Serializable getPrimaryKeyObj(); 307 308 @Override 309 public void setPrimaryKeyObj(Serializable primaryKeyObj); 310 311 @Override 312 public ExpandoBridge getExpandoBridge(); 313 314 @Override 315 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 316 317 @Override 318 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 319 320 @Override 321 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 322 323 @Override 324 public Object clone(); 325 326 @Override 327 public int compareTo( 328 com.liferay.portal.model.RepositoryEntry repositoryEntry); 329 330 @Override 331 public int hashCode(); 332 333 @Override 334 public CacheModel<com.liferay.portal.model.RepositoryEntry> toCacheModel(); 335 336 @Override 337 public com.liferay.portal.model.RepositoryEntry toEscapedModel(); 338 339 @Override 340 public com.liferay.portal.model.RepositoryEntry toUnescapedModel(); 341 342 @Override 343 public String toString(); 344 345 @Override 346 public String toXmlString(); 347 }