/**
	 * @see	wcf\system\cache\builder\AbstractCacheBuilder::rebuild()
	 */
	public function rebuild(array $parameters) {
		$sitemapList = new SitemapList();
		$sitemapList->sqlOrderBy = "sitemap.showOrder ASC";
		$sitemapList->readObjects();
		
		return $sitemapList->getObjects();
	}
 /**
  * @see wcf\system\cache\ICacheBuilder::getData()
  */
 public function getData(array $cacheResource)
 {
     $sitemapList = new SitemapList();
     $sitemapList->getConditionBuilder()->add("sitemap.packageID IN (?)", array(PackageDependencyHandler::getInstance()->getDependencies()));
     $sitemapList->sqlLimit = 0;
     $sitemapList->sqlOrderBy = "sitemap.showOrder ASC";
     $sitemapList->readObjects();
     return $sitemapList->getObjects();
 }