Interface RepositoryDAO

All Superinterfaces:
CreationTimeAware, GenericDAO<Repository>, LastModifiedAware, TypedObject

public interface RepositoryDAO extends GenericDAO<Repository>
Data access object for repositories. This class should only used by the RepositoryManager. Plugins and other classes should use the RepositoryManager instead.
Since:
1.14
  • Method Details

    • contains

      boolean contains(NamespaceAndName namespaceAndName)
      Returns true if a repository with specified namespace and name exists in the backend.
      Parameters:
      namespaceAndName - namespace and name of the repository
      Returns:
      true if the repository exists
    • get

      Repository get(NamespaceAndName namespaceAndName)
      Returns the repository with the specified namespace and name or null if no such repository exists in the backend.
      Returns:
      repository with the specified namespace and name or null