1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
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      public void setCompanyId(long companyId) {
61          _companyId = companyId;
62      }
63  
64      public void setOwnerId(long ownerId) {
65          _ownerId = ownerId;
66      }
67  
68      public void setOwnerType(int ownerType) {
69          _ownerType = ownerType;
70      }
71  
72      public void setPlid(long plid) {
73          _plid = plid;
74      }
75  
76      public void setPortletId(String portletId) {
77          _portletId = portletId;
78      }
79  
80      private long _companyId;
81      private long _ownerId;
82      private int _ownerType;
83      private long _plid;
84      private String _portletId;
85  
86  }