docs: public void publish() {
  
          CmsDirectPublishDialogAction action = new CmsDirectPublishDialogAction();
          List<CmsResource> resources = getBundleResources();
          I_CmsDialogContext context = new A_CmsDialogContext("", ContextType.appToolbar, resources) {
  
              public void focus(CmsUUID structureId) {
  
                  //Nothing to do.
              }
  
              public List<CmsUUID> getAllStructureIdsInView() {
  
                  return null;
              }
  
              public void updateUserInfo() {
  
                  //Nothing to do.
              }
          };
          action.executeAction(context);
          updateLockInformation();
  
      }