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

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


    public void testExecute()
    {
        DeleteStreamDbMapper sut = new DeleteStreamDbMapper();
        sut.setEntityManager(getEntityManager());

        sut.execute(new DeleteStreamRequest(FORDP_ID, 2L));

        getEntityManager().flush();
        getEntityManager().clear();

        String query = "from PersonStream where personId=:personId";
View Full Code Here


     * @exception ExecutionException
     *                not expected.
     */
    public Serializable execute(final PrincipalActionContext inActionContext) throws ExecutionException
    {
        deleteAndReorderStreamsMapper.execute(new DeleteStreamRequest(
                inActionContext.getPrincipal().getId(), (Long) inActionContext.getParams()));

        return inActionContext.getParams();
    }
View Full Code Here

TOP

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

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.