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