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