1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  import java.io.Serializable;
18  
19  /**
20   * <a href="PortletPreferencesIds.java.html"><b><i>View Source</i></b></a>
21   *
22   * @author Brian Wing Shun Chan
23   */
24  public class PortletPreferencesIds implements Serializable {
25  
26      public PortletPreferencesIds() {
27      }
28  
29      public PortletPreferencesIds(
30          long companyId, long ownerId, int ownerType, long plid,
31          String portletId) {
32  
33          _companyId = companyId;
34          _ownerId = ownerId;
35          _ownerType = ownerType;
36          _plid = plid;
37          _portletId = portletId;
38      }
39  
40      public long getCompanyId() {
41          return _companyId;
42      }
43  
44      public long getOwnerId() {
45          return _ownerId;
46      }
47  
48      public int getOwnerType() {
49          return _ownerType;
50      }
51  
52      public long getPlid() {
53          return _plid;
54      }
55  
56      public String getPortletId() {
57          return _portletId;
58      }
59  
60      private long _companyId;
61      private long _ownerId;
62      private int _ownerType;
63      private long _plid;
64      private String _portletId;
65  
66  }