it.sistematica.isharedoc.service
Interface NotificationService

All Known Implementing Classes:
NotificationServiceImpl

public interface NotificationService

The Interface NotificationService.


Field Summary
static java.lang.String GROUP_MAIL_NOTIFICATION
          The group mail notification.
static java.lang.String GROUP_MAIL_POLLING_NOTIFICATION
          The group mail polling notification.
static java.lang.String GROUP_REPLICA_NOTIFICATION
          The group replica notification.
static java.lang.String GROUP_RESERVED_LEVEL
          The group reserved level.
static java.lang.String GROUP_SYSTEM_MAINTENANCE
          The group system maintenance.
static java.lang.String GROUP_TASK_NOTIFICATION
          The group task notification.
 
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.
 

Field Detail

GROUP_RESERVED_LEVEL

static final java.lang.String GROUP_RESERVED_LEVEL
The group reserved level.

See Also:
Constant Field Values

GROUP_SYSTEM_MAINTENANCE

static final java.lang.String GROUP_SYSTEM_MAINTENANCE
The group system maintenance.

See Also:
Constant Field Values

GROUP_MAIL_POLLING_NOTIFICATION

static final java.lang.String GROUP_MAIL_POLLING_NOTIFICATION
The group mail polling notification.

See Also:
Constant Field Values

GROUP_MAIL_NOTIFICATION

static final java.lang.String GROUP_MAIL_NOTIFICATION
The group mail notification.

See Also:
Constant Field Values

GROUP_TASK_NOTIFICATION

static final java.lang.String GROUP_TASK_NOTIFICATION
The group task notification.

See Also:
Constant Field Values

GROUP_REPLICA_NOTIFICATION

static final java.lang.String GROUP_REPLICA_NOTIFICATION
The group replica notification.

See Also:
Constant Field Values
Method Detail

taskCreated

void taskCreated(java.lang.String assigneeId,
                 java.lang.String organizationId,
                 java.lang.String taskId,
                 java.lang.String taskName,
                 ItemInstance instance)
Task created.

Parameters:
assigneeId - the assignee id
organizationId - the organization id
taskId - the task id
taskName - the task name
instance - the instance

taskUpdated

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.

Parameters:
fromAssigneeId - the from assignee id
toAssigneeId - the to assignee id
fromOrganizationId - the from organization id
toOrganizationId - the to organization id
taskId - the task id
taskName - the task name
instance - the instance

taskCompleted

void taskCompleted(java.lang.String assigneeId,
                   java.lang.String organizationId,
                   java.lang.String taskId,
                   java.lang.String taskName,
                   ItemInstance instance)
Task completed.

Parameters:
assigneeId - the assignee id
organizationId - the organization id
taskId - the task id
taskName - the task name
instance - the instance

tweet

void tweet(ItemInstance toInstance,
           it.neverworks.security.User toUser,
           java.lang.String message)
Tweet.

Parameters:
toInstance - the to instance
toUser - the to user
message - the message

tweet

void tweet(it.neverworks.security.User toUser,
           Tweet.Type type,
           java.lang.String message)
Tweet.

Parameters:
toUser - the to user
type - the type
message - the message

tweet

void tweet(it.neverworks.security.User toUser,
           Tweet.Type type,
           java.lang.String title,
           java.lang.String message)
Tweet.

Parameters:
toUser - the to user
type - the type
title - the title
message - the 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.

Parameters:
toUser - the to user
type - the type
group - the group
title - the title
message - the 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.

Parameters:
toUser - the to user
type - the type
group - the group
title - the title
message - the message
url - the url

tweet

void tweet(Team toTeam,
           Tweet.Type type,
           java.lang.String group,
           java.lang.String title,
           java.lang.String message)
Tweet.

Parameters:
toTeam - the to team
type - the type
group - the group
title - the title
message - the 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.

Parameters:
instance - the instance
toUser - the to user
type - the type
group - the group
title - the title
message - the message
url - the url

tweetRemove

void tweetRemove(Tweet tweet)
Tweet remove.

Parameters:
tweet - the tweet