|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.shredzone.repowatch.repository
Interface RepositoryDAO
- All Superinterfaces:
- BaseDAO<Repository>
- All Known Implementing Classes:
- RepositoryDAOHibImpl
@Secured(value="IS_AUTHENTICATED_ANONYMOUSLY") public interface RepositoryDAO
- extends BaseDAO<Repository>
Gives access to the repository part of the database.
- Version:
- $Revision: 317 $
| Method Summary | |
|---|---|
List<Repository> |
findAllRepositories()
Returns a list of all repositories. |
List<Repository> |
findRepositories(Domain domain)
Returns a list of all repositories for the given Domain. |
Repository |
findRepository(Domain domain,
String name,
String architecture)
Finds a repository in the Domain with the given name and
architecture. |
| Methods inherited from interface org.shredzone.repowatch.repository.BaseDAO |
|---|
delete, fetch, insert, merge |
| Method Detail |
|---|
findRepository
Repository findRepository(Domain domain, String name, String architecture)
- Finds a repository in the
Domainwith the given name and architecture.- Parameters:
domain-Domainto search for the repository.name- Name of the repository (e.g. "updates")architecture- Architecture string (e.g. "i386")- Returns:
- The
Repositorythat was found, ornullif there was none.
findAllRepositories
List<Repository> findAllRepositories()
- Returns a list of all repositories.
- Returns:
- List of all
Repositoryentities.
findRepositories
List<Repository> findRepositories(Domain domain)
- Returns a list of all repositories for the given
Domain.- Parameters:
domain-Domainto find allRepositoryfor- Returns:
- List of all
Repositoryentities for thatDomain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2007-2011 shredzone.org. All Rights Reserved.