

package org.wso2.carbon.identity.workflow.mgt.ui;

public class WorkflowUIConstants {

    public static final String WORKFLOW_WIZARD_REF = "workflow-wizard" ;
    public static final String PARAM_SELECT_ITEM = "select-item";
    public static final String PARAM_ACTION = "action";
    public static final String ACTION_VALUE_ADD = "addNew";
    public static final String ACTION_VALUE_BACK = "back";
    public static final String ACTION_VALUE_FINISH = "finishAdd";
    public static final String ACTION_VALUE_EDIT = "edit";
    public static final String ACTION_VALUE_DEPLOY = "deploy";
    public static final String ACTION_VALUE_DELETE = "delete";
    public static final String ACTION_VALUE_UPDATE = "update";
    public static final String ACTION_VALUE_ENABLE = "enable";
    public static final String ACTION_VALUE_DISABLE = "disable";
    public static final String ACTION_VALUE_DELETE_ASSOCIATION = "deleteAssociation";
    public static final String ACTION_VALUE_ADD_ASSOCIATION = "addAssociation";
    public static final String DEFAULT_BPS_PROFILE = "embeded_bps";

    public static final String ATTRIB_WORKFLOW_WIZARD = "workflowAddWizard";

    public static final String PARAM_WORKFLOW_NAME = "workflow-name";
    public static final String PARAM_WORKFLOW_ID = "workflow-id";
    public static final String PARAM_REQUEST_PATH = "request-path";
    public static final String PARAM_BACK = "back";
    public static final String PARAM_PAGE_REQUEST_TOKEN = "page-request-token";
    public static final String PARAM_ASSOCIATION_ID = "associationId";
    public static final String PARAM_ASSOCIATION_NAME = "associationName";
    public static final String PARAM_WORKFLOW_DESCRIPTION = "workflow-description";
    public static final String PARAM_WORKFLOW_IMPL_ID = "workflow-impl-id";
    public static final String PARAM_TEMPLATE_ID = "template-id";
    public static final String VALUE_EXISTING_SERVICE = "EXISTING";
    public static final String PARAM_OPERATION = "operation";
    public static final String PARAM_OPERATION_CATEGORY = "opertaionCategory";

    public static final String PARAM_BPS_PROFILE_NAME = "bpsProfileName";
    public static final String PARAM_BPS_HOST = "bpsHost";
    public static final String PARAM_BPS_AUTH_USER = "bpsUser";
    public static final String PARAM_BPS_AUTH_PASSWORD = "bpsPassword";
    public static final String PARAM_SERVICE_ACTION = "serviceAction";
    public static final String PARAM_SERVICE_AUTH_USERNAME = "serviceUser";
    public static final String PARAM_SERVICE_AUTH_PASSWORD = "serviceUserPassword";

    public static final String PARAM_SERVICE_ASSOCIATION_PRIORITY = "priority";
    public static final String PARAM_ASSOCIATION_CONDITION = "condition";

    public static final String PARAM_PROCESS_NAME = "processName";
    public static final String PARAM_CARBON_HOST = "carbonHost";
    public static final String PARAM_CARBON_AUTH_USER = "carbonUser";
    public static final String PARAM_CARBON_AUTH_PASSWORD = "carbonUserPassword";

    public static final String PARAM_REQUEST_ID = "requestId";

    public static final String PARAM_PAGE_NUMBER = "pageNumber";
    public static final int RESULTS_PER_PAGE = 20;

    public static class InputType {
        public static final String INTEGER = "INTEGER";
        public static final String DOUBLE = "DOUBLE";
        public static final String STRING = "STRING";
        public static final String LONG_STRING = "TEXT";
        public static final String BOOLEAN = "BOOLEAN";
        public static final String PASSWORD = "PASSWORD";
        public static final String USER_ROLE = "USER_ROLE";
        public static final String USER_NAME = "USER_NAME";
        public static final String BPS_PROFILE = "BPS_PROFILE";
        public static final String USER_NAME_OR_USER_ROLE = "USER_NAME_OR_USER_ROLE";
    }

    public static class ParameterHolder {
        public static final String TEMPLATE = "Template" ;
        public static final String  WORKFLOW_IMPL = "WorkflowImpl" ;
    }
}
