Class NotificationRecipientSettingLocalServiceWrapper
- All Implemented Interfaces:
NotificationRecipientSettingLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<NotificationRecipientSettingLocalService>
NotificationRecipientSettingLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationRecipientSettingLocalServiceWrapper(NotificationRecipientSettingLocalService notificationRecipientSettingLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddNotificationRecipientSetting(NotificationRecipientSetting notificationRecipientSetting) Adds the notification recipient setting to the database.createNotificationRecipientSetting(long notificationRecipientSettingId) Creates a new notification recipient setting with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteNotificationRecipientSetting(long notificationRecipientSettingId) Deletes the notification recipient setting with the primary key from the database.deleteNotificationRecipientSetting(NotificationRecipientSetting notificationRecipientSetting) Deletes the notification recipient setting from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <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.fetchNotificationRecipientSetting(long notificationRecipientSettingId) fetchNotificationRecipientSetting(long notificationRecipientId, String name) fetchNotificationRecipientSettingByUuidAndCompanyId(String uuid, long companyId) Returns the notification recipient setting with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetNotificationRecipientSetting(long notificationRecipientSettingId) Returns the notification recipient setting with the primary key.getNotificationRecipientSettingByUuidAndCompanyId(String uuid, long companyId) Returns the notification recipient setting with the matching UUID and company.getNotificationRecipientSettings(int start, int end) Returns a range of all the notification recipient settings.getNotificationRecipientSettings(long notificationRecipientId) intReturns the number of notification recipient settings.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(NotificationRecipientSettingLocalService notificationRecipientSettingLocalService) updateNotificationRecipientSetting(NotificationRecipientSetting notificationRecipientSetting) Updates the notification recipient setting 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
-
NotificationRecipientSettingLocalServiceWrapper
public NotificationRecipientSettingLocalServiceWrapper() -
NotificationRecipientSettingLocalServiceWrapper
public NotificationRecipientSettingLocalServiceWrapper(NotificationRecipientSettingLocalService notificationRecipientSettingLocalService)
-
-
Method Details
-
addNotificationRecipientSetting
public NotificationRecipientSetting addNotificationRecipientSetting(NotificationRecipientSetting notificationRecipientSetting) Adds the notification recipient setting to the database. Also notifies the appropriate model listeners.Important: Inspect NotificationRecipientSettingLocalServiceImpl 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:
addNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService- Parameters:
notificationRecipientSetting- the notification recipient setting- Returns:
- the notification recipient setting that was added
-
createNotificationRecipientSetting
public NotificationRecipientSetting createNotificationRecipientSetting(long notificationRecipientSettingId) Creates a new notification recipient setting with the primary key. Does not add the notification recipient setting to the database.- Specified by:
createNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService- Parameters:
notificationRecipientSettingId- the primary key for the new notification recipient setting- Returns:
- the new notification recipient setting
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceNotificationRecipientSettingLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteNotificationRecipientSetting
public NotificationRecipientSetting deleteNotificationRecipientSetting(long notificationRecipientSettingId) throws com.liferay.portal.kernel.exception.PortalException Deletes the notification recipient setting with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect NotificationRecipientSettingLocalServiceImpl 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:
deleteNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService- Parameters:
notificationRecipientSettingId- the primary key of the notification recipient setting- Returns:
- the notification recipient setting that was removed
- Throws:
PortalException- if a notification recipient setting with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteNotificationRecipientSetting
public NotificationRecipientSetting deleteNotificationRecipientSetting(NotificationRecipientSetting notificationRecipientSetting) Deletes the notification recipient setting from the database. Also notifies the appropriate model listeners.Important: Inspect NotificationRecipientSettingLocalServiceImpl 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:
deleteNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService- Parameters:
notificationRecipientSetting- the notification recipient setting- Returns:
- the notification recipient setting that was removed
-
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 interfaceNotificationRecipientSettingLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceNotificationRecipientSettingLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceNotificationRecipientSettingLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceNotificationRecipientSettingLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceNotificationRecipientSettingLocalService- 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.notification.model.impl.NotificationRecipientSettingModelImpl.- Specified by:
dynamicQueryin interfaceNotificationRecipientSettingLocalService- 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.notification.model.impl.NotificationRecipientSettingModelImpl.- Specified by:
dynamicQueryin interfaceNotificationRecipientSettingLocalService- 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 interfaceNotificationRecipientSettingLocalService- 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 interfaceNotificationRecipientSettingLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchNotificationRecipientSetting
public NotificationRecipientSetting fetchNotificationRecipientSetting(long notificationRecipientSettingId) - Specified by:
fetchNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService
-
fetchNotificationRecipientSetting
public NotificationRecipientSetting fetchNotificationRecipientSetting(long notificationRecipientId, String name) - Specified by:
fetchNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService
-
fetchNotificationRecipientSettingByUuidAndCompanyId
public NotificationRecipientSetting fetchNotificationRecipientSettingByUuidAndCompanyId(String uuid, long companyId) Returns the notification recipient setting with the matching UUID and company.- Specified by:
fetchNotificationRecipientSettingByUuidAndCompanyIdin interfaceNotificationRecipientSettingLocalService- Parameters:
uuid- the notification recipient setting's UUIDcompanyId- the primary key of the company- Returns:
- the matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceNotificationRecipientSettingLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceNotificationRecipientSettingLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceNotificationRecipientSettingLocalService
-
getNotificationRecipientSetting
public NotificationRecipientSetting getNotificationRecipientSetting(long notificationRecipientSettingId) throws com.liferay.portal.kernel.exception.PortalException Returns the notification recipient setting with the primary key.- Specified by:
getNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService- Parameters:
notificationRecipientSettingId- the primary key of the notification recipient setting- Returns:
- the notification recipient setting
- Throws:
PortalException- if a notification recipient setting with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getNotificationRecipientSettingByUuidAndCompanyId
public NotificationRecipientSetting getNotificationRecipientSettingByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the notification recipient setting with the matching UUID and company.- Specified by:
getNotificationRecipientSettingByUuidAndCompanyIdin interfaceNotificationRecipientSettingLocalService- Parameters:
uuid- the notification recipient setting's UUIDcompanyId- the primary key of the company- Returns:
- the matching notification recipient setting
- Throws:
PortalException- if a matching notification recipient setting could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getNotificationRecipientSettings
Returns a range of all the notification recipient settings.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.notification.model.impl.NotificationRecipientSettingModelImpl.- Specified by:
getNotificationRecipientSettingsin interfaceNotificationRecipientSettingLocalService- Parameters:
start- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)- Returns:
- the range of notification recipient settings
-
getNotificationRecipientSettings
public List<NotificationRecipientSetting> getNotificationRecipientSettings(long notificationRecipientId) - Specified by:
getNotificationRecipientSettingsin interfaceNotificationRecipientSettingLocalService
-
getNotificationRecipientSettingsCount
public int getNotificationRecipientSettingsCount()Returns the number of notification recipient settings.- Specified by:
getNotificationRecipientSettingsCountin interfaceNotificationRecipientSettingLocalService- Returns:
- the number of notification recipient settings
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceNotificationRecipientSettingLocalService- 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 interfaceNotificationRecipientSettingLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
updateNotificationRecipientSetting
public NotificationRecipientSetting updateNotificationRecipientSetting(NotificationRecipientSetting notificationRecipientSetting) Updates the notification recipient setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect NotificationRecipientSettingLocalServiceImpl 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:
updateNotificationRecipientSettingin interfaceNotificationRecipientSettingLocalService- Parameters:
notificationRecipientSetting- the notification recipient setting- Returns:
- the notification recipient setting that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<NotificationRecipientSettingLocalService>
-
setWrappedService
public void setWrappedService(NotificationRecipientSettingLocalService notificationRecipientSettingLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<NotificationRecipientSettingLocalService>
-