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.upgrade.v7_0_0.util;
016    
017    /**
018     * @author Iv??n Zaera
019     */
020    public class PortletPreferencesRow {
021    
022            public PortletPreferencesRow(
023                    long portletPreferencesId, long ownerId, int ownerType, long plid,
024                    String portletId, String preferences) {
025    
026                    _portletPreferencesId = portletPreferencesId;
027                    _ownerId = ownerId;
028                    _ownerType = ownerType;
029                    _plid = plid;
030                    _portletId = portletId;
031                    _preferences = preferences;
032            }
033    
034            public long getMvccVersion() {
035                    return _mvccVersion;
036            }
037    
038            public long getOwnerId() {
039                    return _ownerId;
040            }
041    
042            public int getOwnerType() {
043                    return _ownerType;
044            }
045    
046            public long getPlid() {
047                    return _plid;
048            }
049    
050            public String getPortletId() {
051                    return _portletId;
052            }
053    
054            public long getPortletPreferencesId() {
055                    return _portletPreferencesId;
056            }
057    
058            public String getPreferences() {
059                    return _preferences;
060            }
061    
062            public void setMvccVersion(long mvccVersion) {
063                    _mvccVersion = mvccVersion;
064            }
065    
066            public void setOwnerId(long ownerId) {
067                    _ownerId = ownerId;
068            }
069    
070            public void setOwnerType(int ownerType) {
071                    _ownerType = ownerType;
072            }
073    
074            public void setPlid(long plid) {
075                    _plid = plid;
076            }
077    
078            public void setPortletId(String portletId) {
079                    _portletId = portletId;
080            }
081    
082            public void setPortletPreferencesId(long portletPreferencesId) {
083                    _portletPreferencesId = portletPreferencesId;
084            }
085    
086            public void setPreferences(String preferences) {
087                    _preferences = preferences;
088            }
089    
090            private long _mvccVersion;
091            private long _ownerId;
092            private int _ownerType;
093            private long _plid;
094            private String _portletId;
095            private long _portletPreferencesId;
096            private String _preferences;
097    
098    }