Package com.liferay.commerce.util
Class CommerceUtil
java.lang.Object
com.liferay.commerce.util.CommerceUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
getCommerceAccountId
(CommerceContext commerceContext) static com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress>
getCommerceAddressOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction>
getCommerceAddressRestrictionOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.search.Sort
getCommerceAddressSort
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.commerce.inventory.model.CommerceInventoryWarehouseItem>
getCommerceInventoryWarehouseItemOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.commerce.inventory.model.CommerceInventoryWarehouse>
getCommerceInventoryWarehouseOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.search.Sort
getCommerceInventoryWarehouseSort
(String orderByCol, String orderByType) static com.liferay.portal.kernel.search.Sort[]
getCommerceOrderSorts
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem>
getCommerceShipmentItemOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment>
getCommerceShipmentOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country>
getCountryOrderByComparator
(String orderByCol, String orderByType) static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region>
getRegionOrderByComparator
(String orderByCol, String orderByType)
-
Constructor Details
-
CommerceUtil
public CommerceUtil()
-
-
Method Details
-
getCommerceAccountId
public static long getCommerceAccountId(CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressOrderByComparator
public static com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> getCommerceAddressOrderByComparator(String orderByCol, String orderByType) -
getCommerceAddressRestrictionOrderByComparator
public static com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> getCommerceAddressRestrictionOrderByComparator(String orderByCol, String orderByType) -
getCommerceAddressSort
-
getCommerceInventoryWarehouseItemOrderByComparator
-
getCommerceInventoryWarehouseOrderByComparator
-
getCommerceInventoryWarehouseSort
-
getCommerceOrderSorts
-
getCommerceShipmentItemOrderByComparator
public static com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> getCommerceShipmentItemOrderByComparator(String orderByCol, String orderByType) -
getCommerceShipmentOrderByComparator
public static com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> getCommerceShipmentOrderByComparator(String orderByCol, String orderByType) -
getCountryOrderByComparator
-
getRegionOrderByComparator
-