Package org.eurekastreams.server.action.request.stream

Examples of org.eurekastreams.server.action.request.stream.DeleteActivityCacheUpdateRequest


            }
        }

        // submit request for additional cache updates due to activity deletion.
        inActionContext.getUserActionRequests().add(
                new UserActionRequest("deleteActivityCacheUpdate", null, new DeleteActivityCacheUpdateRequest(
                        activity, commentIds, personIdsWithActivityStarred)));

        // Put an action on the queue to delete the activity from search index.
        inActionContext.getUserActionRequests().add(
                new UserActionRequest("deleteFromSearchIndexAction", null, new DeleteFromSearchIndexRequest(
View Full Code Here


        List<Long> personIdsWithStarredActivity = new ArrayList<Long>(1);
        personIdsWithStarredActivity.add(mrburnsId);

        // update cache
        assertNotNull(sut.execute(new DeleteActivityCacheUpdateRequest(activity, commentIds,
                personIdsWithStarredActivity)));

        List<Long> starredActivityIds = cache.getList(CacheKeys.STARRED_BY_PERSON_ID + mrburnsId);
        assertEquals(0, starredActivityIds.size());
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.action.request.stream.DeleteActivityCacheUpdateRequest

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.