#81169Make page overlay methods independent from the state of the page repository
Description
Issue:
While the language id can be set with the method PageRepository::getPageOverlay at least, the state parameters $versioningPreview and $versioningWorkspaceId can’t be set to the overlay functions. The state of the page repository is taken instead.
Wanted:
The state information for an overlay should be given from the objects to overlay, not from the object that does the overlay.