Betty v1.1.0

christophedelory.betty.model.rank
Interface RankModel

All Superinterfaces:
Model
All Known Implementing Classes:
DefaultRankModel

public interface RankModel
extends Model

The definition of a rank processing model.

Version:
$Revision$
Author:
Christophe Delory

Method Summary
 List<PlayerRank> processPhasePlayerRanks(LocalPhase dbPhase, Collection<LocalEvent> dbEvents)
          Processes all player ranks in the specified phase.
 
Methods inherited from interface christophedelory.betty.model.Model
setParameters
 

Method Detail

processPhasePlayerRanks

List<PlayerRank> processPhasePlayerRanks(LocalPhase dbPhase,
                                         Collection<LocalEvent> dbEvents)
                                         throws Exception
Processes all player ranks in the specified phase.

Parameters:
dbPhase - a championship's phase. Should not be null.
dbEvents - the list of phase's events. May be null (and thus will be built by the method).
Returns:
a list of player ranks. Should not be null.
Throws:
NullPointerException - if dbPhase is null.
Exception - if any unexpected error occurs.

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.