|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.UserNotificationEventLocalServiceWrapper
public class UserNotificationEventLocalServiceWrapper
This class is a wrapper for UserNotificationEventLocalService.
UserNotificationEventLocalService| Constructor Summary | |
|---|---|
UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService)
|
|
| Method Summary | |
|---|---|
UserNotificationEvent |
addUserNotificationEvent(long userId,
NotificationEvent notificationEvent)
|
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
long deliverBy,
String payload,
boolean archived,
ServiceContext serviceContext)
|
UserNotificationEvent |
addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Adds the user notification event to the database. |
List<UserNotificationEvent> |
addUserNotificationEvents(long userId,
Collection<NotificationEvent> notificationEvents)
|
UserNotificationEvent |
createUserNotificationEvent(long userNotificationEventId)
Creates a new user notification event with the primary key. |
void |
deleteUserNotificationEvent(long userNotificationEventId)
Deletes the user notification event with the primary key from the database. |
void |
deleteUserNotificationEvent(String uuid)
|
void |
deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Deletes the user notification event from the database. |
void |
deleteUserNotificationEvents(Collection<String> uuids)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
UserNotificationEvent |
getUserNotificationEvent(long userNotificationEventId)
Returns the user notification event with the primary key. |
List<UserNotificationEvent> |
getUserNotificationEvents(int start,
int end)
Returns a range of all the user notification events. |
List<UserNotificationEvent> |
getUserNotificationEvents(long userId)
|
List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
boolean archived)
|
List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
boolean archived,
int start,
int end)
|
int |
getUserNotificationEventsCount()
Returns the number of user notification events. |
UserNotificationEventLocalService |
getWrappedUserNotificationEventLocalService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedUserNotificationEventLocalService(UserNotificationEventLocalService userNotificationEventLocalService)
|
UserNotificationEvent |
updateUserNotificationEvent(String uuid,
boolean archive)
|
UserNotificationEvent |
updateUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Updates the user notification event in the database or adds it if it does not yet exist. |
UserNotificationEvent |
updateUserNotificationEvent(UserNotificationEvent userNotificationEvent,
boolean merge)
Updates the user notification event in the database or adds it if it does not yet exist. |
List<UserNotificationEvent> |
updateUserNotificationEvents(Collection<String> uuids,
boolean archive)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService)
| Method Detail |
|---|
public UserNotificationEvent addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
throws SystemException
addUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification event
SystemException - if a system exception occurredpublic UserNotificationEvent createUserNotificationEvent(long userNotificationEventId)
createUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key for the new user notification event
public void deleteUserNotificationEvent(long userNotificationEventId)
throws PortalException,
SystemException
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key of the user notification event
PortalException - if a user notification event with the primary key could not be found
SystemException - if a system exception occurred
public void deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
throws SystemException
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification event
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws 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.
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
dynamicQuery in interface 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)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface UserNotificationEventLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public UserNotificationEvent getUserNotificationEvent(long userNotificationEventId)
throws PortalException,
SystemException
getUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key of the user notification event
PortalException - if a user notification event with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface UserNotificationEventLocalServicePortalException
SystemException
public List<UserNotificationEvent> getUserNotificationEvents(int start,
int end)
throws 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.
getUserNotificationEvents in interface UserNotificationEventLocalServicestart - the lower bound of the range of user notification eventsend - the upper bound of the range of user notification events (not inclusive)
SystemException - if a system exception occurred
public int getUserNotificationEventsCount()
throws SystemException
getUserNotificationEventsCount in interface UserNotificationEventLocalServiceSystemException - if a system exception occurred
public UserNotificationEvent updateUserNotificationEvent(UserNotificationEvent userNotificationEvent)
throws SystemException
updateUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification event
SystemException - if a system exception occurred
public UserNotificationEvent updateUserNotificationEvent(UserNotificationEvent userNotificationEvent,
boolean merge)
throws SystemException
updateUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventmerge - whether to merge the user notification event with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface UserNotificationEventLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface UserNotificationEventLocalServicebeanIdentifier - the Spring bean ID for this bean
public UserNotificationEvent addUserNotificationEvent(long userId,
NotificationEvent notificationEvent)
throws PortalException,
SystemException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalException
SystemException
public UserNotificationEvent addUserNotificationEvent(long userId,
String type,
long timestamp,
long deliverBy,
String payload,
boolean archived,
ServiceContext serviceContext)
throws PortalException,
SystemException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalException
SystemException
public List<UserNotificationEvent> addUserNotificationEvents(long userId,
Collection<NotificationEvent> notificationEvents)
throws PortalException,
SystemException
addUserNotificationEvents in interface UserNotificationEventLocalServicePortalException
SystemException
public void deleteUserNotificationEvent(String uuid)
throws SystemException
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceSystemException
public void deleteUserNotificationEvents(Collection<String> uuids)
throws SystemException
deleteUserNotificationEvents in interface UserNotificationEventLocalServiceSystemException
public List<UserNotificationEvent> getUserNotificationEvents(long userId)
throws SystemException
getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemException
public List<UserNotificationEvent> getUserNotificationEvents(long userId,
boolean archived)
throws SystemException
getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemException
public List<UserNotificationEvent> getUserNotificationEvents(long userId,
boolean archived,
int start,
int end)
throws SystemException
getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemException
public UserNotificationEvent updateUserNotificationEvent(String uuid,
boolean archive)
throws SystemException
updateUserNotificationEvent in interface UserNotificationEventLocalServiceSystemException
public List<UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids,
boolean archive)
throws SystemException
updateUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic UserNotificationEventLocalService getWrappedUserNotificationEventLocalService()
public void setWrappedUserNotificationEventLocalService(UserNotificationEventLocalService userNotificationEventLocalService)
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||