docs: public String getConfirmationMessage(boolean state) {
  
          if (getDialogAction(getCms()) == TYPE_LOCKS) {
              return "";
          }
          if (state) {
              if (isMultiOperation()) {
                  return key(Messages.GUI_LOCK_MULTI_LOCK_CONFIRMATION_0);
              } else {
                  return key(Messages.GUI_LOCK_CONFIRMATION_0);
              }
          }
          switch (getDialogAction(getCms())) {
              case TYPE_LOCK:
                  if (isMultiOperation()) {
                      return key(Messages.GUI_LOCK_MULTI_INFO_LOCKEDSUBRESOURCES_0);
                  } else {
                      return key(Messages.GUI_LOCK_INFO_LOCKEDSUBRESOURCES_0);
                  }
              case TYPE_LOCKCHANGE:
                  return key(Messages.GUI_LOCK_CHANGE_CONFIRMATION_0);
              case TYPE_UNLOCK:
                  if (isMultiOperation()) {
                      return key(Messages.GUI_LOCK_MULTI_UNLOCK_CONFIRMATION_0);
                  } else {
                      return key(Messages.GUI_LOCK_UNLOCK_CONFIRMATION_0);
                  }
              case TYPE_LOCKS:
              default:
                  return "";
          }
      }