public class NotificationInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FOR_ALL_USER |
static String |
PREFIX_ID |
| Constructor and Description |
|---|
NotificationInfo() |
public static final String PREFIX_ID
public static final String FOR_ALL_USER
public static NotificationInfo instance()
public String getId()
public NotificationInfo setId(String id)
public NotificationInfo setSendAll(boolean isSendAll)
public boolean isSendAll()
public boolean isUpdate()
public NotificationInfo setUpdate(boolean isUpdate)
public PluginKey getKey()
public NotificationInfo key(PluginKey key)
public NotificationInfo key(String id)
public String getFrom()
public NotificationInfo setFrom(String from)
public String getTitle()
public NotificationInfo setTitle(String title)
title - public ChannelKey getChannelKey()
public void setChannelKey(ChannelKey channelKey)
channelKey - public String getTo()
public NotificationInfo setTo(String to)
to - the to to setpublic int getOrder()
public NotificationInfo setOrder(int order)
order - the order to setpublic NotificationInfo to(List<String> sendToUserIds)
public NotificationInfo to(String sendToUserId)
public String getValueOwnerParameter(String key)
public String[] getArrayOwnerParameter()
public NotificationInfo setOwnerParameter(Map<String,String> ownerParameter)
ownerParameter - the ownerParameter to setpublic NotificationInfo with(String key, String value)
key - the ownerParameter key to setvalue - the ownerParameter value to setpublic NotificationInfo end()
public NotificationInfo setOwnerParameter(javax.jcr.Value[] values)
values - the value to set ownerParameterpublic long getLastModifiedDate()
public NotificationInfo setLastModifiedDate(Calendar lastModifiedDate)
lastModifiedDate - public NotificationInfo setLastModifiedDate(long lastModifiedDate)
lastModifiedDate - public Calendar getDateCreated()
public NotificationInfo setDateCreated(Calendar dateCreated)
public boolean isOnPopOver()
public NotificationInfo setOnPopOver(boolean isOnPopOver)
public String[] getSendToDaily()
public NotificationInfo setSendToDaily(String[] userIds)
userIds - the list userIds to set for sendToDailypublic NotificationInfo setSendToDaily(String userId)
userId - the userId to add into sendToDailypublic NotificationInfo removeOnSendToDaily(String userId)
userId - the userId to remove into sendToDailypublic String[] getSendToWeekly()
public NotificationInfo setSendToWeekly(String[] userIds)
userIds - the list userIds to set for sendToWeeklypublic NotificationInfo setSendToWeekly(String userId)
userId - the userId to add into sendToWeeklypublic NotificationInfo removeOnSendToWeekly(String userId)
userId - the userId to remove into sendToWeeklypublic boolean isResetOnBadge()
public NotificationInfo setResetOnBadge(boolean resetOnBadge)
public boolean isRead()
public NotificationInfo setRead(boolean read)
public NotificationInfo clone()
public NotificationInfo clone(boolean isNew)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.