[MAGNOLIA-4765] Rename info.magnolia.link.LinkUtil to info.magnolia.link.LinkManager Created: 08/Jan/13  Updated: 25/Jan/23  Resolved: 25/Jan/23

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Daniel Lipp Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-7361 Be able to convert multiple links in ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

That type is actually a Business Facade providing an entry point to all link transforming which is much more than a Util. Hence it should be named ~Manager and be a singleton component without static methods.
To be backwards compatible we should

  • create the new type info.magnolia.link.LinkManager
  • move all jcr-API methods (only introduced in M5) to the new type
  • deprecated LinkUtil
  • have the content-API methods on LinkUtil call the jcr-API ones on the new type

Generated at Mon Feb 12 03:58:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.