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  /**
18   * <a href="PortletPreferencesSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link PortletPreferences}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       PortletPreferences
31   * @generated
32   */
33  public class PortletPreferencesWrapper implements PortletPreferences {
34      public PortletPreferencesWrapper(PortletPreferences portletPreferences) {
35          _portletPreferences = portletPreferences;
36      }
37  
38      public long getPrimaryKey() {
39          return _portletPreferences.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _portletPreferences.setPrimaryKey(pk);
44      }
45  
46      public long getPortletPreferencesId() {
47          return _portletPreferences.getPortletPreferencesId();
48      }
49  
50      public void setPortletPreferencesId(long portletPreferencesId) {
51          _portletPreferences.setPortletPreferencesId(portletPreferencesId);
52      }
53  
54      public long getOwnerId() {
55          return _portletPreferences.getOwnerId();
56      }
57  
58      public void setOwnerId(long ownerId) {
59          _portletPreferences.setOwnerId(ownerId);
60      }
61  
62      public int getOwnerType() {
63          return _portletPreferences.getOwnerType();
64      }
65  
66      public void setOwnerType(int ownerType) {
67          _portletPreferences.setOwnerType(ownerType);
68      }
69  
70      public long getPlid() {
71          return _portletPreferences.getPlid();
72      }
73  
74      public void setPlid(long plid) {
75          _portletPreferences.setPlid(plid);
76      }
77  
78      public java.lang.String getPortletId() {
79          return _portletPreferences.getPortletId();
80      }
81  
82      public void setPortletId(java.lang.String portletId) {
83          _portletPreferences.setPortletId(portletId);
84      }
85  
86      public java.lang.String getPreferences() {
87          return _portletPreferences.getPreferences();
88      }
89  
90      public void setPreferences(java.lang.String preferences) {
91          _portletPreferences.setPreferences(preferences);
92      }
93  
94      public boolean isNew() {
95          return _portletPreferences.isNew();
96      }
97  
98      public boolean setNew(boolean n) {
99          return _portletPreferences.setNew(n);
100     }
101 
102     public boolean isCachedModel() {
103         return _portletPreferences.isCachedModel();
104     }
105 
106     public void setCachedModel(boolean cachedModel) {
107         _portletPreferences.setCachedModel(cachedModel);
108     }
109 
110     public boolean isEscapedModel() {
111         return _portletPreferences.isEscapedModel();
112     }
113 
114     public void setEscapedModel(boolean escapedModel) {
115         _portletPreferences.setEscapedModel(escapedModel);
116     }
117 
118     public java.io.Serializable getPrimaryKeyObj() {
119         return _portletPreferences.getPrimaryKeyObj();
120     }
121 
122     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
123         return _portletPreferences.getExpandoBridge();
124     }
125 
126     public void setExpandoBridgeAttributes(
127         com.liferay.portal.service.ServiceContext serviceContext) {
128         _portletPreferences.setExpandoBridgeAttributes(serviceContext);
129     }
130 
131     public java.lang.Object clone() {
132         return _portletPreferences.clone();
133     }
134 
135     public int compareTo(
136         com.liferay.portal.model.PortletPreferences portletPreferences) {
137         return _portletPreferences.compareTo(portletPreferences);
138     }
139 
140     public int hashCode() {
141         return _portletPreferences.hashCode();
142     }
143 
144     public com.liferay.portal.model.PortletPreferences toEscapedModel() {
145         return _portletPreferences.toEscapedModel();
146     }
147 
148     public java.lang.String toString() {
149         return _portletPreferences.toString();
150     }
151 
152     public java.lang.String toXmlString() {
153         return _portletPreferences.toXmlString();
154     }
155 
156     public PortletPreferences getWrappedPortletPreferences() {
157         return _portletPreferences;
158     }
159 
160     private PortletPreferences _portletPreferences;
161 }