com.stratelia.silverpeas.notificationManager
Class NotificationParameters

java.lang.Object
  extended by com.stratelia.silverpeas.notificationManager.NotificationParameters

public class NotificationParameters
extends Object

This class contents all needed parameters to send a notification with the NotificationManager

Version:
%I%, %G%
Author:
Thierry Leroi

Field Summary
static int ADDRESS_BASIC_COMMUNICATION_USER
          The channel used for notifications is the peer to peer user communication (chatting).
static int ADDRESS_BASIC_POPUP
          The channel used for notifications is the popup.
static int ADDRESS_BASIC_REMOVE
          The channel used for notifications is the trash (recieved notifications are removed).
static int ADDRESS_BASIC_SERVER
          The channel used for notifications is the server one (used by the server to send notifications).
static int ADDRESS_BASIC_SILVERMAIL
          The channel used for notifications is the internal Silverpeas messaging system.
static int ADDRESS_BASIC_SMTP_MAIL
          The channel used for notifications is the SMTP mail system.
static int ADDRESS_COMPONENT_DEFINED
           
static int ADDRESS_DEFAULT
           
 boolean bAnswerAllowed
           
 boolean bSendImmediately
           
 Date dDate
           
 NotifAction eAction
           
static int ERROR
           
 int iComponentInstance
           
 int iFromUserId
           
 int iMediaType
           
 int iMessagePriority
           
static int MAX_SIZE_TITLE
           
 NotificationResourceData nNotificationResourceData
           
static int NORMAL
           
 String senderName
           
 String sLanguage
           
 String sLinkLabel
           
 String sMessage
           
 String sOriginalExtraMessage
           
 String sSessionId
           
 String sSource
           
 String sTitle
           
 String sURL
           
static int URGENT
           
static String USAGE_PERSO
           
static String USAGE_PRO
           
static String USAGE_REP
           
static String USAGE_URGENT
           
 
Constructor Summary
NotificationParameters()
           
 
Method Summary
 void traceObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

URGENT

public static final int URGENT
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

ADDRESS_DEFAULT

public static final int ADDRESS_DEFAULT
See Also:
Constant Field Values

ADDRESS_COMPONENT_DEFINED

public static final int ADDRESS_COMPONENT_DEFINED
See Also:
Constant Field Values

ADDRESS_BASIC_POPUP

public static final int ADDRESS_BASIC_POPUP
The channel used for notifications is the popup.

See Also:
Constant Field Values

ADDRESS_BASIC_REMOVE

public static final int ADDRESS_BASIC_REMOVE
The channel used for notifications is the trash (recieved notifications are removed).

See Also:
Constant Field Values

ADDRESS_BASIC_SILVERMAIL

public static final int ADDRESS_BASIC_SILVERMAIL
The channel used for notifications is the internal Silverpeas messaging system.

See Also:
Constant Field Values

ADDRESS_BASIC_SMTP_MAIL

public static final int ADDRESS_BASIC_SMTP_MAIL
The channel used for notifications is the SMTP mail system.

See Also:
Constant Field Values

ADDRESS_BASIC_SERVER

public static final int ADDRESS_BASIC_SERVER
The channel used for notifications is the server one (used by the server to send notifications).

See Also:
Constant Field Values

ADDRESS_BASIC_COMMUNICATION_USER

public static final int ADDRESS_BASIC_COMMUNICATION_USER
The channel used for notifications is the peer to peer user communication (chatting).

See Also:
Constant Field Values

USAGE_PRO

public static final String USAGE_PRO
See Also:
Constant Field Values

USAGE_PERSO

public static final String USAGE_PERSO
See Also:
Constant Field Values

USAGE_REP

public static final String USAGE_REP
See Also:
Constant Field Values

USAGE_URGENT

public static final String USAGE_URGENT
See Also:
Constant Field Values

MAX_SIZE_TITLE

public static final int MAX_SIZE_TITLE
See Also:
Constant Field Values

iMessagePriority

public int iMessagePriority

iMediaType

public int iMediaType

iComponentInstance

public int iComponentInstance

iFromUserId

public int iFromUserId

sTitle

public String sTitle

senderName

public String senderName

sMessage

public String sMessage

sURL

public String sURL

sLinkLabel

public String sLinkLabel

sSource

public String sSource

sSessionId

public String sSessionId

sOriginalExtraMessage

public String sOriginalExtraMessage

bAnswerAllowed

public boolean bAnswerAllowed

bSendImmediately

public boolean bSendImmediately

dDate

public Date dDate

sLanguage

public String sLanguage

eAction

public NotifAction eAction

nNotificationResourceData

public NotificationResourceData nNotificationResourceData
Constructor Detail

NotificationParameters

public NotificationParameters()
Method Detail

traceObject

public void traceObject()


Copyright © 2016 Silverpeas. All Rights Reserved.