edu.nrao.sss.model.project
Interface SchedulingBlockProvider


public interface SchedulingBlockProvider

A provider of scheduling 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<SchedulingBlock> getAllSchedBlocks()
          Returns a list of all scheduling blocks held by this provider.
 List<SchedulingBlock> getSchedBlocks(SchedulingBlockFilter filter)
          Returns a list of scheduling blocks held by this provider that can pass through filter.
 

Method Detail

getSchedBlocks

List<SchedulingBlock> getSchedBlocks(SchedulingBlockFilter filter)
                                     throws RepositoryException
Returns a list of scheduling 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 scheduling blocks to pass.

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

getAllSchedBlocks

List<SchedulingBlock> getAllSchedBlocks()
                                        throws RepositoryException
Returns a list of all scheduling blocks held by this provider.

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


Copyright © 2009. All Rights Reserved.