001 /** 002 * Copyright (c) 2000-2010 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.journal.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 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 JournalTemplate service. Represents a row in the "JournalTemplate" 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.portlet.journal.model.impl.JournalTemplateModelImpl} 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.journal.model.impl.JournalTemplateImpl}. 033 * </p> 034 * 035 * <p> 036 * Never modify or reference this interface directly. All methods that expect a journal template model instance should use the {@link JournalTemplate} interface instead. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see JournalTemplate 041 * @see com.liferay.portlet.journal.model.impl.JournalTemplateImpl 042 * @see com.liferay.portlet.journal.model.impl.JournalTemplateModelImpl 043 * @generated 044 */ 045 public interface JournalTemplateModel extends BaseModel<JournalTemplate> { 046 /** 047 * Gets the primary key of this journal template. 048 * 049 * @return the primary key of this journal template 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this journal template 055 * 056 * @param pk the primary key of this journal template 057 */ 058 public void setPrimaryKey(long pk); 059 060 /** 061 * Gets the uuid of this journal template. 062 * 063 * @return the uuid of this journal template 064 */ 065 @AutoEscape 066 public String getUuid(); 067 068 /** 069 * Sets the uuid of this journal template. 070 * 071 * @param uuid the uuid of this journal template 072 */ 073 public void setUuid(String uuid); 074 075 /** 076 * Gets the id of this journal template. 077 * 078 * @return the id of this journal template 079 */ 080 public long getId(); 081 082 /** 083 * Sets the id of this journal template. 084 * 085 * @param id the id of this journal template 086 */ 087 public void setId(long id); 088 089 /** 090 * Gets the group id of this journal template. 091 * 092 * @return the group id of this journal template 093 */ 094 public long getGroupId(); 095 096 /** 097 * Sets the group id of this journal template. 098 * 099 * @param groupId the group id of this journal template 100 */ 101 public void setGroupId(long groupId); 102 103 /** 104 * Gets the company id of this journal template. 105 * 106 * @return the company id of this journal template 107 */ 108 public long getCompanyId(); 109 110 /** 111 * Sets the company id of this journal template. 112 * 113 * @param companyId the company id of this journal template 114 */ 115 public void setCompanyId(long companyId); 116 117 /** 118 * Gets the user id of this journal template. 119 * 120 * @return the user id of this journal template 121 */ 122 public long getUserId(); 123 124 /** 125 * Sets the user id of this journal template. 126 * 127 * @param userId the user id of this journal template 128 */ 129 public void setUserId(long userId); 130 131 /** 132 * Gets the user uuid of this journal template. 133 * 134 * @return the user uuid of this journal template 135 * @throws SystemException if a system exception occurred 136 */ 137 public String getUserUuid() throws SystemException; 138 139 /** 140 * Sets the user uuid of this journal template. 141 * 142 * @param userUuid the user uuid of this journal template 143 */ 144 public void setUserUuid(String userUuid); 145 146 /** 147 * Gets the user name of this journal template. 148 * 149 * @return the user name of this journal template 150 */ 151 @AutoEscape 152 public String getUserName(); 153 154 /** 155 * Sets the user name of this journal template. 156 * 157 * @param userName the user name of this journal template 158 */ 159 public void setUserName(String userName); 160 161 /** 162 * Gets the create date of this journal template. 163 * 164 * @return the create date of this journal template 165 */ 166 public Date getCreateDate(); 167 168 /** 169 * Sets the create date of this journal template. 170 * 171 * @param createDate the create date of this journal template 172 */ 173 public void setCreateDate(Date createDate); 174 175 /** 176 * Gets the modified date of this journal template. 177 * 178 * @return the modified date of this journal template 179 */ 180 public Date getModifiedDate(); 181 182 /** 183 * Sets the modified date of this journal template. 184 * 185 * @param modifiedDate the modified date of this journal template 186 */ 187 public void setModifiedDate(Date modifiedDate); 188 189 /** 190 * Gets the template id of this journal template. 191 * 192 * @return the template id of this journal template 193 */ 194 public String getTemplateId(); 195 196 /** 197 * Sets the template id of this journal template. 198 * 199 * @param templateId the template id of this journal template 200 */ 201 public void setTemplateId(String templateId); 202 203 /** 204 * Gets the structure id of this journal template. 205 * 206 * @return the structure id of this journal template 207 */ 208 public String getStructureId(); 209 210 /** 211 * Sets the structure id of this journal template. 212 * 213 * @param structureId the structure id of this journal template 214 */ 215 public void setStructureId(String structureId); 216 217 /** 218 * Gets the name of this journal template. 219 * 220 * @return the name of this journal template 221 */ 222 @AutoEscape 223 public String getName(); 224 225 /** 226 * Sets the name of this journal template. 227 * 228 * @param name the name of this journal template 229 */ 230 public void setName(String name); 231 232 /** 233 * Gets the description of this journal template. 234 * 235 * @return the description of this journal template 236 */ 237 @AutoEscape 238 public String getDescription(); 239 240 /** 241 * Sets the description of this journal template. 242 * 243 * @param description the description of this journal template 244 */ 245 public void setDescription(String description); 246 247 /** 248 * Gets the xsl of this journal template. 249 * 250 * @return the xsl of this journal template 251 */ 252 @AutoEscape 253 public String getXsl(); 254 255 /** 256 * Sets the xsl of this journal template. 257 * 258 * @param xsl the xsl of this journal template 259 */ 260 public void setXsl(String xsl); 261 262 /** 263 * Gets the lang type of this journal template. 264 * 265 * @return the lang type of this journal template 266 */ 267 @AutoEscape 268 public String getLangType(); 269 270 /** 271 * Sets the lang type of this journal template. 272 * 273 * @param langType the lang type of this journal template 274 */ 275 public void setLangType(String langType); 276 277 /** 278 * Gets the cacheable of this journal template. 279 * 280 * @return the cacheable of this journal template 281 */ 282 public boolean getCacheable(); 283 284 /** 285 * Determines whether this journal template is cacheable. 286 * 287 * @return whether this journal template is cacheable 288 */ 289 public boolean isCacheable(); 290 291 /** 292 * Sets whether this {$entity.humanName} is cacheable. 293 * 294 * @param cacheable the cacheable of this journal template 295 */ 296 public void setCacheable(boolean cacheable); 297 298 /** 299 * Gets the small image of this journal template. 300 * 301 * @return the small image of this journal template 302 */ 303 public boolean getSmallImage(); 304 305 /** 306 * Determines whether this journal template is small image. 307 * 308 * @return whether this journal template is small image 309 */ 310 public boolean isSmallImage(); 311 312 /** 313 * Sets whether this {$entity.humanName} is small image. 314 * 315 * @param smallImage the small image of this journal template 316 */ 317 public void setSmallImage(boolean smallImage); 318 319 /** 320 * Gets the small image id of this journal template. 321 * 322 * @return the small image id of this journal template 323 */ 324 public long getSmallImageId(); 325 326 /** 327 * Sets the small image id of this journal template. 328 * 329 * @param smallImageId the small image id of this journal template 330 */ 331 public void setSmallImageId(long smallImageId); 332 333 /** 334 * Gets the small image u r l of this journal template. 335 * 336 * @return the small image u r l of this journal template 337 */ 338 @AutoEscape 339 public String getSmallImageURL(); 340 341 /** 342 * Sets the small image u r l of this journal template. 343 * 344 * @param smallImageURL the small image u r l of this journal template 345 */ 346 public void setSmallImageURL(String smallImageURL); 347 348 /** 349 * Gets a copy of this journal template as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 350 * 351 * @return the escaped model instance 352 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 353 */ 354 public JournalTemplate toEscapedModel(); 355 356 public boolean isNew(); 357 358 public void setNew(boolean n); 359 360 public boolean isCachedModel(); 361 362 public void setCachedModel(boolean cachedModel); 363 364 public boolean isEscapedModel(); 365 366 public void setEscapedModel(boolean escapedModel); 367 368 public Serializable getPrimaryKeyObj(); 369 370 public ExpandoBridge getExpandoBridge(); 371 372 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 373 374 public Object clone(); 375 376 public int compareTo(JournalTemplate journalTemplate); 377 378 public int hashCode(); 379 380 public String toString(); 381 382 public String toXmlString(); 383 }