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 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 getId();
026    
027            public long getResourcePrimKey();
028    
029            public long getGroupId();
030    
031            public long getUserId();
032    
033            public String getArticleId();
034    
035            public double getVersion();
036    
037            public String getTitle();
038    
039            public String getUrlTitle();
040    
041            public String getDescription();
042    
043            public String[] getAvailableLocales();
044    
045            public String getContent();
046    
047            public void setContent(String content);
048    
049            public String getType();
050    
051            public String getStructureId();
052    
053            public void setStructureId(String structureId);
054    
055            public String getTemplateId();
056    
057            public void setTemplateId(String templateId);
058    
059            public boolean isSmallImage();
060    
061            public void setSmallImage(boolean smallImage);
062    
063            public long getSmallImageId();
064    
065            public void setSmallImageId(long smallImageId);
066    
067            public String getSmallImageURL();
068    
069            public void setSmallImageURL(String smallImageURL);
070    
071            public int getNumberOfPages();
072    
073            public void setNumberOfPages(int numberOfPages);
074    
075            public int getCurrentPage();
076    
077            public void setCurrentPage(int currentPage);
078    
079            public boolean isPaginate();
080    
081            public void setPaginate(boolean paginate);
082    
083            public boolean isCacheable();
084    
085            public void setCacheable(boolean cacheable);
086    
087    }