code: public void saveInheritedContainer(
          CmsObject cms,
          String sitePath,
          String name,
          boolean newOrder,
          List<CmsContainerElementBean> elements)
      throws CmsException {
  
          saveInheritedContainer(cms, cms.readResource(sitePath), name, newOrder, elements);
      }
docs: Saves the inheritance container information.<p>
  
  @param cms the current cms context
  @param sitePath the site path of the resource or parent folder
  @param name the inheritance name
  @param newOrder if the element have been reordered
  @param elements the elements
  
  @throws CmsException if something goes wrong