All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.aemds.guide.utils.AuthoringErrorMessages Maven / Gradle / Ivy

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2017 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

package com.adobe.aemds.guide.utils;


import java.util.HashMap;
import java.util.Map;

public class AuthoringErrorMessages {

    public static final String MSG_E_SIGN_0001 = "MSG_E_SIGN_0001";
    public static final String MSG_E_SIGN_0002 = "MSG_E_SIGN_0002";
    public static final String MSG_E_SIGN_0003 = "MSG_E_SIGN_0003";
    public static final String MSG_E_SIGN_0004 = "MSG_E_SIGN_0004";
    public static final String MSG_E_SIGN_0005 = "MSG_E_SIGN_0005";
    public static final String MSG_E_SIGN_0006 = "MSG_E_SIGN_0006";
    public static final String MSG_E_SIGN_0007 = "MSG_E_SIGN_0007";

    public static final String MSG_VERIFY_STEP_0001 = "MSG_VERIFY_STEP_0001";
    public static final String MSG_VERIFY_STEP_0002 = "MSG_VERIFY_STEP_0002";

    public static final String MSG_DEFAULT_CAPTCHA_0001 = "MSG_DEFAULT_CAPTCHA_0001";

    public static final String MSG_FLAMINGO_0001 = "MSG_FLAMINGO_0001";

    public static final Map AUTHORING_ERROR_MAP = new HashMap<>();

    static {
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0001, "Electronic signature needs to be enabled for Signature Step.");
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0002, "Person filling the form should be the first signer for Signature Step. Open Form Container dialog and configure it correctly.");
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0003, "Electronic signature can not be enabled with legacy E-Sign component.");
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0004, "Electronic signature works if the adaptive form " +
                "is based on a form template or has document of record configured for it.");
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0005, "Signature step component works if the adaptive form " +
                "is based on a form template or has document of record configured for it.");
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0006, "Adobe sign block component will not have any effect unless " +
                "'Generate Document of Record' is configured for the adaptive form.");
        AUTHORING_ERROR_MAP.put(MSG_E_SIGN_0007, "Electronic signature or signers are not configured properly. " +
                "Verify the configuration in form container dialog.");

        AUTHORING_ERROR_MAP.put(MSG_VERIFY_STEP_0001, "Verify step component works if the minimum count " +
                "for all panels and table rows is greater than or equal to 1.");
        AUTHORING_ERROR_MAP.put(MSG_VERIFY_STEP_0002, "Verify step component works if the adaptive form " +
                "is based on a form template or has document of record configured for it.");

        AUTHORING_ERROR_MAP.put(MSG_DEFAULT_CAPTCHA_0001, "Default Captcha component is deprecated and should no longer be used." +
                " Use ReCaptcha option instead.");

        AUTHORING_ERROR_MAP.put(MSG_FLAMINGO_0001, "[info] Related workflow ids:");
    }
}

/*
Adding i18n.get for error messages extraction

i18n.get("Electronic signature needs to be enabled for Signature Step.");
i18n.get("Person filling the form should be the first signer for Signature Step. Open Form Container dialog and configure it correctly.");
i18n.get("Electronic signature can not be enabled with legacy E-Sign component.");
i18n.get("Electronic signature works if the adaptive form is based on a form template or has document of record configured for it.");
i18n.get("Signature step component works if the adaptive form is based on a form template or has document of record configured for it.");
i18n.get("Adobe sign block component will not have any effect unless 'Generate Document of Record' is configured for the adaptive form.");
i18n.get("Electronic signature or signers are not configured properly. Verify the configuration in form container dialog.");
i18n.get("Verify step component works if the minimum count for all panels and table rows is greater than or equal to 1.");
i18n.get("Verify step component works if the adaptive form is based on a form template or has document of record configured for it.");
i18n.get("Default Captcha component is deprecated and should no longer be used. Use ReCaptcha option instead.");
*/




© 2015 - 2025 Weber Informatics LLC | Privacy Policy