public class CPAttachmentFileEntryLocalServiceWrapper extends java.lang.Object implements CPAttachmentFileEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CPAttachmentFileEntryLocalService>
CPAttachmentFileEntryLocalService.CPAttachmentFileEntryLocalService| Constructor and Description |
|---|
CPAttachmentFileEntryLocalServiceWrapper() |
CPAttachmentFileEntryLocalServiceWrapper(CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CPAttachmentFileEntry |
addCPAttachmentFileEntry(CPAttachmentFileEntry cpAttachmentFileEntry)
Adds the cp attachment file entry to the database.
|
CPAttachmentFileEntry |
addCPAttachmentFileEntry(java.lang.String externalReferenceCode,
long userId,
long groupId,
long classNameId,
long classPK,
long fileEntryId,
boolean cdnEnabled,
java.lang.String cdnURL,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String json,
double priority,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPAttachmentFileEntry |
addOrUpdateCPAttachmentFileEntry(java.lang.String externalReferenceCode,
long userId,
long groupId,
long classNameId,
long classPK,
long cpAttachmentFileEntryId,
long fileEntryId,
boolean cdnEnabled,
java.lang.String cdnURL,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String json,
double priority,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkCPAttachmentFileEntries() |
void |
checkCPAttachmentFileEntriesByDisplayDate(long classNameId,
long classPK) |
CPAttachmentFileEntry |
createCPAttachmentFileEntry(long CPAttachmentFileEntryId)
Creates a new cp attachment file entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteCPAttachmentFileEntries(long fileEntryId) |
void |
deleteCPAttachmentFileEntries(java.lang.String className,
long classPK) |
CPAttachmentFileEntry |
deleteCPAttachmentFileEntry(CPAttachmentFileEntry cpAttachmentFileEntry)
Deletes the cp attachment file entry from the database.
|
CPAttachmentFileEntry |
deleteCPAttachmentFileEntry(long CPAttachmentFileEntryId)
Deletes the cp attachment file entry with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CPAttachmentFileEntry |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CPAttachmentFileEntry |
fetchCPAttachmentFileEntry(long CPAttachmentFileEntryId) |
CPAttachmentFileEntry |
fetchCPAttachmentFileEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CPAttachmentFileEntry |
fetchCPAttachmentFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp attachment file entry matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.repository.model.Folder |
getAttachmentsFolder(long userId,
long groupId,
java.lang.String className,
long classPK) |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntries(int start,
int end)
Returns a range of all the cp attachment file entries.
|
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntries(long classNameId,
long classPK,
int type,
int status,
int start,
int end) |
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntries(long classNameId,
long classPK,
int type,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) |
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntries(long classNameId,
long classPK,
java.lang.String keywords,
int type,
int status,
int start,
int end) |
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntries(long cpDefinitionId,
java.lang.String serializedDDMFormValues,
int type,
int start,
int end) |
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the cp attachment file entries matching the UUID and company.
|
java.util.List<CPAttachmentFileEntry> |
getCPAttachmentFileEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Returns a range of cp attachment file entries matching the UUID and company.
|
int |
getCPAttachmentFileEntriesCount()
Returns the number of cp attachment file entries.
|
int |
getCPAttachmentFileEntriesCount(long classNameId,
long classPK,
int type,
int status) |
int |
getCPAttachmentFileEntriesCount(long classNameId,
long classPK,
java.lang.String keywords,
int type,
int status) |
CPAttachmentFileEntry |
getCPAttachmentFileEntry(long CPAttachmentFileEntryId)
Returns the cp attachment file entry with the primary key.
|
CPAttachmentFileEntry |
getCPAttachmentFileEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CPAttachmentFileEntry |
getCPAttachmentFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp attachment file entry matching the UUID and group.
|
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.Class<CPAttachmentFileEntry> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CPAttachmentFileEntryLocalService |
getWrappedService() |
void |
setWrappedService(CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService) |
CPAttachmentFileEntry |
updateCPAttachmentFileEntry(CPAttachmentFileEntry cpAttachmentFileEntry)
Updates the cp attachment file entry in the database or adds it if it does not yet exist.
|
CPAttachmentFileEntry |
updateCPAttachmentFileEntry(long userId,
long cpAttachmentFileEntryId,
long fileEntryId,
boolean cdnEnabled,
java.lang.String cdnURL,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String json,
double priority,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPAttachmentFileEntry |
updateStatus(long userId,
long cpAttachmentFileEntryId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry>,R,E> updateUnsafeFunction) |
public CPAttachmentFileEntryLocalServiceWrapper()
public CPAttachmentFileEntryLocalServiceWrapper(CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService)
public CPAttachmentFileEntry addCPAttachmentFileEntry(CPAttachmentFileEntry cpAttachmentFileEntry)
Important: Inspect CPAttachmentFileEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicecpAttachmentFileEntry - the cp attachment file entrypublic CPAttachmentFileEntry addCPAttachmentFileEntry(java.lang.String externalReferenceCode, long userId, long groupId, long classNameId, long classPK, long fileEntryId, boolean cdnEnabled, java.lang.String cdnURL, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String json, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPAttachmentFileEntry addOrUpdateCPAttachmentFileEntry(java.lang.String externalReferenceCode, long userId, long groupId, long classNameId, long classPK, long cpAttachmentFileEntryId, long fileEntryId, boolean cdnEnabled, java.lang.String cdnURL, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String json, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkCPAttachmentFileEntries()
throws com.liferay.portal.kernel.exception.PortalException
checkCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkCPAttachmentFileEntriesByDisplayDate(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
checkCPAttachmentFileEntriesByDisplayDate in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPAttachmentFileEntry createCPAttachmentFileEntry(long CPAttachmentFileEntryId)
createCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServiceCPAttachmentFileEntryId - the primary key for the new cp attachment file entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CPAttachmentFileEntryLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteCPAttachmentFileEntries(long fileEntryId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCPAttachmentFileEntries(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
deleteCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPAttachmentFileEntry deleteCPAttachmentFileEntry(CPAttachmentFileEntry cpAttachmentFileEntry) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPAttachmentFileEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicecpAttachmentFileEntry - the cp attachment file entryPortalExceptionpublic CPAttachmentFileEntry deleteCPAttachmentFileEntry(long CPAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPAttachmentFileEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServiceCPAttachmentFileEntryId - the primary key of the cp attachment file entryPortalException - if a cp attachment file entry with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CPAttachmentFileEntryLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CPAttachmentFileEntryLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CPAttachmentFileEntryLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CPAttachmentFileEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CPAttachmentFileEntryLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPAttachmentFileEntryModelImpl.
dynamicQuery in interface CPAttachmentFileEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPAttachmentFileEntryModelImpl.
dynamicQuery in interface CPAttachmentFileEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CPAttachmentFileEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CPAttachmentFileEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CPAttachmentFileEntry fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode in interface CPAttachmentFileEntryLocalServicepublic CPAttachmentFileEntry fetchCPAttachmentFileEntry(long CPAttachmentFileEntryId)
fetchCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicepublic CPAttachmentFileEntry fetchCPAttachmentFileEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCPAttachmentFileEntryByExternalReferenceCode in interface CPAttachmentFileEntryLocalServicepublic CPAttachmentFileEntry fetchCPAttachmentFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCPAttachmentFileEntryByUuidAndGroupId in interface CPAttachmentFileEntryLocalServiceuuid - the cp attachment file entry's UUIDgroupId - the primary key of the groupnull if a matching cp attachment file entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CPAttachmentFileEntryLocalServicepublic com.liferay.portal.kernel.repository.model.Folder getAttachmentsFolder(long userId,
long groupId,
java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getAttachmentsFolder in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntries(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPAttachmentFileEntryModelImpl.
getCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicestart - the lower bound of the range of cp attachment file entriesend - the upper bound of the range of cp attachment file entries (not inclusive)public java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long classNameId, long classPK, int type, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.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
getCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long classNameId, long classPK, java.lang.String keywords, int type, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntries(long cpDefinitionId, java.lang.String serializedDDMFormValues, int type, int start, int end) throws java.lang.Exception
getCPAttachmentFileEntries in interface CPAttachmentFileEntryLocalServicejava.lang.Exceptionpublic java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCPAttachmentFileEntriesByUuidAndCompanyId in interface CPAttachmentFileEntryLocalServiceuuid - the UUID of the cp attachment file entriescompanyId - the primary key of the companypublic java.util.List<CPAttachmentFileEntry> getCPAttachmentFileEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
getCPAttachmentFileEntriesByUuidAndCompanyId in interface CPAttachmentFileEntryLocalServiceuuid - the UUID of the cp attachment file entriescompanyId - the primary key of the companystart - the lower bound of the range of cp attachment file entriesend - the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getCPAttachmentFileEntriesCount()
getCPAttachmentFileEntriesCount in interface CPAttachmentFileEntryLocalServicepublic int getCPAttachmentFileEntriesCount(long classNameId,
long classPK,
int type,
int status)
getCPAttachmentFileEntriesCount in interface CPAttachmentFileEntryLocalServicepublic int getCPAttachmentFileEntriesCount(long classNameId,
long classPK,
java.lang.String keywords,
int type,
int status)
throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntriesCount in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPAttachmentFileEntry getCPAttachmentFileEntry(long CPAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServiceCPAttachmentFileEntryId - the primary key of the cp attachment file entryPortalException - if a cp attachment file entry with the primary key could not be foundpublic CPAttachmentFileEntry getCPAttachmentFileEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntryByExternalReferenceCode in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPAttachmentFileEntry getCPAttachmentFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCPAttachmentFileEntryByUuidAndGroupId in interface CPAttachmentFileEntryLocalServiceuuid - the cp attachment file entry's UUIDgroupId - the primary key of the groupPortalException - if a matching cp attachment file entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CPAttachmentFileEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CPAttachmentFileEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CPAttachmentFileEntryLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CPAttachmentFileEntryLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CPAttachmentFileEntry updateCPAttachmentFileEntry(CPAttachmentFileEntry cpAttachmentFileEntry)
Important: Inspect CPAttachmentFileEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicecpAttachmentFileEntry - the cp attachment file entrypublic CPAttachmentFileEntry updateCPAttachmentFileEntry(long userId, long cpAttachmentFileEntryId, long fileEntryId, boolean cdnEnabled, java.lang.String cdnURL, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String json, double priority, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCPAttachmentFileEntry in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPAttachmentFileEntry updateStatus(long userId, long cpAttachmentFileEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CPAttachmentFileEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry> getCTPersistence()
getCTPersistence in interface CPAttachmentFileEntryLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPAttachmentFileEntry>public java.lang.Class<CPAttachmentFileEntry> getModelClass()
getModelClass in interface CPAttachmentFileEntryLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPAttachmentFileEntry>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CPAttachmentFileEntryLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPAttachmentFileEntry>E extends java.lang.Throwablepublic CPAttachmentFileEntryLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPAttachmentFileEntryLocalService>public void setWrappedService(CPAttachmentFileEntryLocalService cpAttachmentFileEntryLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPAttachmentFileEntryLocalService>