Class AnnouncementsDeliveryLocalServiceWrapper
- All Implemented Interfaces:
AnnouncementsDeliveryLocalService,BaseLocalService,CTService<AnnouncementsDelivery>,PersistedModelLocalService,ServiceWrapper<AnnouncementsDeliveryLocalService>
AnnouncementsDeliveryLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAnnouncementsDeliveryLocalServiceWrapper(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) Adds the announcements delivery to the database.addUserDelivery(long userId, String type) createAnnouncementsDelivery(long deliveryId) Creates a new announcements delivery with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteAnnouncementsDelivery(long deliveryId) Deletes the announcements delivery with the primary key from the database.deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) Deletes the announcements delivery from the database.voiddeleteDeliveries(long userId) voiddeleteDelivery(long deliveryId) voiddeleteDelivery(long userId, String type) voiddeleteDelivery(AnnouncementsDelivery delivery) deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(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(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchAnnouncementsDelivery(long deliveryId) getAnnouncementsDeliveries(int start, int end) Returns a range of all the announcements deliveries.intReturns the number of announcements deliveries.getAnnouncementsDelivery(long deliveryId) Returns the announcements delivery with the primary key.getDelivery(long deliveryId) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) getUserDeliveries(long userId) getUserDelivery(long userId, String type) voidsetWrappedService(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) Updates the announcements delivery in the database or adds it if it does not yet exist.updateDelivery(long userId, String type, boolean email, boolean sms) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AnnouncementsDelivery>, 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
-
AnnouncementsDeliveryLocalServiceWrapper
public AnnouncementsDeliveryLocalServiceWrapper() -
AnnouncementsDeliveryLocalServiceWrapper
public AnnouncementsDeliveryLocalServiceWrapper(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
-
-
Method Details
-
addAnnouncementsDelivery
Adds the announcements delivery to the database. Also notifies the appropriate model listeners.Important: Inspect AnnouncementsDeliveryLocalServiceImpl 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:
addAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService- Parameters:
announcementsDelivery- the announcements delivery- Returns:
- the announcements delivery that was added
-
addUserDelivery
- Specified by:
addUserDeliveryin interfaceAnnouncementsDeliveryLocalService- Throws:
PortalException
-
createAnnouncementsDelivery
Creates a new announcements delivery with the primary key. Does not add the announcements delivery to the database.- Specified by:
createAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService- Parameters:
deliveryId- the primary key for the new announcements delivery- Returns:
- the new announcements delivery
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceAnnouncementsDeliveryLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteAnnouncementsDelivery
public AnnouncementsDelivery deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) Deletes the announcements delivery from the database. Also notifies the appropriate model listeners.Important: Inspect AnnouncementsDeliveryLocalServiceImpl 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:
deleteAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService- Parameters:
announcementsDelivery- the announcements delivery- Returns:
- the announcements delivery that was removed
-
deleteAnnouncementsDelivery
Deletes the announcements delivery with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AnnouncementsDeliveryLocalServiceImpl 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:
deleteAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService- Parameters:
deliveryId- the primary key of the announcements delivery- Returns:
- the announcements delivery that was removed
- Throws:
PortalException- if a announcements delivery with the primary key could not be foundPortalException
-
deleteDeliveries
public void deleteDeliveries(long userId) - Specified by:
deleteDeliveriesin interfaceAnnouncementsDeliveryLocalService
-
deleteDelivery
- Specified by:
deleteDeliveryin interfaceAnnouncementsDeliveryLocalService
-
deleteDelivery
- Specified by:
deleteDeliveryin interfaceAnnouncementsDeliveryLocalService- Throws:
PortalException
-
deleteDelivery
- Specified by:
deleteDeliveryin interfaceAnnouncementsDeliveryLocalService
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceAnnouncementsDeliveryLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceAnnouncementsDeliveryLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceAnnouncementsDeliveryLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceAnnouncementsDeliveryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceAnnouncementsDeliveryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
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.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl.- Specified by:
dynamicQueryin interfaceAnnouncementsDeliveryLocalService- 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(DynamicQuery dynamicQuery, int start, int end, 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.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl.- Specified by:
dynamicQueryin interfaceAnnouncementsDeliveryLocalService- 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
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceAnnouncementsDeliveryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceAnnouncementsDeliveryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAnnouncementsDelivery
- Specified by:
fetchAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceAnnouncementsDeliveryLocalService
-
getAnnouncementsDeliveries
Returns a range of all the announcements deliveries.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.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl.- Specified by:
getAnnouncementsDeliveriesin interfaceAnnouncementsDeliveryLocalService- Parameters:
start- the lower bound of the range of announcements deliveriesend- the upper bound of the range of announcements deliveries (not inclusive)- Returns:
- the range of announcements deliveries
-
getAnnouncementsDeliveriesCount
public int getAnnouncementsDeliveriesCount()Returns the number of announcements deliveries.- Specified by:
getAnnouncementsDeliveriesCountin interfaceAnnouncementsDeliveryLocalService- Returns:
- the number of announcements deliveries
-
getAnnouncementsDelivery
Returns the announcements delivery with the primary key.- Specified by:
getAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService- Parameters:
deliveryId- the primary key of the announcements delivery- Returns:
- the announcements delivery
- Throws:
PortalException- if a announcements delivery with the primary key could not be foundPortalException
-
getDelivery
- Specified by:
getDeliveryin interfaceAnnouncementsDeliveryLocalService- Throws:
PortalException
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceAnnouncementsDeliveryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceAnnouncementsDeliveryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceAnnouncementsDeliveryLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
getUserDeliveries
- Specified by:
getUserDeliveriesin interfaceAnnouncementsDeliveryLocalService- Throws:
PortalException
-
getUserDelivery
- Specified by:
getUserDeliveryin interfaceAnnouncementsDeliveryLocalService- Throws:
PortalException
-
updateAnnouncementsDelivery
public AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) Updates the announcements delivery in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AnnouncementsDeliveryLocalServiceImpl 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:
updateAnnouncementsDeliveryin interfaceAnnouncementsDeliveryLocalService- Parameters:
announcementsDelivery- the announcements delivery- Returns:
- the announcements delivery that was updated
-
updateDelivery
public AnnouncementsDelivery updateDelivery(long userId, String type, boolean email, boolean sms) throws PortalException - Specified by:
updateDeliveryin interfaceAnnouncementsDeliveryLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceAnnouncementsDeliveryLocalService- Specified by:
getCTPersistencein interfaceCTService<AnnouncementsDelivery>
-
getModelClass
- Specified by:
getModelClassin interfaceAnnouncementsDeliveryLocalService- Specified by:
getModelClassin interfaceCTService<AnnouncementsDelivery>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AnnouncementsDelivery>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceAnnouncementsDeliveryLocalService- Specified by:
updateWithUnsafeFunctionin interfaceCTService<AnnouncementsDelivery>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<AnnouncementsDeliveryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<AnnouncementsDeliveryLocalService>
-