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 NotificationKey getKey()
public NotificationInfo key(NotificationKey key)
public NotificationInfo key(String id)
public String getFrom()
public NotificationInfo setFrom(String from)
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)
ownerParameter - the ownerParameter to setpublic NotificationInfo end()
public NotificationInfo setOwnerParameter(javax.jcr.Value[] values)
arrays - the value to set ownerParameterpublic 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 NotificationInfo clone()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.