--- /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 java.io.Serializable;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * This class is used by SOAP remote services.
+ *
+ * @author Amblard Mathieu - Barma Igor
+ * @generated
+ */
+public class DashboardConfigSoap implements Serializable {
+ public static DashboardConfigSoap toSoapModel(DashboardConfig model) {
+ DashboardConfigSoap soapModel = new DashboardConfigSoap();
+
+ soapModel.setUserId(model.getUserId());
+ soapModel.setConfiguration(model.getConfiguration());
+
+ return soapModel;
+ }
+
+ public static DashboardConfigSoap[] toSoapModels(DashboardConfig[] models) {
+ DashboardConfigSoap[] soapModels = new DashboardConfigSoap[models.length];
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModel(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static DashboardConfigSoap[][] toSoapModels(
+ DashboardConfig[][] models) {
+ DashboardConfigSoap[][] soapModels = null;
+
+ if (models.length > 0) {
+ soapModels = new DashboardConfigSoap[models.length][models[0].length];
+ }
+ else {
+ soapModels = new DashboardConfigSoap[0][0];
+ }
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModels(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static DashboardConfigSoap[] toSoapModels(
+ List<DashboardConfig> models) {
+ List<DashboardConfigSoap> soapModels = new ArrayList<DashboardConfigSoap>(models.size());
+
+ for (DashboardConfig model : models) {
+ soapModels.add(toSoapModel(model));
+ }
+
+ return soapModels.toArray(new DashboardConfigSoap[soapModels.size()]);
+ }
+
+ public DashboardConfigSoap() {
+ }
+
+ public long getPrimaryKey() {
+ return _userId;
+ }
+
+ public void setPrimaryKey(long pk) {
+ setUserId(pk);
+ }
+
+ public long getUserId() {
+ return _userId;
+ }
+
+ public void setUserId(long userId) {
+ _userId = userId;
+ }
+
+ public String getConfiguration() {
+ return _configuration;
+ }
+
+ public void setConfiguration(String configuration) {
+ _configuration = configuration;
+ }
+
+ private long _userId;
+ private String _configuration;
+}
\ No newline at end of file