001/* 002 * (C) Copyright 2011 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 * Quentin Lamerand <qlamerand@nuxeo.com> 016 */ 017 018package org.nuxeo.ecm.user.center.profile; 019 020/** 021 * @author <a href="mailto:qlamerand@nuxeo.com">Quentin Lamerand</a> 022 */ 023public class UserProfileConstants { 024 025 private UserProfileConstants() { 026 // Constants class 027 } 028 029 public static final String USER_PROFILE_FACET = "UserProfile"; 030 031 public static final String USER_PROFILE_DOCTYPE = "UserProfile"; 032 033 public static final String USER_PROFILE_BIRTHDATE_FIELD = "userprofile:birthdate"; 034 035 public static final String USER_PROFILE_AVATAR_FIELD = "userprofile:avatar"; 036 037 public static final String USER_PROFILE_PHONENUMBER_FIELD = "userprofile:phonenumber"; 038 039 public static final String USER_PROFILE_GENDER_FIELD = "userprofile:gender"; 040 041 /** 042 * @since 5.6 043 */ 044 public static final String USER_PROFILE_TIMEZONE = "userprofile:timezone"; 045 046 /** 047 * @since 5.6 048 */ 049 public static final String USER_PROFILE_LOCALE = "userprofile:locale"; 050}