Interface AssociativeStore<S,SID extends Serializable>

All Superinterfaces:
Store<SID>
All Known Subinterfaces:
ContentStore<S,SID>
All Known Implementing Classes:
StoreImpl

public interface AssociativeStore<S,SID extends Serializable> extends Store<SID>
Deprecated.
This class is deprecated. Use AssociativeStore instead.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    associate(S entity, PropertyPath propertyPath, SID id)
    Deprecated.
    Associates the resource (identified by id) with entity.
    void
    associate(S entity, SID id)
    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 exists
    org.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 exists
    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
    void
    unassociate(S entity)
    Deprecated.
    Unassociates the resource from entity
    void
    unassociate(S entity, PropertyPath propertyPath)
    Deprecated.
    Unassociates the resource from entity

    Methods inherited from interface org.springframework.content.commons.repository.Store

    getResource
  • Method Details

    • getResource

      org.springframework.core.io.Resource getResource(S entity)
      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

      org.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 exists
      Parameters:
      entity - the entity associated with resource
      propertyPath - 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 resource
      propertyPath - the property path of the associated resource
      Returns:
      resource
    • associate

      void associate(S entity, SID id)
      Deprecated.
      Associates the resource (identified by id) with entity.
      Parameters:
      entity - the target of the association
      id - the id of the resource to be associated
    • associate

      void associate(S entity, PropertyPath propertyPath, SID id)
      Deprecated.
      Associates the resource (identified by id) with entity.
      Parameters:
      entity - the target of the association
      propertyPath - the property path to associate the resource to
      id - the id of the resource to be associated
    • unassociate

      void unassociate(S entity)
      Deprecated.
      Unassociates the resource from entity
      Parameters:
      entity - the target of the unassociation
    • unassociate

      void unassociate(S entity, PropertyPath propertyPath)
      Deprecated.
      Unassociates the resource from entity
      Parameters:
      entity - the target of the unassociation
      propertyPath - the property path to unassociate the resource from