All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencms.gwt.shared.CmsResourceStatusBean Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

There is a newer version: 18.0
Show newest version
/*
 * This library is part of OpenCms -
 * the Open Source Content Management System
 *
 * Copyright (C) Alkacon Software (http://www.alkacon.com)
 *
 * 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.
 *
 * For further information about Alkacon Software, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

package org.opencms.gwt.shared;

import org.opencms.db.CmsResourceState;
import org.opencms.util.CmsUUID;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

// TODO: Auto-generated Javadoc
/**
 * The Class CmsResourceStatusBean.
 */
public class CmsResourceStatusBean implements IsSerializable {

    /** Resource state object. */
    CmsResourceState m_stateBean;

    /** Creation date.*/
    private String m_dateCreated;

    /** Expiration date. */
    private String m_dateExpired;

    /** Modification date.**/
    private String m_dateLastModified;

    /** Release date. */
    private String m_dateReleased;

    /** Last project. */
    private String m_lastProject;

    /** List info. */
    private CmsListInfoBean m_listInfo;

    /** Locales of XML content. */
    private List m_locales;

    /** Lock state. */
    private String m_lockState;

    /** Navigation text. */
    private String m_navText;

    /** Permissions. */
    private String m_permissions;

    /** List of beans representing resources which have relations toward this resource. */
    private ArrayList m_relationSources = new ArrayList();

    /** List of relation target beans. */
    private ArrayList m_relationTargets = new ArrayList();

    /** Resource type. */
    private String m_resourceType;

    /** Size. */
    private int m_size;

    /** Structure id of the resource. */
    private CmsUUID m_structureId;

    /** An ordered map defining the tabs to display and their order, with the tab labels as values. */
    private LinkedHashMap m_tabs;

    /** Title property. */
    private String m_title;

    /** Creator. */
    private String m_userCreated;

    /** Last modifier. */
    private String m_userLastModified;

    /**
     * Gets the date created.
     *
     * @return the date created
     */
    public String getDateCreated() {

        return m_dateCreated;
    }

    /**
     * Gets the date expired.
     *
     * @return the date expired
     */
    public String getDateExpired() {

        return m_dateExpired;
    }

    /**
     * Gets the date last modified.
     *
     * @return the date last modified
     */
    public String getDateLastModified() {

        return m_dateLastModified;
    }

    /**
     * Gets the date released.
     *
     * @return the date released
     */
    public String getDateReleased() {

        return m_dateReleased;
    }

    /**
     * Gets the last project.
     *
     * @return the last project
     */
    public String getLastProject() {

        return m_lastProject;
    }

    /**
     * Gets the list info.
     *
     * @return the list info
     */
    public CmsListInfoBean getListInfo() {

        return m_listInfo;
    }

    /**
     * Gets the locales.
     *
     * @return the locales
     */
    public List getLocales() {

        return m_locales;
    }

    /**
     * Gets the lock state.
     *
     * @return the lock state
     */
    public String getLockState() {

        return m_lockState;
    }

    /**
     * Gets the nav text.
     *
     * @return the nav text
     */
    public String getNavText() {

        return m_navText;
    }

    /**
     * Gets the permissions.
     *
     * @return the permissions
     */
    public String getPermissions() {

        return m_permissions;
    }

    /**
     * Gets the list info beans for the source resources of relations pointing to this resource.

* * @return the relation source beans */ public ArrayList getRelationSources() { return m_relationSources; } /** * Gets the list info beans for the targets of relations pointing away from this resource.

* * @return the relation target beans */ public ArrayList getRelationTargets() { return m_relationTargets; } /** * Gets the resource type. * * @return the resource type */ public String getResourceType() { return m_resourceType; } /** * Gets the size. * * @return the size */ public int getSize() { return m_size; } /** * Gets the resource state object.

* * @return the resource state object */ public CmsResourceState getStateBean() { return m_stateBean; } /** * Gets the structure id of the resource.

* * @return the structure id of the resource */ public CmsUUID getStructureId() { return m_structureId; } /** * Gets the tab configuration, which is an ordered map defining the tabs to display and their order, with the tab labels as values. * * @return the tab configuration */ public LinkedHashMap getTabs() { return m_tabs; } /** * Gets the title. * * @return the title */ public String getTitle() { return m_title; } /** * Gets the user created. * * @return the user created */ public String getUserCreated() { return m_userCreated; } /** * Gets the user last modified. * * @return the user last modified */ public String getUserLastModified() { return m_userLastModified; } /** * Sets the date created. * * @param dateCreated the new date created */ public void setDateCreated(String dateCreated) { m_dateCreated = dateCreated; } /** * Sets the date expired. * * @param dateExpired the new date expired */ public void setDateExpired(String dateExpired) { m_dateExpired = dateExpired; } /** * Sets the date last modified. * * @param dateLastModified the new date last modified */ public void setDateLastModified(String dateLastModified) { m_dateLastModified = dateLastModified; } /** * Sets the date released. * * @param dateReleased the new date released */ public void setDateReleased(String dateReleased) { m_dateReleased = dateReleased; } /** * Sets the last project. * * @param lastProject the new last project */ public void setLastProject(String lastProject) { m_lastProject = lastProject; } /** * Sets the list info. * * @param listInfo the new list info */ public void setListInfo(CmsListInfoBean listInfo) { m_listInfo = listInfo; } /** * Sets the locales. * * @param locales the new locales */ public void setLocales(List locales) { m_locales = locales; } /** * Sets the lock state. * * @param lockState the new lock state */ public void setLockState(String lockState) { m_lockState = lockState; } /** * Sets the nav text. * * @param navText the new nav text */ public void setNavText(String navText) { m_navText = navText; } /** * Sets the permissions. * * @param permissions the new permissions */ public void setPermissions(String permissions) { m_permissions = permissions; } /** * Sets the resource type. * * @param resourceType the new resource type */ public void setResourceType(String resourceType) { m_resourceType = resourceType; } /** * Sets the size. * * @param size the new size */ public void setSize(int size) { m_size = size; } /** * Sets the resource state object.

* * @param stateBean the new resource state object */ public void setStateBean(CmsResourceState stateBean) { m_stateBean = stateBean; } /** * Sets the structure id of the resource.

* * @param structureId the structure id of the resource */ public void setStructureId(CmsUUID structureId) { m_structureId = structureId; } /** * Sets the tab configuration.

* * @param tabs the tab configuration */ public void setTabs(LinkedHashMap tabs) { m_tabs = tabs; } /** * Sets the title. * * @param title the new title */ public void setTitle(String title) { m_title = title; } /** * Sets the user created. * * @param userCreated the new user created */ public void setUserCreated(String userCreated) { m_userCreated = userCreated; } /** * Sets the user last modified. * * @param userLastModified the new user last modified */ public void setUserLastModified(String userLastModified) { m_userLastModified = userLastModified; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy