Class ReadingTimeEntryLocalServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<ReadingTimeEntry>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<ReadingTimeEntryLocalService>,ReadingTimeEntryLocalService
ReadingTimeEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionReadingTimeEntryLocalServiceWrapper(ReadingTimeEntryLocalService readingTimeEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddReadingTimeEntry(long groupId, long classNameId, long classPK, Duration readingTimeDuration) addReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel, Duration readingTimeDuration) addReadingTimeEntry(ReadingTimeEntry readingTimeEntry) Adds the reading time entry to the database.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) createReadingTimeEntry(long readingTimeEntryId) Creates a new reading time entry with the primary key.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) deleteReadingTimeEntry(long readingTimeEntryId) Deletes the reading time entry with the primary key from the database.deleteReadingTimeEntry(long groupId, long classNameId, long classPK) deleteReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) deleteReadingTimeEntry(ReadingTimeEntry readingTimeEntry) Deletes the reading time entry from the database.<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> 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> 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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchOrAddReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) fetchReadingTimeEntry(long readingTimeEntryId) fetchReadingTimeEntry(long groupId, long classNameId, long classPK) fetchReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) fetchReadingTimeEntryByUuidAndGroupId(String uuid, long groupId) Returns the reading time entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<ReadingTimeEntry>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getReadingTimeEntries(int start, int end) Returns a range of all the reading time entries.getReadingTimeEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the reading time entries matching the UUID and company.getReadingTimeEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) Returns a range of reading time entries matching the UUID and company.intReturns the number of reading time entries.getReadingTimeEntry(long readingTimeEntryId) Returns the reading time entry with the primary key.getReadingTimeEntryByUuidAndGroupId(String uuid, long groupId) Returns the reading time entry matching the UUID and group.voidsetWrappedService(ReadingTimeEntryLocalService readingTimeEntryLocalService) updateReadingTimeEntry(long groupId, long classNameId, long classPK, Duration readingTimeDuration) updateReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) updateReadingTimeEntry(ReadingTimeEntry readingTimeEntry) Updates the reading time entry in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<ReadingTimeEntry>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ReadingTimeEntryLocalServiceWrapper
public ReadingTimeEntryLocalServiceWrapper() -
ReadingTimeEntryLocalServiceWrapper
public ReadingTimeEntryLocalServiceWrapper(ReadingTimeEntryLocalService readingTimeEntryLocalService)
-
-
Method Details
-
addReadingTimeEntry
public ReadingTimeEntry addReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel, Duration readingTimeDuration) - Specified by:
addReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
addReadingTimeEntry
public ReadingTimeEntry addReadingTimeEntry(long groupId, long classNameId, long classPK, Duration readingTimeDuration) - Specified by:
addReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
addReadingTimeEntry
Adds the reading time entry to the database. Also notifies the appropriate model listeners.Important: Inspect ReadingTimeEntryLocalServiceImpl 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.
- Specified by:
addReadingTimeEntryin interfaceReadingTimeEntryLocalService- Parameters:
readingTimeEntry- the reading time entry- Returns:
- the reading time entry that was added
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
createPersistedModelin interfaceReadingTimeEntryLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
createReadingTimeEntry
Creates a new reading time entry with the primary key. Does not add the reading time entry to the database.- Specified by:
createReadingTimeEntryin interfaceReadingTimeEntryLocalService- Parameters:
readingTimeEntryId- the primary key for the new reading time entry- Returns:
- the new reading time entry
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
deletePersistedModelin interfaceReadingTimeEntryLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteReadingTimeEntry
public ReadingTimeEntry deleteReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) - Specified by:
deleteReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
deleteReadingTimeEntry
public ReadingTimeEntry deleteReadingTimeEntry(long readingTimeEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the reading time entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ReadingTimeEntryLocalServiceImpl 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.
- Specified by:
deleteReadingTimeEntryin interfaceReadingTimeEntryLocalService- Parameters:
readingTimeEntryId- the primary key of the reading time entry- Returns:
- the reading time entry that was removed
- Throws:
PortalException- if a reading time entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteReadingTimeEntry
- Specified by:
deleteReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
deleteReadingTimeEntry
Deletes the reading time entry from the database. Also notifies the appropriate model listeners.Important: Inspect ReadingTimeEntryLocalServiceImpl 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.
- Specified by:
deleteReadingTimeEntryin interfaceReadingTimeEntryLocalService- Parameters:
readingTimeEntry- the reading time entry- Returns:
- the reading time entry that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryin interfaceReadingTimeEntryLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryCountin interfaceReadingTimeEntryLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceReadingTimeEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceReadingTimeEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.reading.time.model.impl.ReadingTimeEntryModelImpl.- Specified by:
dynamicQueryin interfaceReadingTimeEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.reading.time.model.impl.ReadingTimeEntryModelImpl.- Specified by:
dynamicQueryin interfaceReadingTimeEntryLocalService- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceReadingTimeEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCountin interfaceReadingTimeEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchOrAddReadingTimeEntry
public ReadingTimeEntry fetchOrAddReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) - Specified by:
fetchOrAddReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
fetchReadingTimeEntry
public ReadingTimeEntry fetchReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) - Specified by:
fetchReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
fetchReadingTimeEntry
- Specified by:
fetchReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
fetchReadingTimeEntry
- Specified by:
fetchReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
fetchReadingTimeEntryByUuidAndGroupId
Returns the reading time entry matching the UUID and group.- Specified by:
fetchReadingTimeEntryByUuidAndGroupIdin interfaceReadingTimeEntryLocalService- Parameters:
uuid- the reading time entry's UUIDgroupId- the primary key of the group- Returns:
- the matching reading time entry, or
nullif a matching reading time entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceReadingTimeEntryLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceReadingTimeEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceReadingTimeEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceReadingTimeEntryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
getPersistedModelin interfaceReadingTimeEntryLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getReadingTimeEntries
Returns a range of all the reading time entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.reading.time.model.impl.ReadingTimeEntryModelImpl.- Specified by:
getReadingTimeEntriesin interfaceReadingTimeEntryLocalService- Parameters:
start- the lower bound of the range of reading time entriesend- the upper bound of the range of reading time entries (not inclusive)- Returns:
- the range of reading time entries
-
getReadingTimeEntriesByUuidAndCompanyId
Returns all the reading time entries matching the UUID and company.- Specified by:
getReadingTimeEntriesByUuidAndCompanyIdin interfaceReadingTimeEntryLocalService- Parameters:
uuid- the UUID of the reading time entriescompanyId- the primary key of the company- Returns:
- the matching reading time entries, or an empty list if no matches were found
-
getReadingTimeEntriesByUuidAndCompanyId
public List<ReadingTimeEntry> getReadingTimeEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ReadingTimeEntry> orderByComparator) Returns a range of reading time entries matching the UUID and company.- Specified by:
getReadingTimeEntriesByUuidAndCompanyIdin interfaceReadingTimeEntryLocalService- Parameters:
uuid- the UUID of the reading time entriescompanyId- the primary key of the companystart- the lower bound of the range of reading time entriesend- the upper bound of the range of reading time entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching reading time entries, or an empty list if no matches were found
-
getReadingTimeEntriesCount
public int getReadingTimeEntriesCount()Returns the number of reading time entries.- Specified by:
getReadingTimeEntriesCountin interfaceReadingTimeEntryLocalService- Returns:
- the number of reading time entries
-
getReadingTimeEntry
public ReadingTimeEntry getReadingTimeEntry(long readingTimeEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the reading time entry with the primary key.- Specified by:
getReadingTimeEntryin interfaceReadingTimeEntryLocalService- Parameters:
readingTimeEntryId- the primary key of the reading time entry- Returns:
- the reading time entry
- Throws:
PortalException- if a reading time entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getReadingTimeEntryByUuidAndGroupId
public ReadingTimeEntry getReadingTimeEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the reading time entry matching the UUID and group.- Specified by:
getReadingTimeEntryByUuidAndGroupIdin interfaceReadingTimeEntryLocalService- Parameters:
uuid- the reading time entry's UUIDgroupId- the primary key of the group- Returns:
- the matching reading time entry
- Throws:
PortalException- if a matching reading time entry could not be foundcom.liferay.portal.kernel.exception.PortalException
-
updateReadingTimeEntry
public ReadingTimeEntry updateReadingTimeEntry(com.liferay.portal.kernel.model.GroupedModel groupedModel) - Specified by:
updateReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
updateReadingTimeEntry
public ReadingTimeEntry updateReadingTimeEntry(long groupId, long classNameId, long classPK, Duration readingTimeDuration) - Specified by:
updateReadingTimeEntryin interfaceReadingTimeEntryLocalService
-
updateReadingTimeEntry
Updates the reading time entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ReadingTimeEntryLocalServiceImpl 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.
- Specified by:
updateReadingTimeEntryin interfaceReadingTimeEntryLocalService- Parameters:
readingTimeEntry- the reading time entry- Returns:
- the reading time entry that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<ReadingTimeEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<ReadingTimeEntry>- Specified by:
getCTPersistencein interfaceReadingTimeEntryLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<ReadingTimeEntry>- Specified by:
getModelClassin interfaceReadingTimeEntryLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<ReadingTimeEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<ReadingTimeEntry>- Specified by:
updateWithUnsafeFunctionin interfaceReadingTimeEntryLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ReadingTimeEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ReadingTimeEntryLocalService>
-