code: public CmsPublishList getPublishList(CmsObject cms) throws CmsException {
  
          return m_securityManager.fillPublishList(
              cms.getRequestContext(),
              new CmsPublishList(cms.getRequestContext().getCurrentProject()));
      }
docs: Returns a publish list with all new/changed/deleted resources of the current (offline)
  project that actually get published.<p>
  
  @param cms the cms request context
  
  @return a publish list
  
  @throws CmsException if something goes wrong