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.service.ServiceContext; 020 021 import com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 /** 026 * The base model interface for the RecentLayoutRevision service. Represents a row in the "RecentLayoutRevision" database table, with each column mapped to a property of this class. 027 * 028 * <p> 029 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.RecentLayoutRevisionModelImpl} 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.RecentLayoutRevisionImpl}. 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see RecentLayoutRevision 034 * @see com.liferay.portal.model.impl.RecentLayoutRevisionImpl 035 * @see com.liferay.portal.model.impl.RecentLayoutRevisionModelImpl 036 * @generated 037 */ 038 @ProviderType 039 public interface RecentLayoutRevisionModel extends BaseModel<RecentLayoutRevision>, 040 MVCCModel, ShardedModel { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a recent layout revision model instance should use the {@link RecentLayoutRevision} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this recent layout revision. 049 * 050 * @return the primary key of this recent layout revision 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this recent layout revision. 056 * 057 * @param primaryKey the primary key of this recent layout revision 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the mvcc version of this recent layout revision. 063 * 064 * @return the mvcc version of this recent layout revision 065 */ 066 @Override 067 public long getMvccVersion(); 068 069 /** 070 * Sets the mvcc version of this recent layout revision. 071 * 072 * @param mvccVersion the mvcc version of this recent layout revision 073 */ 074 @Override 075 public void setMvccVersion(long mvccVersion); 076 077 /** 078 * Returns the recent layout revision ID of this recent layout revision. 079 * 080 * @return the recent layout revision ID of this recent layout revision 081 */ 082 public long getRecentLayoutRevisionId(); 083 084 /** 085 * Sets the recent layout revision ID of this recent layout revision. 086 * 087 * @param recentLayoutRevisionId the recent layout revision ID of this recent layout revision 088 */ 089 public void setRecentLayoutRevisionId(long recentLayoutRevisionId); 090 091 /** 092 * Returns the group ID of this recent layout revision. 093 * 094 * @return the group ID of this recent layout revision 095 */ 096 public long getGroupId(); 097 098 /** 099 * Sets the group ID of this recent layout revision. 100 * 101 * @param groupId the group ID of this recent layout revision 102 */ 103 public void setGroupId(long groupId); 104 105 /** 106 * Returns the company ID of this recent layout revision. 107 * 108 * @return the company ID of this recent layout revision 109 */ 110 @Override 111 public long getCompanyId(); 112 113 /** 114 * Sets the company ID of this recent layout revision. 115 * 116 * @param companyId the company ID of this recent layout revision 117 */ 118 @Override 119 public void setCompanyId(long companyId); 120 121 /** 122 * Returns the user ID of this recent layout revision. 123 * 124 * @return the user ID of this recent layout revision 125 */ 126 public long getUserId(); 127 128 /** 129 * Sets the user ID of this recent layout revision. 130 * 131 * @param userId the user ID of this recent layout revision 132 */ 133 public void setUserId(long userId); 134 135 /** 136 * Returns the user uuid of this recent layout revision. 137 * 138 * @return the user uuid of this recent layout revision 139 */ 140 public String getUserUuid(); 141 142 /** 143 * Sets the user uuid of this recent layout revision. 144 * 145 * @param userUuid the user uuid of this recent layout revision 146 */ 147 public void setUserUuid(String userUuid); 148 149 /** 150 * Returns the layout revision ID of this recent layout revision. 151 * 152 * @return the layout revision ID of this recent layout revision 153 */ 154 public long getLayoutRevisionId(); 155 156 /** 157 * Sets the layout revision ID of this recent layout revision. 158 * 159 * @param layoutRevisionId the layout revision ID of this recent layout revision 160 */ 161 public void setLayoutRevisionId(long layoutRevisionId); 162 163 /** 164 * Returns the layout set branch ID of this recent layout revision. 165 * 166 * @return the layout set branch ID of this recent layout revision 167 */ 168 public long getLayoutSetBranchId(); 169 170 /** 171 * Sets the layout set branch ID of this recent layout revision. 172 * 173 * @param layoutSetBranchId the layout set branch ID of this recent layout revision 174 */ 175 public void setLayoutSetBranchId(long layoutSetBranchId); 176 177 /** 178 * Returns the plid of this recent layout revision. 179 * 180 * @return the plid of this recent layout revision 181 */ 182 public long getPlid(); 183 184 /** 185 * Sets the plid of this recent layout revision. 186 * 187 * @param plid the plid of this recent layout revision 188 */ 189 public void setPlid(long plid); 190 191 @Override 192 public boolean isNew(); 193 194 @Override 195 public void setNew(boolean n); 196 197 @Override 198 public boolean isCachedModel(); 199 200 @Override 201 public void setCachedModel(boolean cachedModel); 202 203 @Override 204 public boolean isEscapedModel(); 205 206 @Override 207 public Serializable getPrimaryKeyObj(); 208 209 @Override 210 public void setPrimaryKeyObj(Serializable primaryKeyObj); 211 212 @Override 213 public ExpandoBridge getExpandoBridge(); 214 215 @Override 216 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 217 218 @Override 219 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 220 221 @Override 222 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 223 224 @Override 225 public Object clone(); 226 227 @Override 228 public int compareTo( 229 com.liferay.portal.model.RecentLayoutRevision recentLayoutRevision); 230 231 @Override 232 public int hashCode(); 233 234 @Override 235 public CacheModel<com.liferay.portal.model.RecentLayoutRevision> toCacheModel(); 236 237 @Override 238 public com.liferay.portal.model.RecentLayoutRevision toEscapedModel(); 239 240 @Override 241 public com.liferay.portal.model.RecentLayoutRevision toUnescapedModel(); 242 243 @Override 244 public String toString(); 245 246 @Override 247 public String toXmlString(); 248 }