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