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) void
deleteUserNotificationDeliveries
(long userId) deleteUserNotificationDelivery
(long userNotificationDeliveryId) Deletes the user notification delivery with the primary key from the database.void
deleteUserNotificationDelivery
(long userId, String portletId, long classNameId, int notificationType, int deliveryType) deleteUserNotificationDelivery
(UserNotificationDelivery userNotificationDelivery) Deletes the user notification delivery from the database.<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.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.int
Returns 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) void
setWrappedService
(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, wait
Methods 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:
addUserNotificationDelivery
in 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:
addUserNotificationDelivery
in interfaceUserNotificationDeliveryLocalService
- Parameters:
userNotificationDelivery
- the user notification delivery- Returns:
- the user notification delivery that was added
-
createPersistedModel
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Specified by:
createPersistedModel
in interfaceUserNotificationDeliveryLocalService
- Throws:
PortalException
PortalException
-
createUserNotificationDelivery
Creates a new user notification delivery with the primary key. Does not add the user notification delivery to the database.- Specified by:
createUserNotificationDelivery
in interfaceUserNotificationDeliveryLocalService
- Parameters:
userNotificationDeliveryId
- the primary key for the new user notification delivery- Returns:
- the new user notification delivery
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Specified by:
deletePersistedModel
in interfaceUserNotificationDeliveryLocalService
- Throws:
PortalException
PortalException
-
deleteUserNotificationDeliveries
public void deleteUserNotificationDeliveries(long userId) - Specified by:
deleteUserNotificationDeliveries
in 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:
deleteUserNotificationDelivery
in 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:
deleteUserNotificationDelivery
in 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:
deleteUserNotificationDelivery
in 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:
dslQuery
in interfacePersistedModelLocalService
- Specified by:
dslQuery
in interfaceUserNotificationDeliveryLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacePersistedModelLocalService
- Specified by:
dslQueryCount
in interfaceUserNotificationDeliveryLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceUserNotificationDeliveryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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.portal.model.impl.UserNotificationDeliveryModelImpl
.- Specified by:
dynamicQuery
in 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 - 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.portal.model.impl.UserNotificationDeliveryModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchUserNotificationDelivery
in interfaceUserNotificationDeliveryLocalService
-
fetchUserNotificationDelivery
public UserNotificationDelivery fetchUserNotificationDelivery(long userId, String portletId, long classNameId, int notificationType, int deliveryType) - Specified by:
fetchUserNotificationDelivery
in interfaceUserNotificationDeliveryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceUserNotificationDeliveryLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceUserNotificationDeliveryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceUserNotificationDeliveryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Specified by:
getPersistedModel
in interfaceUserNotificationDeliveryLocalService
- Throws:
PortalException
PortalException
-
getUserNotificationDeliveries
Returns a range of all the user notification 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.portal.model.impl.UserNotificationDeliveryModelImpl
.- Specified by:
getUserNotificationDeliveries
in 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:
getUserNotificationDeliveriesCount
in 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:
getUserNotificationDelivery
in 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:
getUserNotificationDelivery
in interfaceUserNotificationDeliveryLocalService
- Throws:
PortalException
-
updateUserNotificationDelivery
public UserNotificationDelivery updateUserNotificationDelivery(long userNotificationDeliveryId, boolean deliver) - Specified by:
updateUserNotificationDelivery
in 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:
updateUserNotificationDelivery
in interfaceUserNotificationDeliveryLocalService
- Parameters:
userNotificationDelivery
- the user notification delivery- Returns:
- the user notification delivery that was updated
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<UserNotificationDeliveryLocalService>
-
setWrappedService
public void setWrappedService(UserNotificationDeliveryLocalService userNotificationDeliveryLocalService) - Specified by:
setWrappedService
in interfaceServiceWrapper<UserNotificationDeliveryLocalService>
-