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.portlet.journal.model;
016    
017    import java.io.Serializable;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     * @author Raymond Augé
022     */
023    public interface JournalArticleDisplay extends Serializable {
024    
025            public long getCompanyId();
026    
027            public long getId();
028    
029            public long getResourcePrimKey();
030    
031            public long getGroupId();
032    
033            public long getUserId();
034    
035            public String getArticleId();
036    
037            public double getVersion();
038    
039            public String getTitle();
040    
041            public String getUrlTitle();
042    
043            public String getDescription();
044    
045            public String[] getAvailableLocales();
046    
047            public String getContent();
048    
049            public void setContent(String content);
050    
051            public String getType();
052    
053            public String getStructureId();
054    
055            public void setStructureId(String structureId);
056    
057            public String getTemplateId();
058    
059            public void setTemplateId(String templateId);
060    
061            public boolean isSmallImage();
062    
063            public void setSmallImage(boolean smallImage);
064    
065            public long getSmallImageId();
066    
067            public void setSmallImageId(long smallImageId);
068    
069            public String getSmallImageURL();
070    
071            public void setSmallImageURL(String smallImageURL);
072    
073            public int getNumberOfPages();
074    
075            public void setNumberOfPages(int numberOfPages);
076    
077            public int getCurrentPage();
078    
079            public void setCurrentPage(int currentPage);
080    
081            public boolean isPaginate();
082    
083            public void setPaginate(boolean paginate);
084    
085            public boolean isCacheable();
086    
087            public void setCacheable(boolean cacheable);
088    
089    }