PHP Class Sulu\Bundle\ContentBundle\Command\MaintainResourceLocatorCommand

The default workspace should not be touched, because these might represent changes already entered by a user.
Inheritance: extends Symfony\Component\Console\Command\Command
Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, PHPCR\SessionInterface $liveSession, Sulu\Component\DocumentManager\MetadataFactoryInterface $metadataFactory, StructureMetadataFactory $structureMetadataFactory, PropertyEncoder $propertyEncoder )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
upgradeByParent ( PHPCR\NodeInterface $parentNode, Webspace $webspace, Localization $localization, Symfony\Component\Console\Output\OutputInterface $output )
upgradeLocale ( Webspace $webspace, Localization $localization, Symfony\Component\Console\Output\OutputInterface $output )
upgradeNode ( PHPCR\NodeInterface $node, Webspace $webspace, Localization $localization, Symfony\Component\Console\Output\OutputInterface $output, $depth )
upgradeWebspace ( Webspace $webspace, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public method

public __construct ( Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, PHPCR\SessionInterface $liveSession, Sulu\Component\DocumentManager\MetadataFactoryInterface $metadataFactory, StructureMetadataFactory $structureMetadataFactory, PropertyEncoder $propertyEncoder )
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface
$liveSession PHPCR\SessionInterface
$metadataFactory Sulu\Component\DocumentManager\MetadataFactoryInterface
$structureMetadataFactory Sulu\Component\Content\Metadata\Factory\StructureMetadataFactory
$propertyEncoder Sulu\Bundle\DocumentManagerBundle\Bridge\PropertyEncoder

configure() protected method

protected configure ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface