This project has retired. For details please refer to its Attic page.
ArchivaDAO

org.apache.maven.archiva.database
Interface ArchivaDAO

Package class diagram package ArchivaDAO
All Known Implementing Classes:
JdoArchivaDAO

public interface ArchivaDAO

ArchivaDAO - The interface for all content within the database.


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 long count(SimpleConstraint constraint)
           
 ArtifactDAO getArtifactDAO()
           
 ProjectModelDAO getProjectModelDAO()
           
 RepositoryContentStatisticsDAO getRepositoryContentStatisticsDAO()
           
 RepositoryProblemDAO getRepositoryProblemDAO()
           
 java.util.List<?> query(SimpleConstraint constraint)
          Perform a simple query against the database.
 java.lang.Object save(java.io.Serializable obj)
          Perform a simple save of a peristable object to the database.
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

query

java.util.List<?> query(SimpleConstraint constraint)
Perform a simple query against the database.

Parameters:
constraint - the constraint to use.
Returns:
the List of results.

save

java.lang.Object save(java.io.Serializable obj)
Perform a simple save of a peristable object to the database.

Parameters:
o - the serializable (persistable) object to save.
Returns:
the post-serialized object.

getArtifactDAO

ArtifactDAO getArtifactDAO()

getProjectModelDAO

ProjectModelDAO getProjectModelDAO()

getRepositoryProblemDAO

RepositoryProblemDAO getRepositoryProblemDAO()

getRepositoryContentStatisticsDAO

RepositoryContentStatisticsDAO getRepositoryContentStatisticsDAO()

count

long count(SimpleConstraint constraint)