Java Doc for NotificationService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » event » api » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.event.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.event.api.NotificationService

All known Subclasses:   org.sakaiproject.event.impl.BaseNotificationService,
NotificationService
public interface NotificationService (Code)

NotificationService is ...



Field Summary
final static  intNOTI_NONE
     Notification option value for undefined or no notification.
final static  intNOTI_OPTIONAL
     Notification option value for optional notification.
final static  intNOTI_REQUIRED
     Notification option value for required notification.
final static  StringPREFS_DEFAULT
     Preferences key for default notification prefs.
final static  StringPREFS_NOTI
     Preferences key for a specific notification - append the notification id.
final static  StringPREFS_SITE
     Preferences key for default for a site notification prefs - append the site id.
final static  StringPREFS_TYPE
     Preferences key for default for a resource type notification prefs - append the resource type.
final static  intPREF_DIGEST
     Notification preference value for digest notification.
final static  intPREF_IGNORE
     Notification preference value for blocking notification.
final static  intPREF_IMMEDIATE
     Notification preference value for immediate notification.
final static  intPREF_NONE
     Notification option value for undefined notification.
final static  StringREFERENCE_ROOT
     This string starts the references to resources in this service.
final static  StringSECURE_ADD_NOTIFICATION
     ability / event for notification add.
final static  StringSECURE_REMOVE_NOTIFICATION
     ability / event for notification removal.
final static  StringSECURE_UPDATE_NOTIFICATION
     ability / event for notification update.
final static  StringSERVICE_NAME
     This string can be used to find the service in the service manager.


Method Summary
 NotificationEditaddNotification()
     Establish a new notification, locked for edit.
 NotificationEditaddTransientNotification()
     Establish a new transient notification.
 voidcancelEdit(NotificationEdit notification)
     Cancel the changes made to a NotificationEdit object, and release the lock.
 voidcommitEdit(NotificationEdit notification)
     Commit the changes made to a NotificationEdit object, and release the lock.
 NotificationEditeditNotification(String id)
     Get a locked notification object for editing.
 NotificationfindNotification(String function, String filter)
     Find a notification object.
Parameters:
  function - The function setting of the notification object.
Parameters:
  filter - The resourceFilter setting of the notification object.
 NotificationgetNotification(String id)
     Access a notification object.
Parameters:
  id - The notification id string.
 booleanisNotificationFromReplyable()
    
 booleanisNotificationToReplyable()
    
 StringnotificationReference(String id)
     Access the internal reference which can be used to access the resource from within the system.
Parameters:
  id - The notification id.
 voidremoveNotification(NotificationEdit notification)
     Remove this notification - it must be a notification with a lock from editNotification().

Field Detail
NOTI_NONE
final static int NOTI_NONE(Code)
Notification option value for undefined or no notification.



NOTI_OPTIONAL
final static int NOTI_OPTIONAL(Code)
Notification option value for optional notification.



NOTI_REQUIRED
final static int NOTI_REQUIRED(Code)
Notification option value for required notification.



PREFS_DEFAULT
final static String PREFS_DEFAULT(Code)
Preferences key for default notification prefs.



PREFS_NOTI
final static String PREFS_NOTI(Code)
Preferences key for a specific notification - append the notification id.



PREFS_SITE
final static String PREFS_SITE(Code)
Preferences key for default for a site notification prefs - append the site id.



PREFS_TYPE
final static String PREFS_TYPE(Code)
Preferences key for default for a resource type notification prefs - append the resource type.



PREF_DIGEST
final static int PREF_DIGEST(Code)
Notification preference value for digest notification.



PREF_IGNORE
final static int PREF_IGNORE(Code)
Notification preference value for blocking notification.



PREF_IMMEDIATE
final static int PREF_IMMEDIATE(Code)
Notification preference value for immediate notification.



PREF_NONE
final static int PREF_NONE(Code)
Notification option value for undefined notification.



REFERENCE_ROOT
final static String REFERENCE_ROOT(Code)
This string starts the references to resources in this service.



SECURE_ADD_NOTIFICATION
final static String SECURE_ADD_NOTIFICATION(Code)
ability / event for notification add.



SECURE_REMOVE_NOTIFICATION
final static String SECURE_REMOVE_NOTIFICATION(Code)
ability / event for notification removal.



SECURE_UPDATE_NOTIFICATION
final static String SECURE_UPDATE_NOTIFICATION(Code)
ability / event for notification update.



SERVICE_NAME
final static String SERVICE_NAME(Code)
This string can be used to find the service in the service manager.





Method Detail
addNotification
NotificationEdit addNotification()(Code)
Establish a new notification, locked for edit. Must commitEdit() to make official, or cancelEdit() when done! a new Notification, locked for edit.



addTransientNotification
NotificationEdit addTransientNotification()(Code)
Establish a new transient notification. Transient notifications are processed by the service but not stored in storage. Modification to the notification can be done at any time, do not use edit(), commit() or remove() on it. a new transient Notification.



cancelEdit
void cancelEdit(NotificationEdit notification)(Code)
Cancel the changes made to a NotificationEdit object, and release the lock. The NotificationEdit is disabled, and not to be used after this call.
Parameters:
  notification - The NotificationEdit object to commit.



commitEdit
void commitEdit(NotificationEdit notification)(Code)
Commit the changes made to a NotificationEdit object, and release the lock. The NotificationEdit is disabled, and not to be used after this call.
Parameters:
  notification - The NotificationEdit object to commit.



editNotification
NotificationEdit editNotification(String id) throws NotificationNotDefinedException, NotificationLockedException(Code)
Get a locked notification object for editing. Must commitEdit() to make official, or cancelEdit() when done!
Parameters:
  id - The notification id string. A NotificationEdit object for editing.
exception:
  NotificationNotDefinedException - if not found.
exception:
  NotificationLockedException - if the current notification is elsewhere locked for edit.



findNotification
Notification findNotification(String function, String filter)(Code)
Find a notification object.
Parameters:
  function - The function setting of the notification object.
Parameters:
  filter - The resourceFilter setting of the notification object. A notification object matching the criteria, or null if none found.



getNotification
Notification getNotification(String id) throws NotificationNotDefinedException(Code)
Access a notification object.
Parameters:
  id - The notification id string. A notification object containing the notification information.
exception:
  NotificationNotDefinedException - if not found.



isNotificationFromReplyable
boolean isNotificationFromReplyable()(Code)
Check if an email notification should be reply-able in the From: field true if email notifications should be reply-able in the From: field, false if not.



isNotificationToReplyable
boolean isNotificationToReplyable()(Code)
Check if an email notification should be reply-able in the To: field true if email notifications should be reply-able in the To: field, false if not.



notificationReference
String notificationReference(String id)(Code)
Access the internal reference which can be used to access the resource from within the system.
Parameters:
  id - The notification id. The the internal reference which can be used to access the resource from within the system.



removeNotification
void removeNotification(NotificationEdit notification)(Code)
Remove this notification - it must be a notification with a lock from editNotification(). The NotificationEdit is disabled, and not to be used after this call.
Parameters:
  id - The notification id.
exception:
  PermissionException - if the current notification does not have permission to remove this notification.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.