refactor(core): delegate publish operations to ContentPublishOperationService

Replaces publishing method implementations with delegations:
- Publish/Unpublish
- PerformScheduledPublish
- PublishBranch
- GetContentScheduleByContentId (int and Guid overloads)
- PersistContentSchedule
- GetContentSchedulesByIds
- GetContentForExpiration/Release
- IsPathPublishable/IsPathPublished
- SendToPublication
- GetPublishedChildren

Removes ~1600 lines of implementation that now lives in
ContentPublishOperationService:

Private/internal methods deleted:
- CommitDocumentChanges (internal wrapper)
- CommitDocumentChangesInternal (~330 lines)
- PerformScheduledPublishingExpiration
- PerformScheduledPublishingRelease
- PublishBranch (internal overload)
- PublishBranchItem
- PublishBranch_PublishCultures
- PublishBranch_ShouldPublish
- EnsureCultures
- ProvidedCulturesIndicatePublishAll
- GetPublishedDescendants
- GetPublishedDescendantsLocked
- StrategyCanPublish
- StrategyPublish
- StrategyCanUnpublish
- StrategyUnpublish
- IsDefaultCulture
- IsMandatoryCulture
- GetLanguageDetailsForAuditEntry (overload)

Kept HasUnsavedChanges (used by MoveToRecycleBin).

ContentService.cs reduced from 3037 lines to 1443 lines.

Part of ContentService refactoring Phase 5.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-23 20:08:55 +00:00
parent ea4602ec15
commit 6b584497a0

File diff suppressed because it is too large Load Diff