edu.nrao.sss.model.project
Interface ProgramBlockProvider


public interface ProgramBlockProvider

A provider of program blocks.

Version Info:

$Revision: 1348 $
$Date: 2008-06-11 16:55:09 -0600 (Wed, 11 Jun 2008) $
$Author: dharland $ (last person to modify)

Since:
2008-06-11
Author:
David M. Harland

Method Summary
 List<ProgramBlock> getAllProgBlocks()
          Returns a list of all program blocks held by this provider.
 List<ProgramBlock> getProgBlocks(ProgramBlockFilter filter)
          Returns a list of program blocks held by this provider that can pass through filter.
 

Method Detail

getProgBlocks

List<ProgramBlock> getProgBlocks(ProgramBlockFilter filter)
                                 throws RepositoryException
Returns a list of program blocks held by this provider that can pass through filter. If filter is null, it will be treated as a wide-open filter, allowing all program blocks to pass.

Parameters:
filter - the filter through which a program block must pass in order to be included in the returned collection.
Returns:
a list of program blocks that can pass through filter.
Throws:
RepositoryException - if anything goes wrong while trying to fetch program blocks from this provider.

getAllProgBlocks

List<ProgramBlock> getAllProgBlocks()
                                    throws RepositoryException
Returns a list of all program blocks held by this provider.

Returns:
a list of all program blocks held by this provider. If this provider has no program blocks the returned list will be empty.
Throws:
RepositoryException - if anything goes wrong while trying to fetch program blocks from this provider.


Copyright © 2009. All Rights Reserved.