--- /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 java.io.Serializable;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * This class is used by SOAP remote services.
+ *
+ * @author Mathieu Amblard
+ * @generated
+ */
+public class ShortCutSoap implements Serializable {
+ public static ShortCutSoap toSoapModel(ShortCut model) {
+ ShortCutSoap soapModel = new ShortCutSoap();
+
+ soapModel.setShortCutId(model.getShortCutId());
+ soapModel.setShortCutName(model.getShortCutName());
+ soapModel.setEntryId(model.getEntryId());
+ soapModel.setUserId(model.getUserId());
+ soapModel.setShortCutUrl(model.getShortCutUrl());
+ soapModel.setType(model.getType());
+ soapModel.setDateShortCut(model.getDateShortCut());
+ soapModel.setShortCutFolderId(model.getShortCutFolderId());
+
+ return soapModel;
+ }
+
+ public static ShortCutSoap[] toSoapModels(ShortCut[] models) {
+ ShortCutSoap[] soapModels = new ShortCutSoap[models.length];
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModel(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static ShortCutSoap[][] toSoapModels(ShortCut[][] models) {
+ ShortCutSoap[][] soapModels = null;
+
+ if (models.length > 0) {
+ soapModels = new ShortCutSoap[models.length][models[0].length];
+ }
+ else {
+ soapModels = new ShortCutSoap[0][0];
+ }
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModels(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static ShortCutSoap[] toSoapModels(List<ShortCut> models) {
+ List<ShortCutSoap> soapModels = new ArrayList<ShortCutSoap>(models.size());
+
+ for (ShortCut model : models) {
+ soapModels.add(toSoapModel(model));
+ }
+
+ return soapModels.toArray(new ShortCutSoap[soapModels.size()]);
+ }
+
+ public ShortCutSoap() {
+ }
+
+ public long getPrimaryKey() {
+ return _shortCutId;
+ }
+
+ public void setPrimaryKey(long pk) {
+ setShortCutId(pk);
+ }
+
+ public long getShortCutId() {
+ return _shortCutId;
+ }
+
+ public void setShortCutId(long shortCutId) {
+ _shortCutId = shortCutId;
+ }
+
+ public String getShortCutName() {
+ return _shortCutName;
+ }
+
+ public void setShortCutName(String shortCutName) {
+ _shortCutName = shortCutName;
+ }
+
+ public long getEntryId() {
+ return _entryId;
+ }
+
+ public void setEntryId(long entryId) {
+ _entryId = entryId;
+ }
+
+ public long getUserId() {
+ return _userId;
+ }
+
+ public void setUserId(long userId) {
+ _userId = userId;
+ }
+
+ public String getShortCutUrl() {
+ return _shortCutUrl;
+ }
+
+ public void setShortCutUrl(String shortCutUrl) {
+ _shortCutUrl = shortCutUrl;
+ }
+
+ public String getType() {
+ return _type;
+ }
+
+ public void setType(String type) {
+ _type = type;
+ }
+
+ public Date getDateShortCut() {
+ return _dateShortCut;
+ }
+
+ public void setDateShortCut(Date dateShortCut) {
+ _dateShortCut = dateShortCut;
+ }
+
+ public long getShortCutFolderId() {
+ return _shortCutFolderId;
+ }
+
+ public void setShortCutFolderId(long shortCutFolderId) {
+ _shortCutFolderId = shortCutFolderId;
+ }
+
+ private long _shortCutId;
+ private String _shortCutName;
+ private long _entryId;
+ private long _userId;
+ private String _shortCutUrl;
+ private String _type;
+ private Date _dateShortCut;
+ private long _shortCutFolderId;
+}
\ No newline at end of file