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     * <p>
030     * This interface is a model that represents the JournalTemplate table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       JournalTemplate
036     * @see       com.liferay.portlet.journal.model.impl.JournalTemplateImpl
037     * @see       com.liferay.portlet.journal.model.impl.JournalTemplateModelImpl
038     * @generated
039     */
040    public interface JournalTemplateModel extends BaseModel<JournalTemplate> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            @AutoEscape
046            public String getUuid();
047    
048            public void setUuid(String uuid);
049    
050            public long getId();
051    
052            public void setId(long id);
053    
054            public long getGroupId();
055    
056            public void setGroupId(long groupId);
057    
058            public long getCompanyId();
059    
060            public void setCompanyId(long companyId);
061    
062            public long getUserId();
063    
064            public void setUserId(long userId);
065    
066            public String getUserUuid() throws SystemException;
067    
068            public void setUserUuid(String userUuid);
069    
070            @AutoEscape
071            public String getUserName();
072    
073            public void setUserName(String userName);
074    
075            public Date getCreateDate();
076    
077            public void setCreateDate(Date createDate);
078    
079            public Date getModifiedDate();
080    
081            public void setModifiedDate(Date modifiedDate);
082    
083            public String getTemplateId();
084    
085            public void setTemplateId(String templateId);
086    
087            public String getStructureId();
088    
089            public void setStructureId(String structureId);
090    
091            @AutoEscape
092            public String getName();
093    
094            public void setName(String name);
095    
096            @AutoEscape
097            public String getDescription();
098    
099            public void setDescription(String description);
100    
101            @AutoEscape
102            public String getXsl();
103    
104            public void setXsl(String xsl);
105    
106            @AutoEscape
107            public String getLangType();
108    
109            public void setLangType(String langType);
110    
111            public boolean getCacheable();
112    
113            public boolean isCacheable();
114    
115            public void setCacheable(boolean cacheable);
116    
117            public boolean getSmallImage();
118    
119            public boolean isSmallImage();
120    
121            public void setSmallImage(boolean smallImage);
122    
123            public long getSmallImageId();
124    
125            public void setSmallImageId(long smallImageId);
126    
127            @AutoEscape
128            public String getSmallImageURL();
129    
130            public void setSmallImageURL(String smallImageURL);
131    
132            public JournalTemplate toEscapedModel();
133    
134            public boolean isNew();
135    
136            public void setNew(boolean n);
137    
138            public boolean isCachedModel();
139    
140            public void setCachedModel(boolean cachedModel);
141    
142            public boolean isEscapedModel();
143    
144            public void setEscapedModel(boolean escapedModel);
145    
146            public Serializable getPrimaryKeyObj();
147    
148            public ExpandoBridge getExpandoBridge();
149    
150            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
151    
152            public Object clone();
153    
154            public int compareTo(JournalTemplate journalTemplate);
155    
156            public int hashCode();
157    
158            public String toString();
159    
160            public String toXmlString();
161    }