package model.constants;

/**
 * This class is a constant holder for messages,
 * used in java classes and jsp view pages.
 *
 * @author dyvakyurii@gmail.com
 */
public class MsgHolder {

    public static final String CREATE_ORDER_PRODUCTS_SUCCESSFUL_MSG = "CreateOrderProductSuccessful";
    public static final String UPDATE_ORDER_PRODUCTS_SUCCESSFUL_MSG = "UpdateOrderProductSuccessful";
    public static final String DELETE_ORDER_PRODUCTS_SUCCESSFUL_MSG = "DeleteOrderProductSuccessful";

    public static final String CREATE_PRODUCT_SUCCESSFUL_MSG = "CreateProductSuccessful";
    public static final String DELETE_PRODUCT_SUCCESSFUL_MSG = "DeleteProductSuccessful";
    public static final String UPDATE_PRODUCT_SUCCESSFUL_MSG = "UpdateProductSuccessful";

    public static final String CREATE_ORDER_SUCCESSFUL_MSG = "CreateOrderSuccessful";
    public static final String UPDATE_ORDER_SUCCESSFUL_MSG = "UpdateOrderSuccessful";
    public static final String DELETE_ORDER_SUCCESSFUL_MSG = "DeleteOrderSuccessful";

    public static final String CREATE_USER_ORDER_SUCCESSFUL_MSG= "CreateUserOrderSuccessful";
    public static final String UPDATE_USER_ORDERS_SUCCESSFUL_MSG = "UpdateUserOrderSuccessful";
    public static final String DELETE_USER_ORDERS_SUCCESSFUL_MSG = "DeleteUserOrderSuccessful";

    public static final String CREATE_USER_SUCCESSFUL_MSG = "CreateUserSuccessful";
    public static final String UPDATE_USER_SUCCESSFUL_MSG = "UpdateUserSuccessful";
    public static final String DELETE_USER_SUCCESSFUL_MSG = "DeleteUserSuccessful" ;

    public static final String LOGIN_USER_SUCCESSFUL_MSG = "LoginUserSuccessful";
    public static final String REGISTER_USER_SUCCESSFUL_MSG = "RegisterUserSuccessful";

    public static final String USER_NOT_AUTHORIZED="UserNotAuthorized";
    public static final String ACCESS_DENIED="AccessDenied";
    public static final String AMOUNT_INCREASED="AmountIncreased";

    private MsgHolder(){

    }
}
