|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.stratelia.silverpeas.personalizationPeas.control.PersonalizationSessionController
public class PersonalizationSessionController
Class declaration
| Field Summary |
|---|
| Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
|---|
CHARACTER_ENCODING, context |
| Constructor Summary | |
|---|---|
PersonalizationSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
Constructor declaration |
|
| Method Summary | |
|---|---|
void |
addPreference(String componentId,
String priorityId,
String notificationId)
Method declaration |
String |
buildOptions(ArrayList<Properties> ar,
String selectValue,
String selectText)
|
String |
buildOptions(ArrayList<Properties> ar,
String selectValue,
String selectText,
boolean bSorted)
|
void |
deleteNotifAddress(String aNotifAddressId)
Method declaration |
void |
deletePreference(String aPreferenceId)
Method declaration |
Properties |
getDefaultAddress()
Get the default Notification address |
DelayedNotificationBean |
getDelayedNotificationBean()
|
ArrayList<Properties> |
getInstanceList()
Retourne la liste des composants |
ArrayList<Properties> |
getNotifChannels()
Method declaration |
Properties |
getNotificationAddress(String aNotificationAddressId)
Method declaration |
ArrayList<Properties> |
getNotificationAddresses()
Method declaration |
Properties |
getNotifPreference(String aPreferenceId)
Method declaration |
ArrayList<Properties> |
getNotifPreferences()
Method declaration |
UserFull |
getTargetUserFull()
|
boolean |
isMultiChannelNotification()
Is the multichannel notification supported? |
void |
saveChannels(String selectedChannels)
|
void |
saveDelayedUserNotificationFrequency(String frequencyCode)
|
void |
saveNotifAddress(String aNotifAddressId,
String aNotifName,
String aChannelId,
String aAddress,
String aUsage)
Method declaration |
void |
setDefaultAddress(String aNotifAddressId)
Set the default Notification address Id |
void |
testNotifAddress(String aNotifAddressId)
Send a test message to the given notification address Id |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersonalizationSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
mainSessionCtrl - componentContext - | Method Detail |
|---|
public boolean isMultiChannelNotification()
public ArrayList<Properties> getNotificationAddresses()
throws PeasCoreException
PeasCoreException
public Properties getNotificationAddress(String aNotificationAddressId)
throws PeasCoreException
aNotificationAddressId -
PeasCoreException
public ArrayList<Properties> getNotifChannels()
throws PeasCoreException
PeasCoreException
public Properties getNotifPreference(String aPreferenceId)
throws PeasCoreException
aPreferenceId -
PeasCoreException
public ArrayList<Properties> getNotifPreferences()
throws PeasCoreException
PeasCoreException
public void saveNotifAddress(String aNotifAddressId,
String aNotifName,
String aChannelId,
String aAddress,
String aUsage)
throws PeasCoreException
aNotifAddressId - aNotifName - aChannelId - aAddress - aUsage -
PeasCoreException
public void deleteNotifAddress(String aNotifAddressId)
throws PeasCoreException
aNotifAddressId -
PeasCoreException
public void deletePreference(String aPreferenceId)
throws PeasCoreException
aPreferenceId -
PeasCoreException
public void testNotifAddress(String aNotifAddressId)
throws PeasCoreException
aNotifAddressId - id of the table ST_NotifAddress row to send notification to.
PeasCoreException
public Properties getDefaultAddress()
throws PeasCoreException
PeasCoreException
public void setDefaultAddress(String aNotifAddressId)
throws PeasCoreException
aNotifAddressId - of the table ST_NotifAddress row to send notification to.
PeasCoreException
public void addPreference(String componentId,
String priorityId,
String notificationId)
throws PeasCoreException
componentId - priorityId - notificationId -
PeasCoreException
public ArrayList<Properties> getInstanceList()
throws PeasCoreException
PeasCoreException
public String buildOptions(ArrayList<Properties> ar,
String selectValue,
String selectText)
public String buildOptions(ArrayList<Properties> ar,
String selectValue,
String selectText,
boolean bSorted)
public UserFull getTargetUserFull()
public void saveChannels(String selectedChannels)
throws PeasCoreException
PeasCoreExceptionpublic DelayedNotificationBean getDelayedNotificationBean()
public void saveDelayedUserNotificationFrequency(String frequencyCode)
throws PeasCoreException
PeasCoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||