com.crm.kernel.util.PortletPropsKeys.java Source code

Java tutorial

Introduction

Here is the source code for com.crm.kernel.util.PortletPropsKeys.java

Source

/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crm.kernel.util;

import com.liferay.portal.kernel.util.PropsKeys;

/**
 * @author Brian Wing Shun Chan
 */
public class PortletPropsKeys implements PropsKeys {
    public static final long DEFAULT_ID = 0;

    // discount type
    public static final String FLAT_DISCOUNT_TYPE = "flat";

    public static final String FIX_DISCOUNT_TYPE = "fix";

    public static final String PERCENTAGE_DISCOUNT_TYPE = "percent";

    // subscriber status
    public static final int USER_ACTIVE_STATUS = 1;

    public static final int USER_BARRING_STATUS = 2;

    public static final int USER_SUSPEND_STATUS = 2;

    public static final int USER_CANCEL_STATUS = 2;

    public static final int SUPPLIER_ACTIVE_STATUS = 1;

    public static final int SUPPLIER_SUSPEND_STATUS = 2;

    public static final int SUPPLIER_BARRING_STATUS = 2;

    public static final int SUPPLIER_DEACTIVE_STATUS = 3;

    public static final int SUPPLIER_CANCEL_STATUS = 3;

    // subscriber action
    public static final String REGISTER_ACTION = "register";

    public static final String UNREGISTER_ACTION = "unregister";

    public static final String EXTEND_ACTION = "extend";

    public static final String REVISE_ACTION = "revise";

    public static final String USER_UNBARRING_ACTION = "unbarring";

    public static final String USER_BARRING_ACTION = "barring";

    public static final String USER_SUSPEND_ACTION = "suspend";

    public static final String SUPPLIER_UNBARRING_ACTION = "supplier-unbarring";

    public static final String SUPPLIER_BARRING_ACTION = "supplier-barring";

    public static final String SUPPLIER_SUSPEND_ACTION = "supplier-suspend";

    // price type
    public static final String CHARGING_PRICE_TYPE = "charging";

    public static final String INSURANCE_PRICE_TYPE = "insurance";

    public static final String SHIPPING_PRICE_TYPE = "shipping";

    public static final String REDEEM_PRICE_TYPE = "redeem";

    // order
    public static final String STATUS_CHECKOUT = "STATUS_CHECKOUT";

    public static final String STATUS_LATEST = "STATUS_LATEST";

    public static final String STATUS_COMPLETED = "Completed";

}