001/*
002 * This library is part of OpenCms -
003 * the Open Source Content Management System
004 *
005 * Copyright (C) Alkacon Software (http://www.alkacon.com)
006 *
007 * This library is free software; you can redistribute it and/or
008 * modify it under the terms of the GNU Lesser General Public
009 * License as published by the Free Software Foundation; either
010 * version 2.1 of the License, or (at your option) any later version.
011 *
012 * This library is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015 * Lesser General Public License for more details.
016 *
017 * For further information about Alkacon Software, please see the
018 * company website: http://www.alkacon.com
019 *
020 * For further information about OpenCms, please see the
021 * project website: http://www.opencms.org
022 *
023 * You should have received a copy of the GNU Lesser General Public
024 * License along with this library; if not, write to the Free Software
025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
026 */
027
028package org.opencms.gwt.shared;
029
030import org.opencms.util.CmsUUID;
031
032import java.io.Serializable;
033
034/**
035 * Response bean class for the 'prepareEdit' RPC method.<p>
036 */
037public class CmsPrepareEditResponse implements Serializable {
038
039    /** Generated serial version id. */
040    private static final long serialVersionUID = 6147076596551311120L;
041
042    /** The resource root path. */
043    private String m_rootPath;
044
045    /** The resource site path. */
046    private String m_sitePath;
047
048    /** The resource structure id. */
049    private CmsUUID m_structureId;
050
051    /**
052     * Default constructor.<p>
053     */
054    public CmsPrepareEditResponse() {
055
056        // do nothing
057
058    }
059
060    /**
061     * Gets the resource root path.<p>
062     *
063     * @return the resource root path
064     */
065    public String getRootPath() {
066
067        return m_rootPath;
068    }
069
070    /**
071     * Gets the resource site path.<p>
072     *
073     * @return the resource site path
074     */
075    public String getSitePath() {
076
077        return m_sitePath;
078    }
079
080    /**
081     * Gets the resource structure id.<p>
082     *
083     * @return the resource structure id
084     */
085    public CmsUUID getStructureId() {
086
087        return m_structureId;
088    }
089
090    /**
091     * Sets the resource root path.<p>
092     *
093     * @param rootPath the resource root path
094     */
095    public void setRootPath(String rootPath) {
096
097        m_rootPath = rootPath;
098    }
099
100    /**
101     * Sets the resource site path.<p>
102     *
103     * @param sitePath the resource site path
104     */
105    public void setSitePath(String sitePath) {
106
107        m_sitePath = sitePath;
108    }
109
110    /**
111     * Sets the resource structure id.<p>
112     *
113     * @param structureId the resource structure id
114     */
115    public void setStructureId(CmsUUID structureId) {
116
117        m_structureId = structureId;
118    }
119}