Class CommercePriceListServiceUtil
java.lang.Object
com.liferay.commerce.price.list.service.CommercePriceListServiceUtil
Provides the remote service utility for CommercePriceList. This utility wraps
com.liferay.commerce.price.list.service.impl.CommercePriceListServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommercePriceListaddCommercePriceList(String externalReferenceCode, long groupId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePriceListaddOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteCommercePriceList(long commercePriceListId) static CommercePriceListfetchCatalogBaseCommercePriceListByType(long groupId, String type) static CommercePriceListfetchCommercePriceList(long commercePriceListId) static CommercePriceListfetchCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) static CommercePriceListgetCommercePriceList(long commercePriceListId) static List<CommercePriceList> getCommercePriceLists(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) static List<CommercePriceList> getCommercePriceLists(long companyId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) static intgetCommercePriceListsCount(long companyId, int status) static intgetCommercePriceListsCount(long commercePricingClassId, String title) static StringReturns the OSGi service identifier.static CommercePriceListServicestatic List<CommercePriceList> searchByCommercePricingClassId(long commercePricingClassId, String name, int start, int end) static com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceList> searchCommercePriceLists(long companyId, String keywords, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) static intsearchCommercePriceListsCount(long companyId, String keywords, int status) static voidsetCatalogBasePriceList(long groupId, long commercePriceListId, String type) static CommercePriceListupdateCommercePriceList(long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePriceListupdateExternalReferenceCode(CommercePriceList commercePriceList, String externalReferenceCode, long companyId)
-
Constructor Details
-
CommercePriceListServiceUtil
public CommercePriceListServiceUtil()
-
-
Method Details
-
addCommercePriceList
public static CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePriceList
public static CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommercePriceList
public static void deleteCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCatalogBaseCommercePriceListByType
public static CommercePriceList fetchCatalogBaseCommercePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePriceList
public static CommercePriceList fetchCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePriceListByExternalReferenceCode
public static CommercePriceList fetchCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceList
public static CommercePriceList getCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceLists
public static List<CommercePriceList> getCommercePriceLists(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceLists
public static List<CommercePriceList> getCommercePriceLists(long companyId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceListsCount
public static int getCommercePriceListsCount(long companyId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceListsCount
public static int getCommercePriceListsCount(long commercePricingClassId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
searchByCommercePricingClassId
public static List<CommercePriceList> searchByCommercePricingClassId(long commercePricingClassId, String name, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
searchCommercePriceLists
public static com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceList> searchCommercePriceLists(long companyId, String keywords, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommercePriceListsCount
public static int searchCommercePriceListsCount(long companyId, String keywords, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
setCatalogBasePriceList
public static void setCatalogBasePriceList(long groupId, long commercePriceListId, String type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePriceList
public static CommercePriceList updateCommercePriceList(long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public static CommercePriceList updateExternalReferenceCode(CommercePriceList commercePriceList, String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-