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