Source Code Cross Referenced for JournalArticleDisplayImpl.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » journal » model » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portlet.journal.model.impl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003:         *
004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
005:         * of this software and associated documentation files (the "Software"), to deal
006:         * in the Software without restriction, including without limitation the rights
007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008:         * copies of the Software, and to permit persons to whom the Software is
009:         * furnished to do so, subject to the following conditions:
010:         *
011:         * The above copyright notice and this permission notice shall be included in
012:         * all copies or substantial portions of the Software.
013:         *
014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020:         * SOFTWARE.
021:         */package com.liferay.portlet.journal.model.impl;
022:
023:        import com.liferay.portlet.journal.model.JournalArticleDisplay;
024:
025:        /**
026:         * <a href="JournalArticleDisplayImpl.java.html"><b><i>View Source</i></b></a>
027:         *
028:         * @author Brian Wing Shun Chan
029:         * @author Raymond Augé
030:         *
031:         */
032:        public class JournalArticleDisplayImpl implements  JournalArticleDisplay {
033:
034:            public JournalArticleDisplayImpl(long id, long resourcePrimKey,
035:                    long groupId, long userId, String articleId,
036:                    double version, String title, String description,
037:                    String[] availableLocales, String content, String type,
038:                    String structureId, String templateId, boolean smallImage,
039:                    long smallImageId, String smallImageURL, int numberOfPages,
040:                    int currentPage, boolean paginate, boolean cacheable) {
041:
042:                _id = id;
043:                _resourcePrimKey = resourcePrimKey;
044:                _groupId = groupId;
045:                _userId = userId;
046:                _articleId = articleId;
047:                _version = version;
048:                _title = title;
049:                _description = description;
050:                _availableLocales = availableLocales;
051:                _content = content;
052:                _type = type;
053:                _structureId = structureId;
054:                _templateId = templateId;
055:                _smallImage = smallImage;
056:                _smallImageId = smallImageId;
057:                _smallImageURL = smallImageURL;
058:                _numberOfPages = numberOfPages;
059:                _currentPage = currentPage;
060:                _paginate = paginate;
061:                _cacheable = cacheable;
062:            }
063:
064:            public long getId() {
065:                return _id;
066:            }
067:
068:            public long getResourcePrimKey() {
069:                return _resourcePrimKey;
070:            }
071:
072:            public long getGroupId() {
073:                return _groupId;
074:            }
075:
076:            public long getUserId() {
077:                return _userId;
078:            }
079:
080:            public String getArticleId() {
081:                return _articleId;
082:            }
083:
084:            public double getVersion() {
085:                return _version;
086:            }
087:
088:            public String getTitle() {
089:                return _title;
090:            }
091:
092:            public String getDescription() {
093:                return _description;
094:            }
095:
096:            public String[] getAvailableLocales() {
097:                return _availableLocales;
098:            }
099:
100:            public String getContent() {
101:                return _content;
102:            }
103:
104:            public void setContent(String content) {
105:                _content = content;
106:            }
107:
108:            public String getType() {
109:                return _type;
110:            }
111:
112:            public String getStructureId() {
113:                return _structureId;
114:            }
115:
116:            public void setStructureId(String structureId) {
117:                _structureId = structureId;
118:            }
119:
120:            public String getTemplateId() {
121:                return _templateId;
122:            }
123:
124:            public void setTemplateId(String templateId) {
125:                _templateId = templateId;
126:            }
127:
128:            public boolean isSmallImage() {
129:                return _smallImage;
130:            }
131:
132:            public void setSmallImage(boolean smallImage) {
133:                _smallImage = smallImage;
134:            }
135:
136:            public long getSmallImageId() {
137:                return _smallImageId;
138:            }
139:
140:            public void setSmallImageId(long smallImageId) {
141:                _smallImageId = smallImageId;
142:            }
143:
144:            public String getSmallImageURL() {
145:                return _smallImageURL;
146:            }
147:
148:            public void setSmallImageURL(String smallImageURL) {
149:                _smallImageURL = smallImageURL;
150:            }
151:
152:            public int getNumberOfPages() {
153:                return _numberOfPages;
154:            }
155:
156:            public void setNumberOfPages(int numberOfPages) {
157:                _numberOfPages = numberOfPages;
158:            }
159:
160:            public int getCurrentPage() {
161:                return _currentPage;
162:            }
163:
164:            public void setCurrentPage(int currentPage) {
165:                _currentPage = currentPage;
166:            }
167:
168:            public boolean isPaginate() {
169:                return _paginate;
170:            }
171:
172:            public void setPaginate(boolean paginate) {
173:                _paginate = paginate;
174:            }
175:
176:            public boolean isCacheable() {
177:                return _cacheable;
178:            }
179:
180:            public void setCacheable(boolean cacheable) {
181:                _cacheable = cacheable;
182:            }
183:
184:            private long _id;
185:            private long _resourcePrimKey;
186:            private long _groupId;
187:            private long _userId;
188:            private String _articleId;
189:            private double _version;
190:            private String _title;
191:            private String _description;
192:            private String[] _availableLocales;
193:            private String _content;
194:            private String _type;
195:            private String _structureId;
196:            private String _templateId;
197:            private boolean _smallImage;
198:            private long _smallImageId;
199:            private String _smallImageURL;
200:            private int _numberOfPages;
201:            private int _currentPage;
202:            private boolean _paginate;
203:            private boolean _cacheable;
204:
205:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.