code: public List<CmsResource> getAllResources() {
  
          List<CmsResource> result = Lists.newArrayList();
          result.add(m_primaryResource);
          for (CmsResource res : getSecondaryResources()) {
              result.add(res);
          }
          return result;
      }
docs: Gets the list of all resources of this group (primary and secondary).<p>
  
  @return the list of all resources of this group