001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            public long getEntryId() {
030                    return _entryId;
031            }
032    
033            public void setEntryId(long entryId) {
034                    _entryId = entryId;
035            }
036    
037            public long getCompanyId() {
038                    return _companyId;
039            }
040    
041            public void setCompanyId(long companyId) {
042                    _companyId = companyId;
043            }
044    
045            public long getUserId() {
046                    return _userId;
047            }
048    
049            public void setUserId(long userId) {
050                    _userId = userId;
051            }
052    
053            public String getUserName() {
054                    return _userName;
055            }
056    
057            public void setUserName(String userName) {
058                    _userName = userName;
059            }
060    
061            public Date getCreateDate() {
062                    return _createDate;
063            }
064    
065            public void setCreateDate(Date createDate) {
066                    _createDate = createDate;
067            }
068    
069            public Date getModifiedDate() {
070                    return _modifiedDate;
071            }
072    
073            public void setModifiedDate(Date modifiedDate) {
074                    _modifiedDate = modifiedDate;
075            }
076    
077            public long getClassNameId() {
078                    return _classNameId;
079            }
080    
081            public void setClassNameId(long classNameId) {
082                    _classNameId = classNameId;
083            }
084    
085            public String getClassName() {
086                    return _className;
087            }
088    
089            public void setClassName(String className) {
090                    _className = className;
091            }
092    
093            public long getClassPK() {
094                    return _classPK;
095            }
096    
097            public void setClassPK(long classPK) {
098                    _classPK = classPK;
099            }
100    
101            public String getPortletId() {
102                    return _portletId;
103            }
104    
105            public void setPortletId(String portletId) {
106                    _portletId = portletId;
107            }
108    
109            public String getPortletTitle() {
110                    return _portletTitle;
111            }
112    
113            public void setPortletTitle(String portletTitle) {
114                    _portletTitle = portletTitle;
115            }
116    
117            public Date getStartDate() {
118                    return _startDate;
119            }
120    
121            public void setStartDate(Date startDate) {
122                    _startDate = startDate;
123            }
124    
125            public Date getEndDate() {
126                    return _endDate;
127            }
128    
129            public void setEndDate(Date endDate) {
130                    _endDate = endDate;
131            }
132    
133            public Date getPublishDate() {
134                    return _publishDate;
135            }
136    
137            public void setPublishDate(Date publishDate) {
138                    _publishDate = publishDate;
139            }
140    
141            public Date getExpirationDate() {
142                    return _expirationDate;
143            }
144    
145            public void setExpirationDate(Date expirationDate) {
146                    _expirationDate = expirationDate;
147            }
148    
149            public String getMimeType() {
150                    return _mimeType;
151            }
152    
153            public void setMimeType(String mimeType) {
154                    _mimeType = mimeType;
155            }
156    
157            public String getTitle() {
158                    return _title;
159            }
160    
161            public void setTitle(String title) {
162                    _title = title;
163            }
164    
165            public String getDescription() {
166                    return _description;
167            }
168    
169            public void setDescription(String description) {
170                    _description = description;
171            }
172    
173            public String getSummary() {
174                    return _summary;
175            }
176    
177            public void setSummary(String summary) {
178                    _summary = summary;
179            }
180    
181            public String getUrl() {
182                    return _url;
183            }
184    
185            public void setUrl(String url) {
186                    _url = url;
187            }
188    
189            public int getHeight() {
190                    return _height;
191            }
192    
193            public void setHeight(int height) {
194                    _height = height;
195            }
196    
197            public int getWidth() {
198                    return _width;
199            }
200    
201            public void setWidth(int width) {
202                    _width = width;
203            }
204    
205            public double getPriority() {
206                    return _priority;
207            }
208    
209            public void setPriority(double priority) {
210                    _priority = priority;
211            }
212    
213            public int getViewCount() {
214                    return _viewCount;
215            }
216    
217            public void setViewCount(int viewCount) {
218                    _viewCount = viewCount;
219            }
220    
221            @JSON
222            public long[] getCategoryIds() {
223                    return _categoryIds;
224            }
225    
226            public void setCategoryIds(long[] categoryIds) {
227                    _categoryIds = categoryIds;
228            }
229    
230            public String getTagNames() {
231                    return _tagNames;
232            }
233    
234            public void setTagNames(String tagNames) {
235                    _tagNames = tagNames;
236            }
237    
238            private long _entryId;
239            private long _companyId;
240            private long _userId;
241            private String _userName;
242            private Date _createDate;
243            private Date _modifiedDate;
244            private long _classNameId;
245            private String _className;
246            private long _classPK;
247            private String _portletId;
248            private String _portletTitle;
249            private Date _startDate;
250            private Date _endDate;
251            private Date _publishDate;
252            private Date _expirationDate;
253            private String _mimeType;
254            private String _title;
255            private String _description;
256            private String _summary;
257            private String _url;
258            private int _height;
259            private int _width;
260            private double _priority;
261            private int _viewCount;
262            private long[] _categoryIds;
263            private String _tagNames;
264    
265    }