--- /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.userProperties.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link DashboardConfig}.
+ * </p>
+ *
+ * @author Amblard Mathieu - Barma Igor
+ * @see DashboardConfig
+ * @generated
+ */
+public class DashboardConfigWrapper implements DashboardConfig,
+ ModelWrapper<DashboardConfig> {
+ public DashboardConfigWrapper(DashboardConfig dashboardConfig) {
+ _dashboardConfig = dashboardConfig;
+ }
+
+ public Class<?> getModelClass() {
+ return DashboardConfig.class;
+ }
+
+ public String getModelClassName() {
+ return DashboardConfig.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("userId", getUserId());
+ attributes.put("configuration", getConfiguration());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long userId = (Long)attributes.get("userId");
+
+ if (userId != null) {
+ setUserId(userId);
+ }
+
+ String configuration = (String)attributes.get("configuration");
+
+ if (configuration != null) {
+ setConfiguration(configuration);
+ }
+ }
+
+ /**
+ * Returns the primary key of this dashboard config.
+ *
+ * @return the primary key of this dashboard config
+ */
+ public long getPrimaryKey() {
+ return _dashboardConfig.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this dashboard config.
+ *
+ * @param primaryKey the primary key of this dashboard config
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _dashboardConfig.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the user ID of this dashboard config.
+ *
+ * @return the user ID of this dashboard config
+ */
+ public long getUserId() {
+ return _dashboardConfig.getUserId();
+ }
+
+ /**
+ * Sets the user ID of this dashboard config.
+ *
+ * @param userId the user ID of this dashboard config
+ */
+ public void setUserId(long userId) {
+ _dashboardConfig.setUserId(userId);
+ }
+
+ /**
+ * Returns the user uuid of this dashboard config.
+ *
+ * @return the user uuid of this dashboard config
+ * @throws SystemException if a system exception occurred
+ */
+ public java.lang.String getUserUuid()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _dashboardConfig.getUserUuid();
+ }
+
+ /**
+ * Sets the user uuid of this dashboard config.
+ *
+ * @param userUuid the user uuid of this dashboard config
+ */
+ public void setUserUuid(java.lang.String userUuid) {
+ _dashboardConfig.setUserUuid(userUuid);
+ }
+
+ /**
+ * Returns the configuration of this dashboard config.
+ *
+ * @return the configuration of this dashboard config
+ */
+ public java.lang.String getConfiguration() {
+ return _dashboardConfig.getConfiguration();
+ }
+
+ /**
+ * Sets the configuration of this dashboard config.
+ *
+ * @param configuration the configuration of this dashboard config
+ */
+ public void setConfiguration(java.lang.String configuration) {
+ _dashboardConfig.setConfiguration(configuration);
+ }
+
+ public boolean isNew() {
+ return _dashboardConfig.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _dashboardConfig.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _dashboardConfig.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _dashboardConfig.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _dashboardConfig.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _dashboardConfig.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _dashboardConfig.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _dashboardConfig.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _dashboardConfig.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new DashboardConfigWrapper((DashboardConfig)_dashboardConfig.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.userProperties.model.DashboardConfig dashboardConfig) {
+ return _dashboardConfig.compareTo(dashboardConfig);
+ }
+
+ @Override
+ public int hashCode() {
+ return _dashboardConfig.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.userProperties.model.DashboardConfig> toCacheModel() {
+ return _dashboardConfig.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.userProperties.model.DashboardConfig toEscapedModel() {
+ return new DashboardConfigWrapper(_dashboardConfig.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _dashboardConfig.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _dashboardConfig.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _dashboardConfig.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public DashboardConfig getWrappedDashboardConfig() {
+ return _dashboardConfig;
+ }
+
+ public DashboardConfig getWrappedModel() {
+ return _dashboardConfig;
+ }
+
+ public void resetOriginalValues() {
+ _dashboardConfig.resetOriginalValues();
+ }
+
+ private DashboardConfig _dashboardConfig;
+}
\ No newline at end of file