Package org.eurekastreams.server.action.request

Examples of org.eurekastreams.server.action.request.GroupLookupRequest


        final EventBus eventBus = Session.getInstance().getEventBus();
        final String criterion = inRequest.getMembershipCriteria().getCriteria();

        if (inRequest.isGroup())
        {
            super.callReadAction("groupLookup", new GroupLookupRequest(criterion), new OnSuccessCommand<Boolean>()
            {
                public void onSuccess(final Boolean wasFound)
                {
                    sendSuccessEvent(inRequest.getMembershipCriteria(), wasFound);
                }
View Full Code Here


     *             on error.
     */
    @Override
    public Boolean execute(final ActionContext inActionContext) throws ExecutionException
    {
        GroupLookupRequest params = (GroupLookupRequest) inActionContext.getParams();
        List<LdapGroup> results = groupMapper.execute(new LdapLookupRequest(params.getQueryString()));

        return results.size() > 0;
    }
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.action.request.GroupLookupRequest

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.