| PortletPreferencesIds.java |
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 private long _companyId;
61 private long _ownerId;
62 private int _ownerType;
63 private long _plid;
64 private String _portletId;
65
66 }