public function refresh()
    {
        $operationContext = $this->getCreationContext();

        $objectData = $this->getSession()->getBinding()->getObjectService()->getObject(
            $this->getRepositoryId(),
            $this->getId(),
            $operationContext->getQueryFilterString(),
            $operationContext->isIncludeAllowableActions(),
            $operationContext->getIncludeRelationships(),
            $operationContext->getRenditionFilterString(),
            $operationContext->isIncludePolicies(),
            $operationContext->isIncludeAcls(),
            null
        );

        $this->initialize(
            $this->getSession(),
            $this->getSession()->getTypeDefinition($this->getObjectType()->getId()),
            $this->creationContext,
            $objectData
        );
    }
public function refresh()
    {
        $operationContext = $this->getCreationContext();

        $objectData = $this->getSession()->getBinding()->getObjectService()->getObject(
            $this->getRepositoryId(),
            $this->getId(),
            $operationContext->getQueryFilterString(),
            $operationContext->isIncludeAllowableActions(),
            $operationContext->getIncludeRelationships(),
            $operationContext->getRenditionFilterString(),
            $operationContext->isIncludePolicies(),
            $operationContext->isIncludeAcls(),
            null
        );

        $this->initialize(
            $this->getSession(),
            $this->getSession()->getTypeDefinition($this->getObjectType()->getId()),
            $this->creationContext,
            $objectData
        );
    }
public function refresh ( ) { $ operationContext = $ this -> getCreationContext ( ) ; $ objectData = $ this -> getSession ( ) -> getBinding ( ) -> getObjectService ( ) -> getObject ( $ this -> getRepositoryId ( ) , $ this -> getId ( ) , $ operationContext -> getQueryFilterString ( ) , $ operationContext -> isIncludeAllowableActions ( ) , $ operationContext -> getIncludeRelationships ( ) , $ operationContext -> getRenditionFilterString ( ) , $ operationContext -> isIncludePolicies ( ) , $ operationContext -> isIncludeAcls ( ) , null ) ; $ this -> initialize ( $ this -> getSession ( ) , $ this -> getSession ( ) -> getTypeDefinition ( $ this -> getObjectType ( ) -> getId ( ) ) , $ this -> creationContext , $ objectData ) ; }
Reloads this object from the repository.

@throws CmisObjectNotFoundException - if the object doesn't exist anymore in the repository
Reloads this object from the repository .