code: @Action(invokeOn = InvokeOn.OBJECT_AND_COLLECTION)
      @ActionLayout(
              describedAs = "Toggle, for testing (direct) bulk actions"
      )
      public void toggleForBulkActions() {
          boolean flag = getFlag() != null? getFlag(): false;
          setFlag(!flag);
      }
docs: region > toggleForBulkActions