code: private void writeGroup(Group group, Node node) throws OrganizationServiceException
     {
        try
        {
           node.setProperty(GroupProperties.JOS_LABEL, group.getLabel());
           node.setProperty(GroupProperties.JOS_DESCRIPTION, group.getDescription());
        }
        catch (RepositoryException e)
        {
           throw new OrganizationServiceException("Can not write group properties", e);
        }
     }
docs: Write group properties to the node.
  
  @param groupNode
  the node where group properties are stored
  @return {@link Group}
  @throws OrganizationServiceException
  if unexpected exception is occurred during writing