code: public CmsPublishList getPublishListAll(
          CmsObject cms,
          List<CmsResource> directPublishResources,
          boolean directPublishSiblings,
          boolean isUserPublishList) throws CmsException {
  
          CmsPublishList pubList = new CmsPublishList(true, directPublishResources, directPublishSiblings);
          pubList.setUserPublishList(isUserPublishList);
  
          return m_securityManager.fillPublishList(cms.getRequestContext(), pubList);
      }
docs: Returns a publish list with all the given resources, filtered only by state.<p>
  
  @param cms the cms request context
  @param directPublishResources the {@link CmsResource} objects which will be directly published
  @param directPublishSiblings <code>true</code>, if all eventual siblings of the direct
  published resources should also get published
  @param isUserPublishList if true, the publish list consists of resources directly selected by the user to publish
  
  @return a publish list
  
  @throws CmsException if something goes wrong