1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.journal.model;
16  
17  import java.io.Serializable;
18  
19  /**
20   * <a href="JournalArticleDisplay.java.html"><b><i>View Source</i></b></a>
21   *
22   * @author Brian Wing Shun Chan
23   * @author Raymond Augé
24   */
25  public interface JournalArticleDisplay extends Serializable {
26  
27      public long getId();
28  
29      public long getResourcePrimKey();
30  
31      public long getGroupId();
32  
33      public long getUserId();
34  
35      public String getArticleId();
36  
37      public double getVersion();
38  
39      public String getTitle();
40  
41      public String getUrlTitle();
42  
43      public String getDescription();
44  
45      public String[] getAvailableLocales();
46  
47      public String getContent();
48  
49      public void setContent(String content);
50  
51      public String getType();
52  
53      public String getStructureId();
54  
55      public void setStructureId(String structureId);
56  
57      public String getTemplateId();
58  
59      public void setTemplateId(String templateId);
60  
61      public boolean isSmallImage();
62  
63      public void setSmallImage(boolean smallImage);
64  
65      public long getSmallImageId();
66  
67      public void setSmallImageId(long smallImageId);
68  
69      public String getSmallImageURL();
70  
71      public void setSmallImageURL(String smallImageURL);
72  
73      public int getNumberOfPages();
74  
75      public void setNumberOfPages(int numberOfPages);
76  
77      public int getCurrentPage();
78  
79      public void setCurrentPage(int currentPage);
80  
81      public boolean isPaginate();
82  
83      public void setPaginate(boolean paginate);
84  
85      public boolean isCacheable();
86  
87      public void setCacheable(boolean cacheable);
88  
89  }