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 *     bchaffangeon
016 *
017 * $Id: ForumConstants.java 19759 2007-05-31 11:11:12Z janguenot $
018 */
019
020package org.nuxeo.ecm.platform.forum.workflow;
021
022/**
023 * @author <a href="bchaffangeon@nuxeo.com">Brice Chaffangeon</a>
024 */
025public final class ForumConstants {
026
027    /**
028     * @deprecated use jbpmService variable "participants" instead
029     */
030    @Deprecated
031    public static final String FORUM_MODERATORS_LIST = "moderatorsList";
032
033    public static final String PENDING_STATE = "moderation_pending";
034
035    public static final String PUBLISHED_STATE = "moderation_published";
036
037    public static final String TRANSITION_TO_PUBLISHED_STATE = "moderation_publish";
038
039    public static final String TRANSITION_TO_REJECTED_STATE = "moderation_reject";
040
041    public static final String PROCESS_INSTANCE_NAME = "forum_moderation";
042
043    public static final String COMMENT_ID = "commentId";
044
045    public static final String THREAD_REF = "threadRef";
046
047    public static final String PROCESS_TRANSITION_TO_PUBLISH = "moderation_publish";
048
049    public static final String PROCESS_TRANSITION_TO_REJECTED = "moderation_reject";
050
051    public static final String MODERATION_TASK_NAME = "moderate";
052
053    public static final String FORUM_TASK_TYPE = "forum_moderate";
054
055    // Constant utility class.
056    private ForumConstants() {
057    }
058
059}