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.portal.model;
016    
017    import java.io.Serializable;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     * @author Eduardo Lundgren
022     */
023    public class PortletInfo implements Serializable {
024    
025            public PortletInfo() {
026                    this(null, null, null, null);
027            }
028    
029            public PortletInfo(
030                    String title, String shortTitle, String keywords, String description) {
031    
032                    _title = title;
033                    _shortTitle = shortTitle;
034                    _keywords = keywords;
035                    _description = description;
036            }
037    
038            public String getDescription() {
039                    return _description;
040            }
041    
042            public String getKeywords() {
043                    return _keywords;
044            }
045    
046            public String getShortTitle() {
047                    return _shortTitle;
048            }
049    
050            public String getTitle() {
051                    return _title;
052            }
053    
054            private final String _description;
055            private final String _keywords;
056            private final String _shortTitle;
057            private final String _title;
058    
059    }