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