Interface CPAttachmentFileEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CPAttachmentFileEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CPAttachmentFileEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CPAttachmentFileEntry. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddCPAttachmentFileEntry
(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) 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) void
deleteCPAttachmentFileEntry
(long cpAttachmentFileEntryId) fetchCPAttachmentFileEntry
(long cpAttachmentFileEntryId) fetchCPAttachmentFileEntryByExternalReferenceCode
(String externalReferenceCode, long companyId) getCPAttachmentFileEntries
(long classNameId, long classPK, int type, int status, int start, int end) getCPAttachmentFileEntries
(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) getCPAttachmentFileEntries
(long classNameId, long classPK, String keywords, int type, int status, int start, int end) int
getCPAttachmentFileEntriesCount
(long classNameId, long classPK, int type, int status) int
getCPAttachmentFileEntriesCount
(long classNameId, long classPK, String keywords, int type, int status) getCPAttachmentFileEntry
(long cpAttachmentFileEntryId) Returns the OSGi service identifier.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)
-
Method Details
-
addCPAttachmentFileEntry
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
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
void deleteCPAttachmentFileEntry(long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPAttachmentFileEntry
@Transactional(propagation=SUPPORTS, readOnly=true) CPAttachmentFileEntry fetchCPAttachmentFileEntry(long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPAttachmentFileEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CPAttachmentFileEntry fetchCPAttachmentFileEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPAttachmentFileEntries
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) CPAttachmentFileEntry getCPAttachmentFileEntry(long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCPAttachmentFileEntry
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
-