protected function createService(core_kernel_classes_Resource $item, tao_models_classes_service_StorageDirectory $destinationDirectory) {
        $service = new tao_models_classes_service_ServiceCall(new core_kernel_classes_Resource(taoItems_models_classes_ItemsService::INSTANCE_SERVICE_ITEM_RUNNER));
        $service->addInParameter(new tao_models_classes_service_ConstantParameter(
            new core_kernel_classes_Resource(taoItems_models_classes_ItemsService::INSTANCE_FORMAL_PARAM_ITEM_PATH),
            $destinationDirectory->getId()
        ));
        $service->addInParameter(new tao_models_classes_service_ConstantParameter(
            new core_kernel_classes_Resource(taoItems_models_classes_ItemsService::INSTANCE_FORMAL_PARAM_ITEM_URI),
            $item
        ));
        
        return $service;        
    }
protected function createService(core_kernel_classes_Resource $item, tao_models_classes_service_StorageDirectory $destinationDirectory) {
        $service = new tao_models_classes_service_ServiceCall(new core_kernel_classes_Resource(taoItems_models_classes_ItemsService::INSTANCE_SERVICE_ITEM_RUNNER));
        $service->addInParameter(new tao_models_classes_service_ConstantParameter(
            new core_kernel_classes_Resource(taoItems_models_classes_ItemsService::INSTANCE_FORMAL_PARAM_ITEM_PATH),
            $destinationDirectory->getId()
        ));
        $service->addInParameter(new tao_models_classes_service_ConstantParameter(
            new core_kernel_classes_Resource(taoItems_models_classes_ItemsService::INSTANCE_FORMAL_PARAM_ITEM_URI),
            $item
        ));
        
        return $service;        
    }
protected function createService ( core_kernel_classes_Resource $ item , tao_models_classes_service_StorageDirectory $ destinationDirectory ) { $ service = new tao_models_classes_service_ServiceCall ( new core_kernel_classes_Resource ( taoItems_models_classes_ItemsService :: INSTANCE_SERVICE_ITEM_RUNNER ) ) ; $ service -> addInParameter ( new tao_models_classes_service_ConstantParameter ( new core_kernel_classes_Resource ( taoItems_models_classes_ItemsService :: INSTANCE_FORMAL_PARAM_ITEM_PATH ) , $ destinationDirectory -> getId ( ) ) ) ; $ service -> addInParameter ( new tao_models_classes_service_ConstantParameter ( new core_kernel_classes_Resource ( taoItems_models_classes_ItemsService :: INSTANCE_FORMAL_PARAM_ITEM_URI ) , $ item ) ) ; return $ service ; }
Create the item's ServiceCall.

@param core_kernel_classes_Resource $item
@param tao_models_classes_service_StorageDirectory $destinationDirectory
@return tao_models_classes_service_ServiceCall
Create the item s ServiceCall .