Interface LinkCollector

All Known Implementing Classes:
DefaultLinkCollector

public interface LinkCollector
A service to collect all standard links that need to be added to a certain object.
Author:
Oliver Gierke
  • Method Details

    • getLinksFor

      Links getLinksFor(Object object)
      Returns all Links for the given object.
      Parameters:
      object - must not be null.
      Returns:
    • getLinksFor

      Links getLinksFor(Object object, Links existing)
      Returns all Links for the given object and already existing Link.
      Parameters:
      object - must not be null.
      existing - must not be null.
      Returns:
    • getLinksForNested

      Links getLinksForNested(Object object, Links existing)