001/*
002 * (C) Copyright 2006-2007 Nuxeo SAS (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.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 *     Nuxeo - initial API and implementation
016 *
017 * $Id: EventNames.java 19481 2007-05-27 10:50:10Z sfermigier $
018 */
019
020package org.nuxeo.ecm.platform.audit.web.listener.events;
021
022/**
023 * Seam event identifiers.
024 *
025 * @author <a href="mailto:ja@nuxeo.com">Julien Anguenot</a>
026 */
027// :FIXME: duplicated from the Nuxeo project. Use directly the ones there once
028// the WDK defined.
029public class EventNames {
030
031    /**
032     * Fired when a document selection changes (file, folder etc not workspace or above).
033     */
034    public static final String DOCUMENT_SELECTION_CHANGED = "documentSelectionChanged";
035
036    /**
037     * Fired when a location selection changes.
038     */
039    public static final String LOCATION_SELECTION_CHANGED = "locationSelectionChanged";
040
041    /**
042     * Should be raised when a document is edited.
043     */
044    public static final String DOCUMENT_CHANGED = "documentChanged";
045
046    /**
047     * Fired when content root selection is changed ( like workspaces, section etc types ).
048     */
049    public static final String CONTENT_ROOT_SELECTION_CHANGED = "contentRootSelectionChanged";
050
051    /**
052     * Fired when the selected domain changes. Should be listened by components interested specifically in domain
053     * selection change.
054     */
055    public static final String DOMAIN_SELECTION_CHANGED = "domainSelectionChanged";
056
057    // Constant utility class.
058    private EventNames() {
059    }
060
061}