001    /**
002     * Copyright (c) 2000-2012 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.asset.model;
016    
017    import com.liferay.portal.kernel.json.JSON;
018    
019    import java.io.Serializable;
020    
021    import java.util.Date;
022    
023    /**
024     * @author Brian Wing Shun Chan
025     * @author Jorge Ferrer
026     */
027    public class AssetEntryDisplay implements Serializable {
028    
029            @JSON
030            public long[] getCategoryIds() {
031                    return _categoryIds;
032            }
033    
034            public String getClassName() {
035                    return _className;
036            }
037    
038            public long getClassNameId() {
039                    return _classNameId;
040            }
041    
042            public long getClassPK() {
043                    return _classPK;
044            }
045    
046            public long getCompanyId() {
047                    return _companyId;
048            }
049    
050            public Date getCreateDate() {
051                    return _createDate;
052            }
053    
054            public String getDescription() {
055                    return _description;
056            }
057    
058            public Date getEndDate() {
059                    return _endDate;
060            }
061    
062            public long getEntryId() {
063                    return _entryId;
064            }
065    
066            public Date getExpirationDate() {
067                    return _expirationDate;
068            }
069    
070            public int getHeight() {
071                    return _height;
072            }
073    
074            public String getMimeType() {
075                    return _mimeType;
076            }
077    
078            public Date getModifiedDate() {
079                    return _modifiedDate;
080            }
081    
082            public String getPortletId() {
083                    return _portletId;
084            }
085    
086            public String getPortletTitle() {
087                    return _portletTitle;
088            }
089    
090            public double getPriority() {
091                    return _priority;
092            }
093    
094            public Date getPublishDate() {
095                    return _publishDate;
096            }
097    
098            public Date getStartDate() {
099                    return _startDate;
100            }
101    
102            public String getSummary() {
103                    return _summary;
104            }
105    
106            public String getTagNames() {
107                    return _tagNames;
108            }
109    
110            public String getTitle() {
111                    return _title;
112            }
113    
114            public String getUrl() {
115                    return _url;
116            }
117    
118            public long getUserId() {
119                    return _userId;
120            }
121    
122            public String getUserName() {
123                    return _userName;
124            }
125    
126            public int getViewCount() {
127                    return _viewCount;
128            }
129    
130            public int getWidth() {
131                    return _width;
132            }
133    
134            public void setCategoryIds(long[] categoryIds) {
135                    _categoryIds = categoryIds;
136            }
137    
138            public void setClassName(String className) {
139                    _className = className;
140            }
141    
142            public void setClassNameId(long classNameId) {
143                    _classNameId = classNameId;
144            }
145    
146            public void setClassPK(long classPK) {
147                    _classPK = classPK;
148            }
149    
150            public void setCompanyId(long companyId) {
151                    _companyId = companyId;
152            }
153    
154            public void setCreateDate(Date createDate) {
155                    _createDate = createDate;
156            }
157    
158            public void setDescription(String description) {
159                    _description = description;
160            }
161    
162            public void setEndDate(Date endDate) {
163                    _endDate = endDate;
164            }
165    
166            public void setEntryId(long entryId) {
167                    _entryId = entryId;
168            }
169    
170            public void setExpirationDate(Date expirationDate) {
171                    _expirationDate = expirationDate;
172            }
173    
174            public void setHeight(int height) {
175                    _height = height;
176            }
177    
178            public void setMimeType(String mimeType) {
179                    _mimeType = mimeType;
180            }
181    
182            public void setModifiedDate(Date modifiedDate) {
183                    _modifiedDate = modifiedDate;
184            }
185    
186            public void setPortletId(String portletId) {
187                    _portletId = portletId;
188            }
189    
190            public void setPortletTitle(String portletTitle) {
191                    _portletTitle = portletTitle;
192            }
193    
194            public void setPriority(double priority) {
195                    _priority = priority;
196            }
197    
198            public void setPublishDate(Date publishDate) {
199                    _publishDate = publishDate;
200            }
201    
202            public void setStartDate(Date startDate) {
203                    _startDate = startDate;
204            }
205    
206            public void setSummary(String summary) {
207                    _summary = summary;
208            }
209    
210            public void setTagNames(String tagNames) {
211                    _tagNames = tagNames;
212            }
213    
214            public void setTitle(String title) {
215                    _title = title;
216            }
217    
218            public void setUrl(String url) {
219                    _url = url;
220            }
221    
222            public void setUserId(long userId) {
223                    _userId = userId;
224            }
225    
226            public void setUserName(String userName) {
227                    _userName = userName;
228            }
229    
230            public void setViewCount(int viewCount) {
231                    _viewCount = viewCount;
232            }
233    
234            public void setWidth(int width) {
235                    _width = width;
236            }
237    
238            private long[] _categoryIds;
239            private String _className;
240            private long _classNameId;
241            private long _classPK;
242            private long _companyId;
243            private Date _createDate;
244            private String _description;
245            private Date _endDate;
246            private long _entryId;
247            private Date _expirationDate;
248            private int _height;
249            private String _mimeType;
250            private Date _modifiedDate;
251            private String _portletId;
252            private String _portletTitle;
253            private double _priority;
254            private Date _publishDate;
255            private Date _startDate;
256            private String _summary;
257            private String _tagNames;
258            private String _title;
259            private String _url;
260            private long _userId;
261            private String _userName;
262            private int _viewCount;
263            private int _width;
264    
265    }