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 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    }