001/*
002 * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     <a href="mailto:grenard@nuxeo.com">Guillaume Renard</a>
016 *
017 */
018
019package org.nuxeo.ecm.restapi.server.jaxrs.routing.model;
020
021import java.io.Serializable;
022import java.util.ArrayList;
023import java.util.List;
024import java.util.Map;
025
026/**
027 * @since 7.2
028 */
029public class WorkflowRequest {
030
031    protected List<String> attachedDocumentIds = new ArrayList<String>();
032
033    protected Map<String, Serializable> variables;
034
035    protected String workflowModelName;
036
037    public WorkflowRequest() {
038        super();
039    }
040
041    public List<String> getAttachedDocumentIds() {
042        return attachedDocumentIds;
043    }
044
045    public String getWorkflowModelName() {
046        return workflowModelName;
047    }
048
049    public Map<String, Serializable> getVariables() {
050        return variables;
051    }
052
053    public void setAttachedDocumentIds(List<String> attachedDocumentIds) {
054        this.attachedDocumentIds = attachedDocumentIds;
055    }
056
057    public void setWorkflowModelName(String workflowModelName) {
058        this.workflowModelName = workflowModelName;
059    }
060
061    public void setVariables(Map<String, Serializable> worflowVariables) {
062        this.variables = worflowVariables;
063    }
064
065}