Class UserNotificationDeliveryLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,PersistedModelLocalService,ServiceWrapper<UserNotificationDeliveryLocalService>,UserNotificationDeliveryLocalService
UserNotificationDeliveryLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionUserNotificationDeliveryLocalServiceWrapper(UserNotificationDeliveryLocalService userNotificationDeliveryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType, boolean deliver) addUserNotificationDelivery(UserNotificationDelivery userNotificationDelivery) Adds the user notification delivery to the database.createPersistedModel(Serializable primaryKeyObj) createUserNotificationDelivery(long userNotificationDeliveryId) Creates a new user notification delivery with the primary key.deletePersistedModel(PersistedModel persistedModel) voiddeleteUserNotificationDeliveries(long userId) deleteUserNotificationDelivery(long userNotificationDeliveryId) Deletes the user notification delivery with the primary key from the database.voiddeleteUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType) deleteUserNotificationDelivery(UserNotificationDelivery userNotificationDelivery) Deletes the user notification delivery from the database.<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.fetchUserNotificationDelivery(long userNotificationDeliveryId) fetchUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) getUserNotificationDeliveries(int start, int end) Returns a range of all the user notification deliveries.intReturns the number of user notification deliveries.getUserNotificationDelivery(long userNotificationDeliveryId) Returns the user notification delivery with the primary key.getUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType, boolean deliver) voidsetWrappedService(UserNotificationDeliveryLocalService userNotificationDeliveryLocalService) updateUserNotificationDelivery(long userNotificationDeliveryId, boolean deliver) updateUserNotificationDelivery(UserNotificationDelivery userNotificationDelivery) Updates the user notification delivery in the database or adds it if it does not yet exist.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
-
UserNotificationDeliveryLocalServiceWrapper
public UserNotificationDeliveryLocalServiceWrapper() -
UserNotificationDeliveryLocalServiceWrapper
public UserNotificationDeliveryLocalServiceWrapper(UserNotificationDeliveryLocalService userNotificationDeliveryLocalService)
-
-
Method Details
-
addUserNotificationDelivery
public UserNotificationDelivery addUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType, boolean deliver) throws PortalException - Specified by:
addUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Throws:
PortalException
-
addUserNotificationDelivery
public UserNotificationDelivery addUserNotificationDelivery(UserNotificationDelivery userNotificationDelivery) Adds the user notification delivery to the database. Also notifies the appropriate model listeners.Important: Inspect UserNotificationDeliveryLocalServiceImpl 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:
addUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Parameters:
userNotificationDelivery- the user notification delivery- Returns:
- the user notification delivery that was added
-
createPersistedModel
- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Specified by:
createPersistedModelin interfaceUserNotificationDeliveryLocalService- Throws:
PortalExceptionPortalException
-
createUserNotificationDelivery
Creates a new user notification delivery with the primary key. Does not add the user notification delivery to the database.- Specified by:
createUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Parameters:
userNotificationDeliveryId- the primary key for the new user notification delivery- Returns:
- the new user notification delivery
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Specified by:
deletePersistedModelin interfaceUserNotificationDeliveryLocalService- Throws:
PortalExceptionPortalException
-
deleteUserNotificationDeliveries
public void deleteUserNotificationDeliveries(long userId) - Specified by:
deleteUserNotificationDeliveriesin interfaceUserNotificationDeliveryLocalService
-
deleteUserNotificationDelivery
public UserNotificationDelivery deleteUserNotificationDelivery(long userNotificationDeliveryId) throws PortalException Deletes the user notification delivery with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect UserNotificationDeliveryLocalServiceImpl 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:
deleteUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Parameters:
userNotificationDeliveryId- the primary key of the user notification delivery- Returns:
- the user notification delivery that was removed
- Throws:
PortalException- if a user notification delivery with the primary key could not be foundPortalException
-
deleteUserNotificationDelivery
public void deleteUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType) - Specified by:
deleteUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService
-
deleteUserNotificationDelivery
public UserNotificationDelivery deleteUserNotificationDelivery(UserNotificationDelivery userNotificationDelivery) Deletes the user notification delivery from the database. Also notifies the appropriate model listeners.Important: Inspect UserNotificationDeliveryLocalServiceImpl 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:
deleteUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Parameters:
userNotificationDelivery- the user notification delivery- Returns:
- the user notification delivery that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacePersistedModelLocalService- Specified by:
dslQueryin interfaceUserNotificationDeliveryLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacePersistedModelLocalService- Specified by:
dslQueryCountin interfaceUserNotificationDeliveryLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceUserNotificationDeliveryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceUserNotificationDeliveryLocalService- 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.portal.model.impl.UserNotificationDeliveryModelImpl.- Specified by:
dynamicQueryin interfaceUserNotificationDeliveryLocalService- 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.portal.model.impl.UserNotificationDeliveryModelImpl.- Specified by:
dynamicQueryin interfaceUserNotificationDeliveryLocalService- 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 interfaceUserNotificationDeliveryLocalService- 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 interfaceUserNotificationDeliveryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchUserNotificationDelivery
- Specified by:
fetchUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService
-
fetchUserNotificationDelivery
public UserNotificationDelivery fetchUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType) - Specified by:
fetchUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceUserNotificationDeliveryLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceUserNotificationDeliveryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceUserNotificationDeliveryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Specified by:
getPersistedModelin interfaceUserNotificationDeliveryLocalService- Throws:
PortalExceptionPortalException
-
getUserNotificationDeliveries
Returns a range of all the user notification 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.portal.model.impl.UserNotificationDeliveryModelImpl.- Specified by:
getUserNotificationDeliveriesin interfaceUserNotificationDeliveryLocalService- Parameters:
start- the lower bound of the range of user notification deliveriesend- the upper bound of the range of user notification deliveries (not inclusive)- Returns:
- the range of user notification deliveries
-
getUserNotificationDeliveriesCount
public int getUserNotificationDeliveriesCount()Returns the number of user notification deliveries.- Specified by:
getUserNotificationDeliveriesCountin interfaceUserNotificationDeliveryLocalService- Returns:
- the number of user notification deliveries
-
getUserNotificationDelivery
public UserNotificationDelivery getUserNotificationDelivery(long userNotificationDeliveryId) throws PortalException Returns the user notification delivery with the primary key.- Specified by:
getUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Parameters:
userNotificationDeliveryId- the primary key of the user notification delivery- Returns:
- the user notification delivery
- Throws:
PortalException- if a user notification delivery with the primary key could not be foundPortalException
-
getUserNotificationDelivery
public UserNotificationDelivery getUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType, boolean deliver) throws PortalException - Specified by:
getUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Throws:
PortalException
-
updateUserNotificationDelivery
public UserNotificationDelivery updateUserNotificationDelivery(long userNotificationDeliveryId, boolean deliver) - Specified by:
updateUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService
-
updateUserNotificationDelivery
public UserNotificationDelivery updateUserNotificationDelivery(UserNotificationDelivery userNotificationDelivery) Updates the user notification delivery in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect UserNotificationDeliveryLocalServiceImpl 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:
updateUserNotificationDeliveryin interfaceUserNotificationDeliveryLocalService- Parameters:
userNotificationDelivery- the user notification delivery- Returns:
- the user notification delivery that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<UserNotificationDeliveryLocalService>
-
setWrappedService
public void setWrappedService(UserNotificationDeliveryLocalService userNotificationDeliveryLocalService) - Specified by:
setWrappedServicein interfaceServiceWrapper<UserNotificationDeliveryLocalService>
-