public abstract class UserNotificationEventLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.liferay.notifications.service.UserNotificationEventLocalService, com.liferay.portal.kernel.bean.IdentifiableBean
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in UserNotificationEventLocalServiceImpl.
UserNotificationEventLocalServiceImpl,
UserNotificationEventLocalServiceUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.service.ClassNameLocalService |
classNameLocalService |
protected com.liferay.portal.service.persistence.ClassNamePersistence |
classNamePersistence |
protected com.liferay.portal.service.ClassNameService |
classNameService |
protected com.liferay.counter.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.service.UserLocalService |
userLocalService |
protected com.liferay.notifications.service.UserNotificationEventLocalService |
userNotificationEventLocalService |
protected com.liferay.notifications.service.persistence.UserNotificationEventPersistence |
userNotificationEventPersistence |
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence |
protected com.liferay.portal.service.UserService |
userService |
| Constructor and Description |
|---|
UserNotificationEventLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.notifications.model.UserNotificationEvent |
addUserNotificationEvent(com.liferay.notifications.model.UserNotificationEvent userNotificationEvent)
Adds the user notification event to the database.
|
void |
afterPropertiesSet() |
com.liferay.notifications.model.UserNotificationEvent |
createUserNotificationEvent(long notificationEventId)
Creates a new user notification event with the primary key.
|
com.liferay.notifications.model.UserNotificationEvent |
deleteUserNotificationEvent(long notificationEventId)
Deletes the user notification event with the primary key from the database.
|
com.liferay.notifications.model.UserNotificationEvent |
deleteUserNotificationEvent(com.liferay.notifications.model.UserNotificationEvent userNotificationEvent)
Deletes the user notification event from the database.
|
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
List |
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.
|
List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows that match the dynamic query.
|
com.liferay.notifications.model.UserNotificationEvent |
fetchUserNotificationEvent(long notificationEventId) |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
com.liferay.portal.service.ClassNameLocalService |
getClassNameLocalService()
Returns the class name local service.
|
com.liferay.portal.service.persistence.ClassNamePersistence |
getClassNamePersistence()
Returns the class name persistence.
|
com.liferay.portal.service.ClassNameService |
getClassNameService()
Returns the class name remote service.
|
com.liferay.counter.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
com.liferay.portal.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
com.liferay.portal.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.notifications.model.UserNotificationEvent |
getUserNotificationEvent(long notificationEventId)
Returns the user notification event with the primary key.
|
com.liferay.notifications.service.UserNotificationEventLocalService |
getUserNotificationEventLocalService()
Returns the user notification event local service.
|
com.liferay.notifications.service.persistence.UserNotificationEventPersistence |
getUserNotificationEventPersistence()
Returns the user notification event persistence.
|
List<com.liferay.notifications.model.UserNotificationEvent> |
getUserNotificationEvents(int start,
int end)
Returns a range of all the user notification events.
|
int |
getUserNotificationEventsCount()
Returns the number of user notification events.
|
com.liferay.portal.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
com.liferay.portal.service.UserService |
getUserService()
Returns the user remote service.
|
Object |
invokeMethod(String name,
String[] parameterTypes,
Object[] arguments) |
protected void |
runSQL(String sql)
Performs an SQL query.
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setClassNameLocalService(com.liferay.portal.service.ClassNameLocalService classNameLocalService)
Sets the class name local service.
|
void |
setClassNamePersistence(com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence)
Sets the class name persistence.
|
void |
setClassNameService(com.liferay.portal.service.ClassNameService classNameService)
Sets the class name remote service.
|
void |
setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserNotificationEventLocalService(com.liferay.notifications.service.UserNotificationEventLocalService userNotificationEventLocalService)
Sets the user notification event local service.
|
void |
setUserNotificationEventPersistence(com.liferay.notifications.service.persistence.UserNotificationEventPersistence userNotificationEventPersistence)
Sets the user notification event persistence.
|
void |
setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
void |
setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.
|
com.liferay.notifications.model.UserNotificationEvent |
updateUserNotificationEvent(com.liferay.notifications.model.UserNotificationEvent userNotificationEvent)
Updates the user notification event in the database or adds it if it does not yet exist.
|
getClassLoader, getLayoutURL, getLayoutURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUserNotificationEvent, getArchivedUserNotificationEvents, getArchivedUserNotificationEventsCount, getDeliveredUserNotificationEvents, getDeliveredUserNotificationEventsCount, getNotificationEventByUserNotificationEventId, getUserNotificationEvents, getUserNotificationEventsCount, updateUserNotificationEvent@BeanReference(type=com.liferay.notifications.service.UserNotificationEventLocalService.class) protected com.liferay.notifications.service.UserNotificationEventLocalService userNotificationEventLocalService
@BeanReference(type=com.liferay.notifications.service.persistence.UserNotificationEventPersistence.class) protected com.liferay.notifications.service.persistence.UserNotificationEventPersistence userNotificationEventPersistence
@BeanReference(type=com.liferay.counter.service.CounterLocalService.class) protected com.liferay.counter.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.service.ClassNameLocalService.class) protected com.liferay.portal.service.ClassNameLocalService classNameLocalService
@BeanReference(type=com.liferay.portal.service.ClassNameService.class) protected com.liferay.portal.service.ClassNameService classNameService
@BeanReference(type=com.liferay.portal.service.persistence.ClassNamePersistence.class) protected com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence
@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class) protected com.liferay.portal.service.ResourceLocalService resourceLocalService
@BeanReference(type=com.liferay.portal.service.UserLocalService.class) protected com.liferay.portal.service.UserLocalService userLocalService
@BeanReference(type=com.liferay.portal.service.UserService.class) protected com.liferay.portal.service.UserService userService
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
public UserNotificationEventLocalServiceBaseImpl()
@Indexable(type=REINDEX)
public com.liferay.notifications.model.UserNotificationEvent addUserNotificationEvent(com.liferay.notifications.model.UserNotificationEvent userNotificationEvent)
throws com.liferay.portal.kernel.exception.SystemException
addUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.notifications.model.UserNotificationEvent createUserNotificationEvent(long notificationEventId)
createUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServicenotificationEventId - the primary key for the new user notification event@Indexable(type=DELETE)
public com.liferay.notifications.model.UserNotificationEvent deleteUserNotificationEvent(long notificationEventId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
deleteUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServicenotificationEventId - the primary key of the user notification eventcom.liferay.portal.kernel.exception.PortalException - if a user notification event with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=DELETE)
public com.liferay.notifications.model.UserNotificationEvent deleteUserNotificationEvent(com.liferay.notifications.model.UserNotificationEvent userNotificationEvent)
throws com.liferay.portal.kernel.exception.SystemException
deleteUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.notifications.service.UserNotificationEventLocalServicepublic List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException
dynamicQuery in interface com.liferay.notifications.service.UserNotificationEventLocalServicedynamicQuery - the dynamic querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.notifications.service.UserNotificationEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.notifications.service.UserNotificationEventLocalServicedynamicQuery - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount in interface com.liferay.notifications.service.UserNotificationEventLocalServicedynamicQuery - the dynamic querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount in interface com.liferay.notifications.service.UserNotificationEventLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.notifications.model.UserNotificationEvent fetchUserNotificationEvent(long notificationEventId)
throws com.liferay.portal.kernel.exception.SystemException
fetchUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServicecom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.notifications.model.UserNotificationEvent getUserNotificationEvent(long notificationEventId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServicenotificationEventId - the primary key of the user notification eventcom.liferay.portal.kernel.exception.PortalException - if a user notification event with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getPersistedModel in interface com.liferay.notifications.service.UserNotificationEventLocalServicegetPersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic List<com.liferay.notifications.model.UserNotificationEvent> getUserNotificationEvents(int start, int end) throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUserNotificationEvents in interface com.liferay.notifications.service.UserNotificationEventLocalServicestart - the lower bound of the range of user notification eventsend - the upper bound of the range of user notification events (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getUserNotificationEventsCount()
throws com.liferay.portal.kernel.exception.SystemException
getUserNotificationEventsCount in interface com.liferay.notifications.service.UserNotificationEventLocalServicecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=REINDEX)
public com.liferay.notifications.model.UserNotificationEvent updateUserNotificationEvent(com.liferay.notifications.model.UserNotificationEvent userNotificationEvent)
throws com.liferay.portal.kernel.exception.SystemException
updateUserNotificationEvent in interface com.liferay.notifications.service.UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.notifications.service.UserNotificationEventLocalService getUserNotificationEventLocalService()
public void setUserNotificationEventLocalService(com.liferay.notifications.service.UserNotificationEventLocalService userNotificationEventLocalService)
userNotificationEventLocalService - the user notification event local servicepublic com.liferay.notifications.service.persistence.UserNotificationEventPersistence getUserNotificationEventPersistence()
public void setUserNotificationEventPersistence(com.liferay.notifications.service.persistence.UserNotificationEventPersistence userNotificationEventPersistence)
userNotificationEventPersistence - the user notification event persistencepublic com.liferay.counter.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic com.liferay.portal.service.ClassNameLocalService getClassNameLocalService()
public void setClassNameLocalService(com.liferay.portal.service.ClassNameLocalService classNameLocalService)
classNameLocalService - the class name local servicepublic com.liferay.portal.service.ClassNameService getClassNameService()
public void setClassNameService(com.liferay.portal.service.ClassNameService classNameService)
classNameService - the class name remote servicepublic com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence()
public void setClassNamePersistence(com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence)
classNamePersistence - the class name persistencepublic com.liferay.portal.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic com.liferay.portal.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
userLocalService - the user local servicepublic com.liferay.portal.service.UserService getUserService()
public void setUserService(com.liferay.portal.service.UserService userService)
userService - the user remote servicepublic com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
userPersistence - the user persistencepublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier in interface com.liferay.notifications.service.UserNotificationEventLocalServicegetBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeanpublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface com.liferay.notifications.service.UserNotificationEventLocalServicesetBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeanbeanIdentifier - the Spring bean ID for this beanpublic Object invokeMethod(String name, String[] parameterTypes, Object[] arguments) throws Throwable
invokeMethod in interface com.liferay.notifications.service.UserNotificationEventLocalServiceinvokeMethod in interface com.liferay.portal.service.InvokableLocalServiceThrowableprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql) throws com.liferay.portal.kernel.exception.SystemException
sql - the sql querycom.liferay.portal.kernel.exception.SystemExceptionCopyright © 2019. All Rights Reserved.