|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceCatalogProvider
A provider of source catalogs.
Version Info:
$Revision$ |
$Date$ |
$Author$ (last person to modify) |
Method Summary | |
---|---|
SourceCatalog |
findCatalogById(long id)
Returns the catalog with the given ID, or null if this provider holds no such catalog. |
List<SourceCatalog> |
findCatalogByName(String name)
Returns a list of all catalogs held by this provider with the given name. |
List<SourceCatalog> |
findCatalogsOwnedBy(long ownerId)
Returns a list of all catalogs held by this provider and owned by the user with the given ID. |
List<SourceCatalog> |
findPublicCatalogs()
Returns a list of all public catalogs held by this provider. |
List<SourceCatalog> |
getCatalogs()
Returns a list of all catalogs held by this provider. |
Method Detail |
---|
SourceCatalog findCatalogById(long id) throws RepositoryException
id
- the ID of a catalog that might be held by this provider.
RepositoryException
- if anything goes wrong while trying to fetch catalogs from this provider.List<SourceCatalog> findCatalogByName(String name) throws RepositoryException
name
- the name of one or more catalogs that might be held by this provider.
RepositoryException
- if anything goes wrong while trying to fetch catalogs from this provider.List<SourceCatalog> findCatalogsOwnedBy(long ownerId) throws RepositoryException
ownerId
- the ID of a user who might own catalogs held by this provider.
RepositoryException
- if anything goes wrong while trying to fetch catalogs from this provider.List<SourceCatalog> findPublicCatalogs() throws RepositoryException
RepositoryException
- if anything goes wrong while trying to fetch catalogs from this provider.List<SourceCatalog> getCatalogs() throws RepositoryException
RepositoryException
- if anything goes wrong while trying to fetch catalogs from this provider.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |