@Deprecated public class LinkCollectingAssociationHandler extends Object implements org.springframework.data.mapping.SimpleAssociationHandler
SimpleAssociationHandler
that will collect Link
s for all linkable associations.LinkCollector
Constructor and Description |
---|
LinkCollectingAssociationHandler(org.springframework.data.mapping.context.PersistentEntities entities,
Path path,
Associations associations)
Deprecated.
Creates a new
LinkCollectingAssociationHandler for the given PersistentEntities , Path and
Associations . |
Modifier and Type | Method and Description |
---|---|
void |
doWithAssociation(org.springframework.data.mapping.Association<? extends org.springframework.data.mapping.PersistentProperty<?>> association)
Deprecated.
|
org.springframework.hateoas.Links |
getLinks()
Deprecated.
Returns the links collected after the
Association has been traversed. |
LinkCollectingAssociationHandler |
nested()
Deprecated.
|
public LinkCollectingAssociationHandler(org.springframework.data.mapping.context.PersistentEntities entities, Path path, Associations associations)
LinkCollectingAssociationHandler
for the given PersistentEntities
, Path
and
Associations
.entities
- must not be null.path
- must not be null.associations
- must not be null.public LinkCollectingAssociationHandler nested()
public org.springframework.hateoas.Links getLinks()
Association
has been traversed.public void doWithAssociation(org.springframework.data.mapping.Association<? extends org.springframework.data.mapping.PersistentProperty<?>> association)
doWithAssociation
in interface org.springframework.data.mapping.SimpleAssociationHandler
Copyright © 2011–2024 Pivotal Software, Inc.. All rights reserved.