public static com.liferay.portal.model.LayoutSetBranchSoap addLayoutSetBranch(
      long groupId,
      boolean privateLayout,
      java.lang.String name,
      java.lang.String description,
      boolean master,
      long copyLayoutSetBranchId,
      com.liferay.portal.service.ServiceContext serviceContext)
      throws RemoteException {
    try {
      com.liferay.portal.model.LayoutSetBranch returnValue =
          LayoutSetBranchServiceUtil.addLayoutSetBranch(
              groupId,
              privateLayout,
              name,
              description,
              master,
              copyLayoutSetBranchId,
              serviceContext);

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

      throw new RemoteException(e.getMessage());
    }
  }
  public static void deleteLayoutSetBranch(long layoutSetBranchId) throws RemoteException {
    try {
      LayoutSetBranchServiceUtil.deleteLayoutSetBranch(layoutSetBranchId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  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());
    }
  }
  public static com.liferay.portal.model.LayoutSetBranchSoap mergeLayoutSetBranch(
      long layoutSetBranchId,
      long mergeLayoutSetBranchId,
      com.liferay.portal.service.ServiceContext serviceContext)
      throws RemoteException {
    try {
      com.liferay.portal.model.LayoutSetBranch returnValue =
          LayoutSetBranchServiceUtil.mergeLayoutSetBranch(
              layoutSetBranchId, mergeLayoutSetBranchId, serviceContext);

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

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