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.void
deleteDeliveries
(long userId) void
deleteDelivery
(long deliveryId) void
deleteDelivery
(long userId, String type) void
deleteDelivery
(AnnouncementsDelivery delivery) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(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.int
Returns 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) void
setWrappedService
(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, wait
Methods 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:
addAnnouncementsDelivery
in interfaceAnnouncementsDeliveryLocalService
- Parameters:
announcementsDelivery
- the announcements delivery- Returns:
- the announcements delivery that was added
-
addUserDelivery
- Specified by:
addUserDelivery
in interfaceAnnouncementsDeliveryLocalService
- Throws:
PortalException
-
createAnnouncementsDelivery
Creates a new announcements delivery with the primary key. Does not add the announcements delivery to the database.- Specified by:
createAnnouncementsDelivery
in interfaceAnnouncementsDeliveryLocalService
- Parameters:
deliveryId
- the primary key for the new announcements delivery- Returns:
- the new announcements delivery
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
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:
deleteAnnouncementsDelivery
in 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:
deleteAnnouncementsDelivery
in 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:
deleteDeliveries
in interfaceAnnouncementsDeliveryLocalService
-
deleteDelivery
- Specified by:
deleteDelivery
in interfaceAnnouncementsDeliveryLocalService
-
deleteDelivery
- Specified by:
deleteDelivery
in interfaceAnnouncementsDeliveryLocalService
- Throws:
PortalException
-
deleteDelivery
- Specified by:
deleteDelivery
in interfaceAnnouncementsDeliveryLocalService
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceAnnouncementsDeliveryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchAnnouncementsDelivery
in interfaceAnnouncementsDeliveryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceAnnouncementsDeliveryLocalService
-
getAnnouncementsDeliveries
Returns a range of all the announcements deliveries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
.- Specified by:
getAnnouncementsDeliveries
in 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:
getAnnouncementsDeliveriesCount
in interfaceAnnouncementsDeliveryLocalService
- Returns:
- the number of announcements deliveries
-
getAnnouncementsDelivery
Returns the announcements delivery with the primary key.- Specified by:
getAnnouncementsDelivery
in 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:
getDelivery
in interfaceAnnouncementsDeliveryLocalService
- Throws:
PortalException
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceAnnouncementsDeliveryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAnnouncementsDeliveryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
getUserDeliveries
- Specified by:
getUserDeliveries
in interfaceAnnouncementsDeliveryLocalService
- Throws:
PortalException
-
getUserDelivery
- Specified by:
getUserDelivery
in 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:
updateAnnouncementsDelivery
in 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:
updateDelivery
in interfaceAnnouncementsDeliveryLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
getCTPersistence
in interfaceCTService<AnnouncementsDelivery>
-
getModelClass
- Specified by:
getModelClass
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
getModelClass
in interfaceCTService<AnnouncementsDelivery>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AnnouncementsDelivery>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceAnnouncementsDeliveryLocalService
- Specified by:
updateWithUnsafeFunction
in interfaceCTService<AnnouncementsDelivery>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AnnouncementsDeliveryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AnnouncementsDeliveryLocalService>
-