Package org.eurekastreams.server.persistence.mappers.requests

Examples of org.eurekastreams.server.persistence.mappers.requests.ChangeStreamActivitySubscriptionMapperRequest


        assertEquals(0, getFollowingCount("Follower", userId, personId));
        getEntityManager().clear();

        sut = new ChangeStreamActivitySubscriptionDbMapper(EntityType.PERSON);
        ((BaseDomainMapper) sut).setEntityManager(getEntityManager());
        sut.execute(new ChangeStreamActivitySubscriptionMapperRequest(userId, personId, true, false));

        getEntityManager().clear();
        assertEquals(0, getFollowingCount("Follower", userId, personId));
    }
View Full Code Here


        // get the stream entity id
        Long id = entityIdFromUniqueIdDAO.execute(request.getStreamEntityUniqueId());

        // update the user's preference
        changeNotificationPreferenceDAO.execute(new ChangeStreamActivitySubscriptionMapperRequest(inActionContext
                .getPrincipal().getId(), id, request.getReceiveNewActivityNotifications(), request
                .getCoordinatorOnlyNotifications()));

        return null;
    }
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.persistence.mappers.requests.ChangeStreamActivitySubscriptionMapperRequest

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.