code: protected boolean abortPublishJob(CmsPublishJobInfoBean publishJob) {
  
          if (OpenCms.getMemoryMonitor().getCachedPublishJob(publishJob.getPublishHistoryId().toString()) != null) {
              // remove publish job from cache
              OpenCms.getMemoryMonitor().uncachePublishJob(publishJob);
              return true;
          } else {
              return false;
          }
      }
docs: Aborts the given publish job.<p>
  
  @param publishJob the publish job to abort
  
  @return <code>true</code> if the publish job was found