Package org.glassfish.admin.rest.provider

Examples of org.glassfish.admin.rest.provider.GetResultList


            @DefaultValue("1") int expandLevel) {

        List<Dom> domList = new ArrayList();
        List<E> entities = getEntity();
        if (entities==null){
            return new GetResultList(domList, getPostCommand(),
               getCommandResourcesPaths(), options());//empty dom list
        }
        Iterator iterator = entities.iterator();
        E e;
        while (iterator.hasNext()) {
            e = (E) iterator.next();
            domList.add(Dom.unwrap(e));
        }

        return new GetResultList(domList, getPostCommand(), getCommandResourcesPaths(), options());
    }
View Full Code Here

TOP

Related Classes of org.glassfish.admin.rest.provider.GetResultList

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.