001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link PortletItem}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PortletItem
024     * @generated
025     */
026    public class PortletItemWrapper implements PortletItem {
027            public PortletItemWrapper(PortletItem portletItem) {
028                    _portletItem = portletItem;
029            }
030    
031            /**
032            * Gets the primary key of this portlet item.
033            *
034            * @return the primary key of this portlet item
035            */
036            public long getPrimaryKey() {
037                    return _portletItem.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this portlet item
042            *
043            * @param pk the primary key of this portlet item
044            */
045            public void setPrimaryKey(long pk) {
046                    _portletItem.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the portlet item id of this portlet item.
051            *
052            * @return the portlet item id of this portlet item
053            */
054            public long getPortletItemId() {
055                    return _portletItem.getPortletItemId();
056            }
057    
058            /**
059            * Sets the portlet item id of this portlet item.
060            *
061            * @param portletItemId the portlet item id of this portlet item
062            */
063            public void setPortletItemId(long portletItemId) {
064                    _portletItem.setPortletItemId(portletItemId);
065            }
066    
067            /**
068            * Gets the group id of this portlet item.
069            *
070            * @return the group id of this portlet item
071            */
072            public long getGroupId() {
073                    return _portletItem.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this portlet item.
078            *
079            * @param groupId the group id of this portlet item
080            */
081            public void setGroupId(long groupId) {
082                    _portletItem.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this portlet item.
087            *
088            * @return the company id of this portlet item
089            */
090            public long getCompanyId() {
091                    return _portletItem.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this portlet item.
096            *
097            * @param companyId the company id of this portlet item
098            */
099            public void setCompanyId(long companyId) {
100                    _portletItem.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this portlet item.
105            *
106            * @return the user id of this portlet item
107            */
108            public long getUserId() {
109                    return _portletItem.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this portlet item.
114            *
115            * @param userId the user id of this portlet item
116            */
117            public void setUserId(long userId) {
118                    _portletItem.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this portlet item.
123            *
124            * @return the user uuid of this portlet item
125            * @throws SystemException if a system exception occurred
126            */
127            public java.lang.String getUserUuid()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _portletItem.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this portlet item.
134            *
135            * @param userUuid the user uuid of this portlet item
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _portletItem.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this portlet item.
143            *
144            * @return the user name of this portlet item
145            */
146            public java.lang.String getUserName() {
147                    return _portletItem.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this portlet item.
152            *
153            * @param userName the user name of this portlet item
154            */
155            public void setUserName(java.lang.String userName) {
156                    _portletItem.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this portlet item.
161            *
162            * @return the create date of this portlet item
163            */
164            public java.util.Date getCreateDate() {
165                    return _portletItem.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this portlet item.
170            *
171            * @param createDate the create date of this portlet item
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _portletItem.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this portlet item.
179            *
180            * @return the modified date of this portlet item
181            */
182            public java.util.Date getModifiedDate() {
183                    return _portletItem.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this portlet item.
188            *
189            * @param modifiedDate the modified date of this portlet item
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _portletItem.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the name of this portlet item.
197            *
198            * @return the name of this portlet item
199            */
200            public java.lang.String getName() {
201                    return _portletItem.getName();
202            }
203    
204            /**
205            * Sets the name of this portlet item.
206            *
207            * @param name the name of this portlet item
208            */
209            public void setName(java.lang.String name) {
210                    _portletItem.setName(name);
211            }
212    
213            /**
214            * Gets the portlet id of this portlet item.
215            *
216            * @return the portlet id of this portlet item
217            */
218            public java.lang.String getPortletId() {
219                    return _portletItem.getPortletId();
220            }
221    
222            /**
223            * Sets the portlet id of this portlet item.
224            *
225            * @param portletId the portlet id of this portlet item
226            */
227            public void setPortletId(java.lang.String portletId) {
228                    _portletItem.setPortletId(portletId);
229            }
230    
231            /**
232            * Gets the class name of the model instance this portlet item is polymorphically associated with.
233            *
234            * @return the class name of the model instance this portlet item is polymorphically associated with
235            */
236            public java.lang.String getClassName() {
237                    return _portletItem.getClassName();
238            }
239    
240            /**
241            * Gets the class name id of this portlet item.
242            *
243            * @return the class name id of this portlet item
244            */
245            public long getClassNameId() {
246                    return _portletItem.getClassNameId();
247            }
248    
249            /**
250            * Sets the class name id of this portlet item.
251            *
252            * @param classNameId the class name id of this portlet item
253            */
254            public void setClassNameId(long classNameId) {
255                    _portletItem.setClassNameId(classNameId);
256            }
257    
258            public boolean isNew() {
259                    return _portletItem.isNew();
260            }
261    
262            public void setNew(boolean n) {
263                    _portletItem.setNew(n);
264            }
265    
266            public boolean isCachedModel() {
267                    return _portletItem.isCachedModel();
268            }
269    
270            public void setCachedModel(boolean cachedModel) {
271                    _portletItem.setCachedModel(cachedModel);
272            }
273    
274            public boolean isEscapedModel() {
275                    return _portletItem.isEscapedModel();
276            }
277    
278            public void setEscapedModel(boolean escapedModel) {
279                    _portletItem.setEscapedModel(escapedModel);
280            }
281    
282            public java.io.Serializable getPrimaryKeyObj() {
283                    return _portletItem.getPrimaryKeyObj();
284            }
285    
286            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
287                    return _portletItem.getExpandoBridge();
288            }
289    
290            public void setExpandoBridgeAttributes(
291                    com.liferay.portal.service.ServiceContext serviceContext) {
292                    _portletItem.setExpandoBridgeAttributes(serviceContext);
293            }
294    
295            public java.lang.Object clone() {
296                    return _portletItem.clone();
297            }
298    
299            public int compareTo(com.liferay.portal.model.PortletItem portletItem) {
300                    return _portletItem.compareTo(portletItem);
301            }
302    
303            public int hashCode() {
304                    return _portletItem.hashCode();
305            }
306    
307            public com.liferay.portal.model.PortletItem toEscapedModel() {
308                    return _portletItem.toEscapedModel();
309            }
310    
311            public java.lang.String toString() {
312                    return _portletItem.toString();
313            }
314    
315            public java.lang.String toXmlString() {
316                    return _portletItem.toXmlString();
317            }
318    
319            public PortletItem getWrappedPortletItem() {
320                    return _portletItem;
321            }
322    
323            private PortletItem _portletItem;
324    }