Class COREntryServiceUtil
java.lang.Object
com.liferay.commerce.order.rule.service.COREntryServiceUtil
Provides the remote service utility for COREntry. This utility wraps
com.liferay.commerce.order.rule.service.impl.COREntryServiceImpl
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 COREntry
addCOREntry
(String externalReferenceCode, boolean active, String description, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String name, int priority, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) static COREntry
deleteCOREntry
(long corEntryId) static COREntry
fetchCOREntry
(long corEntryId) static COREntry
fetchCOREntryByExternalReferenceCode
(long companyId, String externalReferenceCode) getCOREntries
(long companyId, boolean active, int start, int end) getCOREntries
(long companyId, boolean active, String type, int start, int end) getCOREntries
(long companyId, String type, int start, int end) static COREntry
getCOREntry
(long corEntryId) static String
Returns the OSGi service identifier.static COREntryService
static COREntry
updateCOREntry
(long corEntryId, boolean active, String description, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String name, int priority, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) static COREntry
updateCOREntryExternalReferenceCode
(String externalReferenceCode, long corEntryId) static COREntry
updateCOREntryTypeSettings
(long corEntryId, String typeSettings)
-
Constructor Details
-
COREntryServiceUtil
public COREntryServiceUtil()
-
-
Method Details
-
addCOREntry
public static COREntry addCOREntry(String externalReferenceCode, boolean active, String description, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String name, int priority, String type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCOREntry
public static COREntry deleteCOREntry(long corEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCOREntry
public static COREntry fetchCOREntry(long corEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCOREntryByExternalReferenceCode
public static COREntry fetchCOREntryByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCOREntries
public static List<COREntry> getCOREntries(long companyId, boolean active, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCOREntries
public static List<COREntry> getCOREntries(long companyId, boolean active, String type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCOREntries
public static List<COREntry> getCOREntries(long companyId, String type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCOREntry
public static COREntry getCOREntry(long corEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCOREntry
public static COREntry updateCOREntry(long corEntryId, boolean active, String description, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String name, int priority, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCOREntryExternalReferenceCode
public static COREntry updateCOREntryExternalReferenceCode(String externalReferenceCode, long corEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCOREntryTypeSettings
public static COREntry updateCOREntryTypeSettings(long corEntryId, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-