|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sistematica.isharedoc.service.NotificationServiceImpl
@Service(value="notificationService") public class NotificationServiceImpl
Field Summary | |
---|---|
(package private) it.neverworks.util.Configuration |
Configuration
|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) it.neverworks.notification.NotificationCenter |
notificationCenter
|
(package private) OrganizationService |
organizationService
|
(package private) ReportingService |
reportingService
|
(package private) org.hibernate.SessionFactory |
sessionFactory
|
(package private) it.neverworks.application.service.UserInfo |
userInfo
|
Fields inherited from interface it.sistematica.isharedoc.service.NotificationService |
---|
GROUP_MAIL_NOTIFICATION, GROUP_MAIL_POLLING_NOTIFICATION, GROUP_REPLICA_NOTIFICATION, GROUP_RESERVED_LEVEL, GROUP_SYSTEM_MAINTENANCE, GROUP_TASK_NOTIFICATION |
Constructor Summary | |
---|---|
NotificationServiceImpl()
|
Method Summary | |
---|---|
void |
taskCompleted(java.lang.String assigneeId,
java.lang.String organizationId,
java.lang.String taskId,
java.lang.String taskName,
ItemInstance instance)
Task completed. |
void |
taskCreated(java.lang.String assigneeId,
java.lang.String organizationId,
java.lang.String taskId,
java.lang.String taskName,
ItemInstance instance)
Task created. |
void |
taskUpdated(java.lang.String fromAssigneeId,
java.lang.String toAssigneeId,
java.lang.String fromOrganizationId,
java.lang.String toOrganizationId,
java.lang.String taskId,
java.lang.String taskName,
ItemInstance instance)
Task updated. |
void |
tweet(ItemInstance toInstance,
it.neverworks.security.User toUser,
java.lang.String message)
Tweet. |
void |
tweet(ItemInstance instance,
it.neverworks.security.User toUser,
Tweet.Type type,
java.lang.String group,
java.lang.String title,
java.lang.String message,
java.lang.String url)
Tweet. |
void |
tweet(Team toTeam,
Tweet.Type type,
java.lang.String group,
java.lang.String title,
java.lang.String message)
Tweet. |
void |
tweet(it.neverworks.security.User toUser,
Tweet.Type type,
java.lang.String message)
Tweet. |
void |
tweet(it.neverworks.security.User toUser,
Tweet.Type type,
java.lang.String title,
java.lang.String message)
Tweet. |
void |
tweet(it.neverworks.security.User toUser,
Tweet.Type type,
java.lang.String group,
java.lang.String title,
java.lang.String message)
Tweet. |
void |
tweet(it.neverworks.security.User toUser,
Tweet.Type type,
java.lang.String group,
java.lang.String title,
java.lang.String message,
java.lang.String url)
Tweet. |
void |
tweetRemove(Tweet tweet)
Tweet remove. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
it.neverworks.application.service.UserInfo userInfo
it.neverworks.data.EntityManager entities
it.neverworks.notification.NotificationCenter notificationCenter
ReportingService reportingService
OrganizationService organizationService
it.neverworks.util.Configuration Configuration
org.hibernate.SessionFactory sessionFactory
Constructor Detail |
---|
public NotificationServiceImpl()
Method Detail |
---|
@Transactional public void taskCreated(java.lang.String assigneeId, java.lang.String organizationId, java.lang.String taskId, java.lang.String taskName, ItemInstance instance)
NotificationService
taskCreated
in interface NotificationService
assigneeId
- the assignee idorganizationId
- the organization idtaskId
- the task idtaskName
- the task nameinstance
- the instance@Transactional public void taskUpdated(java.lang.String fromAssigneeId, java.lang.String toAssigneeId, java.lang.String fromOrganizationId, java.lang.String toOrganizationId, java.lang.String taskId, java.lang.String taskName, ItemInstance instance)
NotificationService
taskUpdated
in interface NotificationService
fromAssigneeId
- the from assignee idtoAssigneeId
- the to assignee idfromOrganizationId
- the from organization idtoOrganizationId
- the to organization idtaskId
- the task idtaskName
- the task nameinstance
- the instance@Transactional public void taskCompleted(java.lang.String assigneeId, java.lang.String organizationId, java.lang.String taskId, java.lang.String taskName, ItemInstance instance)
NotificationService
taskCompleted
in interface NotificationService
assigneeId
- the assignee idorganizationId
- the organization idtaskId
- the task idtaskName
- the task nameinstance
- the instancepublic void tweet(ItemInstance toInstance, it.neverworks.security.User toUser, java.lang.String message)
NotificationService
tweet
in interface NotificationService
toInstance
- the to instancetoUser
- the to usermessage
- the messagepublic void tweet(it.neverworks.security.User toUser, Tweet.Type type, java.lang.String message)
NotificationService
tweet
in interface NotificationService
toUser
- the to usertype
- the typemessage
- the messagepublic void tweet(it.neverworks.security.User toUser, Tweet.Type type, java.lang.String title, java.lang.String message)
NotificationService
tweet
in interface NotificationService
toUser
- the to usertype
- the typetitle
- the titlemessage
- the messagepublic void tweet(it.neverworks.security.User toUser, Tweet.Type type, java.lang.String group, java.lang.String title, java.lang.String message)
NotificationService
tweet
in interface NotificationService
toUser
- the to usertype
- the typegroup
- the grouptitle
- the titlemessage
- the messagepublic void tweet(it.neverworks.security.User toUser, Tweet.Type type, java.lang.String group, java.lang.String title, java.lang.String message, java.lang.String url)
NotificationService
tweet
in interface NotificationService
toUser
- the to usertype
- the typegroup
- the grouptitle
- the titlemessage
- the messageurl
- the url@Transactional public void tweet(Team toTeam, Tweet.Type type, java.lang.String group, java.lang.String title, java.lang.String message)
NotificationService
tweet
in interface NotificationService
toTeam
- the to teamtype
- the typegroup
- the grouptitle
- the titlemessage
- the message@Transactional public void tweet(ItemInstance instance, it.neverworks.security.User toUser, Tweet.Type type, java.lang.String group, java.lang.String title, java.lang.String message, java.lang.String url)
NotificationService
tweet
in interface NotificationService
instance
- the instancetoUser
- the to usertype
- the typegroup
- the grouptitle
- the titlemessage
- the messageurl
- the urlpublic void tweetRemove(Tweet tweet)
NotificationService
tweetRemove
in interface NotificationService
tweet
- the tweet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |