Interface AssociativeStore<S,SID extends Serializable>
- All Superinterfaces:
Store<SID>
- All Known Subinterfaces:
ContentStore<S,
SID>
- All Known Implementing Classes:
StoreImpl
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
associate
(S entity, PropertyPath propertyPath, SID id) Deprecated.Associates the resource (identified by id) with entity.void
Deprecated.Associates the resource (identified by id) with entity.org.springframework.core.io.Resource
getResource
(S entity) Deprecated.Returns the resource associated with the given entity, or null if no association existsorg.springframework.core.io.Resource
getResource
(S entity, PropertyPath propertyPath) Deprecated.Returns the resource associated with the given property for entity, or null if no association existsorg.springframework.core.io.Resource
getResource
(S entity, PropertyPath propertyPath, GetResourceParams params) Deprecated.Returns the resource associated with the given property for entity, or null if no association existsvoid
unassociate
(S entity) Deprecated.Unassociates the resource from entityvoid
unassociate
(S entity, PropertyPath propertyPath) Deprecated.Unassociates the resource from entityMethods inherited from interface org.springframework.content.commons.repository.Store
getResource
-
Method Details
-
getResource
Deprecated.Returns the resource associated with the given entity, or null if no association exists- Parameters:
entity
- the entity associated with resource- Returns:
- resource
-
getResource
Deprecated.Returns the resource associated with the given property for entity, or null if no association exists- Parameters:
entity
- the entity associated with resourcepropertyPath
- the property path of the associated resource- Returns:
- resource
-
getResource
org.springframework.core.io.Resource getResource(S entity, PropertyPath propertyPath, GetResourceParams params) Deprecated.Returns the resource associated with the given property for entity, or null if no association exists- Parameters:
entity
- the entity associated with resourcepropertyPath
- the property path of the associated resource- Returns:
- resource
-
associate
Deprecated.Associates the resource (identified by id) with entity.- Parameters:
entity
- the target of the associationid
- the id of the resource to be associated
-
associate
Deprecated.Associates the resource (identified by id) with entity.- Parameters:
entity
- the target of the associationpropertyPath
- the property path to associate the resource toid
- the id of the resource to be associated
-
unassociate
Deprecated.Unassociates the resource from entity- Parameters:
entity
- the target of the unassociation
-
unassociate
Deprecated.Unassociates the resource from entity- Parameters:
entity
- the target of the unassociationpropertyPath
- the property path to unassociate the resource from
-
AssociativeStore
instead.