Interface AgenticScopeStore


public interface AgenticScopeStore
Service Provider Interface for AgenticScope persistence. Implementations must provide ways to store and retrieve AgenticScope instances.
  • Method Details

    • save

      boolean save(AgenticScopeKey key, DefaultAgenticScope agenticScope)
      Saves or updates a AgenticScope instance.
      Parameters:
      agenticScope - the AgenticScope to persist
      Returns:
      true if the operation was successful
    • load

      Loads a AgenticScope by its ID.
      Parameters:
      key - the ID of the AgenticScope to load
      Returns:
      an Optional containing the AgenticScope if found, empty otherwise
    • delete

      boolean delete(AgenticScopeKey key)
      Deletes a AgenticScope by its ID.
      Parameters:
      key - the ID of the AgenticScope to delete
      Returns:
      true if the AgenticScope was found and deleted
    • getAllKeys

      Set<AgenticScopeKey> getAllKeys()
      Gets all available AgenticScope .
      Returns:
      a Set of all AgenticScope keys in the persistence store