getURL always returns the URL of the object itself. On a Link object this does now make much sense, since here the URL of interest is in general the getRemoteUrl.
If this is too fuzzy, I propose to add a getRemoteURL to the interface and its implementations, since this is quite often needed if working with the Link content-type.
+1 for adding getRemoteURL.
I would expect getURL to always return the url to the object itself. It will be needed for constructing special URLs, e.g. /@@edit or /@@view.
getURL
always returns the URL of the object itself. On a Link object this does now make much sense, since here the URL of interest is in general thegetRemoteUrl
.If this is too fuzzy, I propose to add a
getRemoteURL
to the interface and its implementations, since this is quite often needed if working with theLink
content-type.