public class CTEntryLocalServiceWrapper extends java.lang.Object implements CTEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CTEntryLocalService>
CTEntryLocalService.CTEntryLocalService| Constructor and Description |
|---|
CTEntryLocalServiceWrapper() |
CTEntryLocalServiceWrapper(CTEntryLocalService ctEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CTEntry |
addCTEntry(CTEntry ctEntry)
Adds the ct entry to the database.
|
CTEntry |
addCTEntry(java.lang.String externalReferenceCode,
long ctCollectionId,
long modelClassNameId,
com.liferay.portal.kernel.model.change.tracking.CTModel<?> ctModel,
long userId,
int changeType) |
CTEntry |
createCTEntry(long ctEntryId)
Creates a new ct entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CTEntry |
deleteCTEntry(CTEntry ctEntry)
Deletes the ct entry from the database.
|
CTEntry |
deleteCTEntry(long ctEntryId)
Deletes the ct 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.
|
CTEntry |
fetchCTEntry(long ctEntryId) |
CTEntry |
fetchCTEntry(long ctCollectionId,
long modelClassNameId,
long modelClassPK) |
CTEntry |
fetchCTEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CTEntry |
fetchCTEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the ct entry with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
java.util.List<CTEntry> |
getCTCollectionCTEntries(long ctCollectionId) |
java.util.List<CTEntry> |
getCTCollectionCTEntries(long ctCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) |
int |
getCTCollectionCTEntriesCount(long ctCollectionId) |
java.util.List<CTEntry> |
getCTEntries(int start,
int end)
Returns a range of all the ct entries.
|
java.util.List<CTEntry> |
getCTEntries(long ctCollectionId,
long modelClassNameId) |
int |
getCTEntriesCount()
Returns the number of ct entries.
|
CTEntry |
getCTEntry(long ctEntryId)
Returns the ct entry with the primary key.
|
CTEntry |
getCTEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CTEntry |
getCTEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the ct entry with the matching UUID and company.
|
long |
getCTRowCTCollectionId(CTEntry ctEntry) |
java.util.List<java.lang.Long> |
getExclusiveModelClassPKs(long ctCollectionId,
long modelClassNameId) |
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.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CTEntryLocalService |
getWrappedService() |
boolean |
hasCTEntries(long ctCollectionId,
long modelClassNameId) |
boolean |
hasCTEntry(long ctCollectionId,
long modelClassNameId,
long modelClassPK) |
boolean |
hasUnpublishedCTEntries(long modelClassNameId,
long modelClassPK,
int changeType) |
void |
setWrappedService(CTEntryLocalService ctEntryLocalService) |
CTEntry |
updateCTEntry(CTEntry ctEntry)
Updates the ct entry in the database or adds it if it does not yet exist.
|
CTEntry |
updateModelMvccVersion(long ctEntryId,
long modelMvccVersion) |
public CTEntryLocalServiceWrapper()
public CTEntryLocalServiceWrapper(CTEntryLocalService ctEntryLocalService)
public CTEntry addCTEntry(CTEntry ctEntry)
Important: Inspect CTEntryLocalServiceImpl 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.
addCTEntry in interface CTEntryLocalServicectEntry - the ct entrypublic CTEntry addCTEntry(java.lang.String externalReferenceCode, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.model.change.tracking.CTModel<?> ctModel, long userId, int changeType) throws com.liferay.portal.kernel.exception.PortalException
addCTEntry in interface CTEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CTEntry createCTEntry(long ctEntryId)
createCTEntry in interface CTEntryLocalServicectEntryId - the primary key for the new ct entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CTEntryLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CTEntry deleteCTEntry(CTEntry ctEntry) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CTEntryLocalServiceImpl 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.
deleteCTEntry in interface CTEntryLocalServicectEntry - the ct entryPortalExceptionpublic CTEntry deleteCTEntry(long ctEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CTEntryLocalServiceImpl 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.
deleteCTEntry in interface CTEntryLocalServicectEntryId - the primary key of the ct entryPortalException - if a ct 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 CTEntryLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CTEntryLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CTEntryLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CTEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CTEntryLocalServicedynamicQuery - 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.change.tracking.model.impl.CTEntryModelImpl.
dynamicQuery in interface CTEntryLocalServicedynamicQuery - 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.change.tracking.model.impl.CTEntryModelImpl.
dynamicQuery in interface CTEntryLocalServicedynamicQuery - 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 CTEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CTEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CTEntry fetchCTEntry(long ctEntryId)
fetchCTEntry in interface CTEntryLocalServicepublic CTEntry fetchCTEntry(long ctCollectionId, long modelClassNameId, long modelClassPK)
fetchCTEntry in interface CTEntryLocalServicepublic CTEntry fetchCTEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCTEntryByExternalReferenceCode in interface CTEntryLocalServicepublic CTEntry fetchCTEntryByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCTEntryByUuidAndCompanyId in interface CTEntryLocalServiceuuid - the ct entry's UUIDcompanyId - the primary key of the companynull if a matching ct entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CTEntryLocalServicepublic java.util.List<CTEntry> getCTCollectionCTEntries(long ctCollectionId)
getCTCollectionCTEntries in interface CTEntryLocalServicepublic java.util.List<CTEntry> getCTCollectionCTEntries(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
getCTCollectionCTEntries in interface CTEntryLocalServicepublic int getCTCollectionCTEntriesCount(long ctCollectionId)
getCTCollectionCTEntriesCount in interface CTEntryLocalServicepublic java.util.List<CTEntry> getCTEntries(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.change.tracking.model.impl.CTEntryModelImpl.
getCTEntries in interface CTEntryLocalServicestart - the lower bound of the range of ct entriesend - the upper bound of the range of ct entries (not inclusive)public java.util.List<CTEntry> getCTEntries(long ctCollectionId, long modelClassNameId)
getCTEntries in interface CTEntryLocalServicepublic int getCTEntriesCount()
getCTEntriesCount in interface CTEntryLocalServicepublic CTEntry getCTEntry(long ctEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCTEntry in interface CTEntryLocalServicectEntryId - the primary key of the ct entryPortalException - if a ct entry with the primary key could not be foundpublic CTEntry getCTEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCTEntryByExternalReferenceCode in interface CTEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CTEntry getCTEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCTEntryByUuidAndCompanyId in interface CTEntryLocalServiceuuid - the ct entry's UUIDcompanyId - the primary key of the companyPortalException - if a matching ct entry could not be foundpublic long getCTRowCTCollectionId(CTEntry ctEntry) throws com.liferay.portal.kernel.exception.PortalException
getCTRowCTCollectionId in interface CTEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<java.lang.Long> getExclusiveModelClassPKs(long ctCollectionId,
long modelClassNameId)
getExclusiveModelClassPKs in interface CTEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CTEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CTEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CTEntryLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CTEntryLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic boolean hasCTEntries(long ctCollectionId,
long modelClassNameId)
hasCTEntries in interface CTEntryLocalServicepublic boolean hasCTEntry(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
hasCTEntry in interface CTEntryLocalServicepublic boolean hasUnpublishedCTEntries(long modelClassNameId,
long modelClassPK,
int changeType)
hasUnpublishedCTEntries in interface CTEntryLocalServicepublic CTEntry updateCTEntry(CTEntry ctEntry)
Important: Inspect CTEntryLocalServiceImpl 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.
updateCTEntry in interface CTEntryLocalServicectEntry - the ct entrypublic CTEntry updateModelMvccVersion(long ctEntryId, long modelMvccVersion)
updateModelMvccVersion in interface CTEntryLocalServicepublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic CTEntryLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CTEntryLocalService>public void setWrappedService(CTEntryLocalService ctEntryLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CTEntryLocalService>