public static com.liferay.portal.model.LayoutSetBranchSoap[] getLayoutSetBranches(
      long groupId, boolean privateLayout) throws RemoteException {
    try {
      java.util.List<com.liferay.portal.model.LayoutSetBranch> returnValue =
          LayoutSetBranchServiceUtil.getLayoutSetBranches(groupId, privateLayout);

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

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