001/* 002 * (C) Copyright 2012 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.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 * Olivier Grisel <ogrisel@nuxeo.com> 016 * Antoine Taillefer <ataillefer@nuxeo.com> 017 */ 018package org.nuxeo.drive.service; 019 020import java.io.Serializable; 021 022/** 023 * Core event related constants for Nuxeo Drive. 024 * 025 * @author Antoine Taillefer 026 */ 027public final class NuxeoDriveEvents { 028 029 private NuxeoDriveEvents() { 030 // Utility class 031 } 032 033 public static final String ABOUT_TO_REGISTER_ROOT = "aboutToRegisterRoot"; 034 035 public static final String ROOT_REGISTERED = "rootRegistered"; 036 037 public static final String ABOUT_TO_UNREGISTER_ROOT = "aboutToUnRegisterRoot"; 038 039 public static final String ROOT_UNREGISTERED = "rootUnregistered"; 040 041 public static final String IMPACTED_USERNAME_PROPERTY = "impactedUserName"; 042 043 public static final Serializable EVENT_CATEGORY = "NuxeoDrive"; 044 045 public static final String VIRTUAL_EVENT_CREATED = "virtualEventCreated"; 046 047 public static final String DELETED_EVENT = "deleted"; 048 049 public static final String SECURITY_UPDATED_EVENT = "securityUpdated"; 050 051 public static final String MOVED_EVENT = "moved"; 052 053}