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 * Mincong Huang <mhuang@nuxeo.com> 020 */ 021package org.nuxeo.drive.service; 022 023/** 024 * Core event related constants for Nuxeo Drive. 025 * 026 * @author Antoine Taillefer 027 * @author Mincong Huang 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 String EVENT_CATEGORY = "NuxeoDrive"; 046 047 public static final String VIRTUAL_EVENT_CREATED = "virtualEventCreated"; 048 049 /** 050 * @since 9.2 051 */ 052 public static final String GROUP_UPDATED = "groupUpdated"; 053 054 public static final String DELETED_EVENT = "deleted"; 055 056 public static final String SECURITY_UPDATED_EVENT = "securityUpdated"; 057 058 public static final String MOVED_EVENT = "moved"; 059 060}