Package xregistry.generated.ListSubActorsGivenAGroupResponseDocument.ListSubActorsGivenAGroupResponse

Examples of xregistry.generated.ListSubActorsGivenAGroupResponseDocument.ListSubActorsGivenAGroupResponse.Actor


            statement.setString(1,group );
           
            ResultSet results = statement.executeQuery();
            while(results.next()){
                String groupId = results.getString(USERID);
                Actor actor = Actor.Factory.newInstance();
                actor.setActor(groupId);
                actor.setIsUser(true);
                actorList.add(actor);
            }
            results.close();
            statement.close();
           
            statement = connection.prepareStatement(GET_SUBGROUPS_GIVEN_GROUP);
            statement.setString(1,group );
            results = statement.executeQuery();
            while(results.next()){
                String groupId = results.getString(CONTANTED_GROUP_ID);
                Actor actor = Actor.Factory.newInstance();
                actor.setActor(groupId);
                actor.setIsUser(false);
                actorList.add(actor);
            }
           
        } catch (SQLException e) {
            throw new XregistryException(e);
View Full Code Here

TOP

Related Classes of xregistry.generated.ListSubActorsGivenAGroupResponseDocument.ListSubActorsGivenAGroupResponse.Actor

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.