Package org.eurekastreams.server.domain.stream

Examples of org.eurekastreams.server.domain.stream.ActivitySecurityDTO


     */
    @Test
    public void testRefresh()
    {
        final List<ActivitySecurityDTO> activities = new ArrayList<ActivitySecurityDTO>();
        activities.add(new ActivitySecurityDTO(1L, 2L, false));
        activities.add(new ActivitySecurityDTO(2L, 3L, false));

        CONTEXT.checking(new Expectations()
        {
            {
                oneOf(cache).set(CacheKeys.ACTIVITY_SECURITY_BY_ID + activities.get(0).getId(), activities.get(0));
View Full Code Here


    {
        List<ActivitySecurityDTO> deletedDTOs = new ArrayList<ActivitySecurityDTO>();

        for (Long deletedActivityId : inRequest)
        {
            deletedDTOs.add(new ActivitySecurityDTO(deletedActivityId, 0L, false, false));
        }

        return deletedDTOs;
    }
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.domain.stream.ActivitySecurityDTO

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.