public class CTEntryLocalServiceWrapper extends java.lang.Object implements CTEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CTEntryLocalService>
CTEntryLocalService
.CTEntryLocalService
Constructor and Description |
---|
CTEntryLocalServiceWrapper(CTEntryLocalService ctEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
CTEntry |
addCTEntry(CTEntry ctEntry)
Adds the ct entry to the database.
|
CTEntry |
addCTEntry(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) |
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) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
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.
|
java.util.List<java.lang.Long> |
getExclusiveModelClassPKs(long ctCollectionId,
long modelClassNameId) |
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) |
void |
setWrappedService(CTEntryLocalService ctEntryLocalService) |
CTEntry |
updateCTEntry(CTEntry ctEntry)
Updates the ct entry in the database or adds it if it does not yet exist.
|
public CTEntryLocalServiceWrapper(CTEntryLocalService ctEntryLocalService)
public CTEntry addCTEntry(CTEntry ctEntry)
addCTEntry
in interface CTEntryLocalService
ctEntry
- the ct entrypublic CTEntry addCTEntry(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 CTEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public CTEntry createCTEntry(long ctEntryId)
createCTEntry
in interface CTEntryLocalService
ctEntryId
- 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 CTEntryLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CTEntry deleteCTEntry(CTEntry ctEntry) throws com.liferay.portal.kernel.exception.PortalException
deleteCTEntry
in interface CTEntryLocalService
ctEntry
- the ct entryPortalException
public CTEntry deleteCTEntry(long ctEntryId) throws com.liferay.portal.kernel.exception.PortalException
deleteCTEntry
in interface CTEntryLocalService
ctEntryId
- 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 CTEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CTEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CTEntryLocalService
dynamicQuery
- 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 CTEntryLocalService
dynamicQuery
- 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 CTEntryLocalService
dynamicQuery
- 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 CTEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CTEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CTEntry fetchCTEntry(long ctEntryId)
fetchCTEntry
in interface CTEntryLocalService
public CTEntry fetchCTEntry(long ctCollectionId, long modelClassNameId, long modelClassPK)
fetchCTEntry
in interface CTEntryLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CTEntryLocalService
public java.util.List<CTEntry> getCTCollectionCTEntries(long ctCollectionId)
getCTCollectionCTEntries
in interface CTEntryLocalService
public java.util.List<CTEntry> getCTCollectionCTEntries(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator)
getCTCollectionCTEntries
in interface CTEntryLocalService
public int getCTCollectionCTEntriesCount(long ctCollectionId)
getCTCollectionCTEntriesCount
in interface CTEntryLocalService
public 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 CTEntryLocalService
start
- 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 CTEntryLocalService
public int getCTEntriesCount()
getCTEntriesCount
in interface CTEntryLocalService
public CTEntry getCTEntry(long ctEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCTEntry
in interface CTEntryLocalService
ctEntryId
- the primary key of the ct entryPortalException
- if a ct entry with the primary key could not be foundpublic java.util.List<java.lang.Long> getExclusiveModelClassPKs(long ctCollectionId, long modelClassNameId)
getExclusiveModelClassPKs
in interface CTEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CTEntryLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CTEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CTEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public boolean hasCTEntries(long ctCollectionId, long modelClassNameId)
hasCTEntries
in interface CTEntryLocalService
public CTEntry updateCTEntry(CTEntry ctEntry)
updateCTEntry
in interface CTEntryLocalService
ctEntry
- the ct entrypublic 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>