001/* 002 * (C) Copyright 2012 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Olivier Grisel <ogrisel@nuxeo.com> 018 * Antoine Taillefer <ataillefer@nuxeo.com> 019 */ 020package org.nuxeo.drive.service; 021 022import java.io.Serializable; 023 024/** 025 * Core event related constants for Nuxeo Drive. 026 * 027 * @author Antoine Taillefer 028 */ 029public final class NuxeoDriveEvents { 030 031 private NuxeoDriveEvents() { 032 // Utility class 033 } 034 035 public static final String ABOUT_TO_REGISTER_ROOT = "aboutToRegisterRoot"; 036 037 public static final String ROOT_REGISTERED = "rootRegistered"; 038 039 public static final String ABOUT_TO_UNREGISTER_ROOT = "aboutToUnRegisterRoot"; 040 041 public static final String ROOT_UNREGISTERED = "rootUnregistered"; 042 043 public static final String IMPACTED_USERNAME_PROPERTY = "impactedUserName"; 044 045 public static final Serializable EVENT_CATEGORY = "NuxeoDrive"; 046 047 public static final String VIRTUAL_EVENT_CREATED = "virtualEventCreated"; 048 049 public static final String DELETED_EVENT = "deleted"; 050 051 public static final String SECURITY_UPDATED_EVENT = "securityUpdated"; 052 053 public static final String MOVED_EVENT = "moved"; 054 055}