Package org.eurekastreams.server.action.request.notification

Examples of org.eurekastreams.server.action.request.notification.CommentNotificationsRequest


                oneOf(commentorsMapper).execute(ACTIVITY_ID);
                will(returnValue(Arrays.asList(ACTOR_ID, AUTHOR_ID, STREAM_OWNER_ID, COMMENTOR1, COMMENTOR2)));
            }
        });

        CommentNotificationsRequest request = new CommentNotificationsRequest(null, ACTOR_ID, DESTINATION_ID,
                ACTIVITY_ID, COMMENT_ID);
        NotificationBatch results = sut.translate(request);

        context.assertIsSatisfied();
View Full Code Here


                oneOf(commentorsMapper).execute(ACTIVITY_ID);
                will(returnValue(Collections.EMPTY_LIST));
            }
        });

        CommentNotificationsRequest request = new CommentNotificationsRequest(null, AUTHOR_ID, DESTINATION_ID,
                ACTIVITY_ID, COMMENT_ID);
        NotificationBatch results = sut.translate(request);

        context.assertIsSatisfied();
View Full Code Here

                oneOf(activityDAO).execute(ACTIVITY_ID);
                will(returnValue(null));
            }
        });

        CommentNotificationsRequest request = new CommentNotificationsRequest(null, ACTOR_ID, DESTINATION_ID,
                ACTIVITY_ID, COMMENT_ID);
        NotificationBatch results = sut.translate(request);

        context.assertIsSatisfied();
        assertNull(results);
View Full Code Here

            return;
        default:
            return;
        }

        CreateNotificationsRequest notificationRequest = new CommentNotificationsRequest(requestType, personId,
                destinationId, activityId, commentId);

        // add request to queued request list
        queuedRequests.add(new UserActionRequest(CreateNotificationsRequest.ACTION_NAME, null, notificationRequest));
    }
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.action.request.notification.CommentNotificationsRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.