PHP Class Jackalope\Version\VersionManager

Inheritance: implements PHPCR\Version\VersionManagerInterface
Show file Open project: jackalope/jackalope

Protected Properties

Property Type Description
$factory The jackalope object factory for this object
$objectManager Jackalope\ObjectManager

Public Methods

Method Description
__construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager ) Create the version manager - there should be only one per session.
cancelMerge ( $absPath, PHPCR\Version\VersionInterface $version ) {@inheritDoc}
checkin ( $absPath ) {@inheritDoc}
checkout ( $absPath ) {@inheritDoc}
checkpoint ( $absPath ) {@inheritDoc}
createActivity ( $title ) {@inheritDoc}
createConfiguration ( $absPath, PHPCR\Version\VersionInterface $baseline ) {@inheritDoc}
doneMerge ( $absPath, PHPCR\Version\VersionInterface $version ) {@inheritDoc}
getActivity ( ) {@inheritDoc}
getBaseVersion ( $absPath ) {@inheritDoc}
getVersionHistory ( $absPath ) {@inheritDoc}
isCheckedOut ( $absPath ) {@inheritDoc}
merge ( $source, $srcWorkspace = null, $bestEffort = null, $isShallow = false ) {@inheritDoc}
removeActivity ( PHPCR\NodeInterface $activityNode ) {@inheritDoc}
removeVersionHistory ( $absPath ) {@inheritDoc}
restore ( $removeExisting, $version, $absPath = null ) {@inheritDoc}
restoreByLabel ( $absPath, $versionLabel, $removeExisting ) {@inheritDoc}
setActivity ( PHPCR\NodeInterface $activity ) {@inheritDoc}

Method Details

__construct() public method

Create the version manager - there should be only one per session.
public __construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager )
$factory Jackalope\FactoryInterface the object factory
$objectManager Jackalope\ObjectManager

cancelMerge() public method

{@inheritDoc}
public cancelMerge ( $absPath, PHPCR\Version\VersionInterface $version )
$version PHPCR\Version\VersionInterface

checkin() public method

{@inheritDoc}
public checkin ( $absPath )

checkout() public method

{@inheritDoc}
public checkout ( $absPath )

checkpoint() public method

{@inheritDoc}
public checkpoint ( $absPath )

createActivity() public method

{@inheritDoc}
public createActivity ( $title )

createConfiguration() public method

{@inheritDoc}
public createConfiguration ( $absPath, PHPCR\Version\VersionInterface $baseline )
$baseline PHPCR\Version\VersionInterface

doneMerge() public method

{@inheritDoc}
public doneMerge ( $absPath, PHPCR\Version\VersionInterface $version )
$version PHPCR\Version\VersionInterface

getActivity() public method

{@inheritDoc}
public getActivity ( )

getBaseVersion() public method

{@inheritDoc}
public getBaseVersion ( $absPath )

getVersionHistory() public method

{@inheritDoc}
public getVersionHistory ( $absPath )

isCheckedOut() public method

{@inheritDoc}
public isCheckedOut ( $absPath )

merge() public method

{@inheritDoc}
public merge ( $source, $srcWorkspace = null, $bestEffort = null, $isShallow = false )

removeActivity() public method

{@inheritDoc}
public removeActivity ( PHPCR\NodeInterface $activityNode )
$activityNode PHPCR\NodeInterface

removeVersionHistory() public method

{@inheritDoc}
public removeVersionHistory ( $absPath )

restore() public method

{@inheritDoc}
public restore ( $removeExisting, $version, $absPath = null )

restoreByLabel() public method

{@inheritDoc}
public restoreByLabel ( $absPath, $versionLabel, $removeExisting )

setActivity() public method

{@inheritDoc}
public setActivity ( PHPCR\NodeInterface $activity )
$activity PHPCR\NodeInterface

Property Details

$factory protected property

The jackalope object factory for this object
protected $factory

$objectManager protected property

protected ObjectManager,Jackalope $objectManager
return Jackalope\ObjectManager