public static com.liferay.portal.model.GroupSoap getGroup(long groupId) throws RemoteException {
    try {
      com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(groupId);

      return com.liferay.portal.model.GroupSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static com.liferay.portal.model.GroupSoap getGroup(long companyId, java.lang.String name)
      throws RemoteException {
    try {
      com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(companyId, name);

      return com.liferay.portal.model.GroupSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static com.liferay.portal.model.GroupSoap updateGroup(
      long groupId, java.lang.String typeSettings) throws RemoteException {
    try {
      com.liferay.portal.model.Group returnValue =
          GroupServiceUtil.updateGroup(groupId, typeSettings);

      return com.liferay.portal.model.GroupSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static com.liferay.portal.model.GroupSoap addGroup(
      java.lang.String name,
      java.lang.String description,
      int type,
      java.lang.String friendlyURL,
      boolean site,
      boolean active,
      com.liferay.portal.service.ServiceContext serviceContext)
      throws RemoteException {
    try {
      com.liferay.portal.model.Group returnValue =
          GroupServiceUtil.addGroup(
              name, description, type, friendlyURL, site, active, serviceContext);

      return com.liferay.portal.model.GroupSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }