Examples of WsGroupToSave


Examples of edu.internet2.middleware.grouperClient.ws.beans.WsGroupToSave

        String description = group.getDescription();

        // the name is the displayExtension
        String displayExtension = group.getName();

        WsGroupToSave wsGroupToSave = new WsGroupToSave();
        wsGroupToSave.setCreateParentStemsIfNotExist("T");
        wsGroupToSave.setWsGroupLookup(new WsGroupLookup(groupName, null));
        WsGroup wsGroup = new WsGroup();
        wsGroup.setName(groupName);
        wsGroup.setDisplayExtension(displayExtension);
        wsGroup.setDescription(description);
        wsGroupToSave.setWsGroup(wsGroup);

        new GcGroupSave().addGroupToSave(wsGroupToSave).execute();

        updateMembers(group);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.