Package org.apache.rave.portal.model

Examples of org.apache.rave.portal.model.Group


        assertThat(converter.convert(group), is(sameInstance(group)));
    }

    @Test
    public void nullConversion() {
        Group category = null;
        assertThat(converter.convert(category), is(nullValue()));
    }
View Full Code Here


        assertThat(converter.convert(group), is(sameInstance(group)));
    }

    @Test
    public void nullConversion() {
        Group category = null;
        assertThat(converter.convert(category), is(nullValue()));
    }
View Full Code Here

    @Override
    public List<Person> findByGroup(String groupId) {
        TypedQuery<Group> query = manager.createNamedQuery(Group.FIND_BY_TITLE, Group.class);
        query.setParameter(Group.GROUP_ID_PARAM, groupId);
        Group result = getSingleResult(query.getResultList());
        return result == null ? new ArrayList<Person>() : result.getMembers();
    }
View Full Code Here

TOP

Related Classes of org.apache.rave.portal.model.Group

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.