001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portal.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.service.ServiceContext; 019 020 import com.liferay.portlet.expando.model.ExpandoBridge; 021 022 import java.io.Serializable; 023 024 /** 025 * The base model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class. 026 * 027 * <p> 028 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.LayoutSetModelImpl} 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.LayoutSetImpl}. 029 * </p> 030 * 031 * <p> 032 * Never modify or reference this interface directly. All methods that expect a layout set model instance should use the {@link LayoutSet} interface instead. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see LayoutSet 037 * @see com.liferay.portal.model.impl.LayoutSetImpl 038 * @see com.liferay.portal.model.impl.LayoutSetModelImpl 039 * @generated 040 */ 041 public interface LayoutSetModel extends BaseModel<LayoutSet> { 042 /** 043 * Gets the primary key of this layout set. 044 * 045 * @return the primary key of this layout set 046 */ 047 public long getPrimaryKey(); 048 049 /** 050 * Sets the primary key of this layout set 051 * 052 * @param pk the primary key of this layout set 053 */ 054 public void setPrimaryKey(long pk); 055 056 /** 057 * Gets the layout set id of this layout set. 058 * 059 * @return the layout set id of this layout set 060 */ 061 public long getLayoutSetId(); 062 063 /** 064 * Sets the layout set id of this layout set. 065 * 066 * @param layoutSetId the layout set id of this layout set 067 */ 068 public void setLayoutSetId(long layoutSetId); 069 070 /** 071 * Gets the group id of this layout set. 072 * 073 * @return the group id of this layout set 074 */ 075 public long getGroupId(); 076 077 /** 078 * Sets the group id of this layout set. 079 * 080 * @param groupId the group id of this layout set 081 */ 082 public void setGroupId(long groupId); 083 084 /** 085 * Gets the company id of this layout set. 086 * 087 * @return the company id of this layout set 088 */ 089 public long getCompanyId(); 090 091 /** 092 * Sets the company id of this layout set. 093 * 094 * @param companyId the company id of this layout set 095 */ 096 public void setCompanyId(long companyId); 097 098 /** 099 * Gets the private layout of this layout set. 100 * 101 * @return the private layout of this layout set 102 */ 103 public boolean getPrivateLayout(); 104 105 /** 106 * Determines whether this layout set is private layout. 107 * 108 * @return whether this layout set is private layout 109 */ 110 public boolean isPrivateLayout(); 111 112 /** 113 * Sets whether this {$entity.humanName} is private layout. 114 * 115 * @param privateLayout the private layout of this layout set 116 */ 117 public void setPrivateLayout(boolean privateLayout); 118 119 /** 120 * Gets the logo of this layout set. 121 * 122 * @return the logo of this layout set 123 */ 124 public boolean getLogo(); 125 126 /** 127 * Determines whether this layout set is logo. 128 * 129 * @return whether this layout set is logo 130 */ 131 public boolean isLogo(); 132 133 /** 134 * Sets whether this {$entity.humanName} is logo. 135 * 136 * @param logo the logo of this layout set 137 */ 138 public void setLogo(boolean logo); 139 140 /** 141 * Gets the logo id of this layout set. 142 * 143 * @return the logo id of this layout set 144 */ 145 public long getLogoId(); 146 147 /** 148 * Sets the logo id of this layout set. 149 * 150 * @param logoId the logo id of this layout set 151 */ 152 public void setLogoId(long logoId); 153 154 /** 155 * Gets the theme id of this layout set. 156 * 157 * @return the theme id of this layout set 158 */ 159 @AutoEscape 160 public String getThemeId(); 161 162 /** 163 * Sets the theme id of this layout set. 164 * 165 * @param themeId the theme id of this layout set 166 */ 167 public void setThemeId(String themeId); 168 169 /** 170 * Gets the color scheme id of this layout set. 171 * 172 * @return the color scheme id of this layout set 173 */ 174 @AutoEscape 175 public String getColorSchemeId(); 176 177 /** 178 * Sets the color scheme id of this layout set. 179 * 180 * @param colorSchemeId the color scheme id of this layout set 181 */ 182 public void setColorSchemeId(String colorSchemeId); 183 184 /** 185 * Gets the wap theme id of this layout set. 186 * 187 * @return the wap theme id of this layout set 188 */ 189 @AutoEscape 190 public String getWapThemeId(); 191 192 /** 193 * Sets the wap theme id of this layout set. 194 * 195 * @param wapThemeId the wap theme id of this layout set 196 */ 197 public void setWapThemeId(String wapThemeId); 198 199 /** 200 * Gets the wap color scheme id of this layout set. 201 * 202 * @return the wap color scheme id of this layout set 203 */ 204 @AutoEscape 205 public String getWapColorSchemeId(); 206 207 /** 208 * Sets the wap color scheme id of this layout set. 209 * 210 * @param wapColorSchemeId the wap color scheme id of this layout set 211 */ 212 public void setWapColorSchemeId(String wapColorSchemeId); 213 214 /** 215 * Gets the css of this layout set. 216 * 217 * @return the css of this layout set 218 */ 219 @AutoEscape 220 public String getCss(); 221 222 /** 223 * Sets the css of this layout set. 224 * 225 * @param css the css of this layout set 226 */ 227 public void setCss(String css); 228 229 /** 230 * Gets the page count of this layout set. 231 * 232 * @return the page count of this layout set 233 */ 234 public int getPageCount(); 235 236 /** 237 * Sets the page count of this layout set. 238 * 239 * @param pageCount the page count of this layout set 240 */ 241 public void setPageCount(int pageCount); 242 243 /** 244 * Gets the virtual host of this layout set. 245 * 246 * @return the virtual host of this layout set 247 */ 248 @AutoEscape 249 public String getVirtualHost(); 250 251 /** 252 * Sets the virtual host of this layout set. 253 * 254 * @param virtualHost the virtual host of this layout set 255 */ 256 public void setVirtualHost(String virtualHost); 257 258 /** 259 * Gets the settings of this layout set. 260 * 261 * @return the settings of this layout set 262 */ 263 @AutoEscape 264 public String getSettings(); 265 266 /** 267 * Sets the settings of this layout set. 268 * 269 * @param settings the settings of this layout set 270 */ 271 public void setSettings(String settings); 272 273 /** 274 * Gets the layout set prototype id of this layout set. 275 * 276 * @return the layout set prototype id of this layout set 277 */ 278 public long getLayoutSetPrototypeId(); 279 280 /** 281 * Sets the layout set prototype id of this layout set. 282 * 283 * @param layoutSetPrototypeId the layout set prototype id of this layout set 284 */ 285 public void setLayoutSetPrototypeId(long layoutSetPrototypeId); 286 287 public boolean isNew(); 288 289 public void setNew(boolean n); 290 291 public boolean isCachedModel(); 292 293 public void setCachedModel(boolean cachedModel); 294 295 public boolean isEscapedModel(); 296 297 public void setEscapedModel(boolean escapedModel); 298 299 public Serializable getPrimaryKeyObj(); 300 301 public ExpandoBridge getExpandoBridge(); 302 303 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 304 305 public Object clone(); 306 307 public int compareTo(LayoutSet layoutSet); 308 309 public int hashCode(); 310 311 public LayoutSet toEscapedModel(); 312 313 public String toString(); 314 315 public String toXmlString(); 316 }