--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.shortCuts.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link ShortCutFolder}.
+ * </p>
+ *
+ * @author Mathieu Amblard
+ * @see ShortCutFolder
+ * @generated
+ */
+public class ShortCutFolderWrapper implements ShortCutFolder,
+ ModelWrapper<ShortCutFolder> {
+ public ShortCutFolderWrapper(ShortCutFolder shortCutFolder) {
+ _shortCutFolder = shortCutFolder;
+ }
+
+ public Class<?> getModelClass() {
+ return ShortCutFolder.class;
+ }
+
+ public String getModelClassName() {
+ return ShortCutFolder.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("shortCutFolderId", getShortCutFolderId());
+ attributes.put("shortCutFolderName", getShortCutFolderName());
+ attributes.put("userId", getUserId());
+ attributes.put("parentShortCutFolderId", getParentShortCutFolderId());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long shortCutFolderId = (Long)attributes.get("shortCutFolderId");
+
+ if (shortCutFolderId != null) {
+ setShortCutFolderId(shortCutFolderId);
+ }
+
+ String shortCutFolderName = (String)attributes.get("shortCutFolderName");
+
+ if (shortCutFolderName != null) {
+ setShortCutFolderName(shortCutFolderName);
+ }
+
+ Long userId = (Long)attributes.get("userId");
+
+ if (userId != null) {
+ setUserId(userId);
+ }
+
+ Long parentShortCutFolderId = (Long)attributes.get(
+ "parentShortCutFolderId");
+
+ if (parentShortCutFolderId != null) {
+ setParentShortCutFolderId(parentShortCutFolderId);
+ }
+ }
+
+ /**
+ * Returns the primary key of this short cut folder.
+ *
+ * @return the primary key of this short cut folder
+ */
+ public long getPrimaryKey() {
+ return _shortCutFolder.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this short cut folder.
+ *
+ * @param primaryKey the primary key of this short cut folder
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _shortCutFolder.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the short cut folder ID of this short cut folder.
+ *
+ * @return the short cut folder ID of this short cut folder
+ */
+ public long getShortCutFolderId() {
+ return _shortCutFolder.getShortCutFolderId();
+ }
+
+ /**
+ * Sets the short cut folder ID of this short cut folder.
+ *
+ * @param shortCutFolderId the short cut folder ID of this short cut folder
+ */
+ public void setShortCutFolderId(long shortCutFolderId) {
+ _shortCutFolder.setShortCutFolderId(shortCutFolderId);
+ }
+
+ /**
+ * Returns the short cut folder name of this short cut folder.
+ *
+ * @return the short cut folder name of this short cut folder
+ */
+ public java.lang.String getShortCutFolderName() {
+ return _shortCutFolder.getShortCutFolderName();
+ }
+
+ /**
+ * Sets the short cut folder name of this short cut folder.
+ *
+ * @param shortCutFolderName the short cut folder name of this short cut folder
+ */
+ public void setShortCutFolderName(java.lang.String shortCutFolderName) {
+ _shortCutFolder.setShortCutFolderName(shortCutFolderName);
+ }
+
+ /**
+ * Returns the user ID of this short cut folder.
+ *
+ * @return the user ID of this short cut folder
+ */
+ public long getUserId() {
+ return _shortCutFolder.getUserId();
+ }
+
+ /**
+ * Sets the user ID of this short cut folder.
+ *
+ * @param userId the user ID of this short cut folder
+ */
+ public void setUserId(long userId) {
+ _shortCutFolder.setUserId(userId);
+ }
+
+ /**
+ * Returns the user uuid of this short cut folder.
+ *
+ * @return the user uuid of this short cut folder
+ * @throws SystemException if a system exception occurred
+ */
+ public java.lang.String getUserUuid()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _shortCutFolder.getUserUuid();
+ }
+
+ /**
+ * Sets the user uuid of this short cut folder.
+ *
+ * @param userUuid the user uuid of this short cut folder
+ */
+ public void setUserUuid(java.lang.String userUuid) {
+ _shortCutFolder.setUserUuid(userUuid);
+ }
+
+ /**
+ * Returns the parent short cut folder ID of this short cut folder.
+ *
+ * @return the parent short cut folder ID of this short cut folder
+ */
+ public long getParentShortCutFolderId() {
+ return _shortCutFolder.getParentShortCutFolderId();
+ }
+
+ /**
+ * Sets the parent short cut folder ID of this short cut folder.
+ *
+ * @param parentShortCutFolderId the parent short cut folder ID of this short cut folder
+ */
+ public void setParentShortCutFolderId(long parentShortCutFolderId) {
+ _shortCutFolder.setParentShortCutFolderId(parentShortCutFolderId);
+ }
+
+ public boolean isNew() {
+ return _shortCutFolder.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _shortCutFolder.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _shortCutFolder.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _shortCutFolder.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _shortCutFolder.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _shortCutFolder.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _shortCutFolder.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _shortCutFolder.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _shortCutFolder.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new ShortCutFolderWrapper((ShortCutFolder)_shortCutFolder.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.shortCuts.model.ShortCutFolder shortCutFolder) {
+ return _shortCutFolder.compareTo(shortCutFolder);
+ }
+
+ @Override
+ public int hashCode() {
+ return _shortCutFolder.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.shortCuts.model.ShortCutFolder> toCacheModel() {
+ return _shortCutFolder.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.shortCuts.model.ShortCutFolder toEscapedModel() {
+ return new ShortCutFolderWrapper(_shortCutFolder.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _shortCutFolder.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _shortCutFolder.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _shortCutFolder.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public ShortCutFolder getWrappedShortCutFolder() {
+ return _shortCutFolder;
+ }
+
+ public ShortCutFolder getWrappedModel() {
+ return _shortCutFolder;
+ }
+
+ public void resetOriginalValues() {
+ _shortCutFolder.resetOriginalValues();
+ }
+
+ private ShortCutFolder _shortCutFolder;
+}
\ No newline at end of file