Class COREntryServiceUtil

java.lang.Object
com.liferay.commerce.order.rule.service.COREntryServiceUtil

public class COREntryServiceUtil extends Object
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 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

      public static String 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

      public static COREntryService getService()