Class CPAttachmentFileEntryServiceUtil

java.lang.Object
com.liferay.commerce.product.service.CPAttachmentFileEntryServiceUtil

public class CPAttachmentFileEntryServiceUtil extends Object
Provides the remote service utility for CPAttachmentFileEntry. This utility wraps com.liferay.commerce.product.service.impl.CPAttachmentFileEntryServiceImpl 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

    • CPAttachmentFileEntryServiceUtil

      public CPAttachmentFileEntryServiceUtil()
  • Method Details

    • addCPAttachmentFileEntry

      public static CPAttachmentFileEntry addCPAttachmentFileEntry(long groupId, long classNameId, long classPK, long fileEntryId, boolean cdnEnabled, String cdnURL, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean galleryEnabled, Map<Locale,String> titleMap, String json, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPAttachmentFileEntry

      public static CPAttachmentFileEntry addOrUpdateCPAttachmentFileEntry(String externalReferenceCode, long groupId, long classNameId, long classPK, long cpAttachmentFileEntryId, long fileEntryId, boolean cdnEnabled, String cdnURL, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean galleryEnabled, Map<Locale,String> titleMap, String json, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPAttachmentFileEntry

      public static void deleteCPAttachmentFileEntry(long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPAttachmentFileEntry

      public static CPAttachmentFileEntry fetchCPAttachmentFileEntry(long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPAttachmentFileEntryByExternalReferenceCode

      public static CPAttachmentFileEntry fetchCPAttachmentFileEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntries

      public static List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long classNameId, long classPK, int type, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntries

      public static List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntries

      public static List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long classNameId, long classPK, String keywords, int type, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntriesCount

      public static int getCPAttachmentFileEntriesCount(long classNameId, long classPK, int type, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntriesCount

      public static int getCPAttachmentFileEntriesCount(long classNameId, long classPK, String keywords, int type, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPAttachmentFileEntry

      public static CPAttachmentFileEntry getCPAttachmentFileEntry(long cpAttachmentFileEntryId) 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
    • updateCPAttachmentFileEntry

      public static CPAttachmentFileEntry updateCPAttachmentFileEntry(long cpAttachmentFileEntryId, long fileEntryId, boolean cdnEnabled, String cdnURL, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, boolean galleryEnabled, Map<Locale,String> titleMap, String json, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CPAttachmentFileEntryService getService()