public class CompetitionService extends Object
| Constructor and Description |
|---|
CompetitionService() |
| Modifier and Type | Method and Description |
|---|---|
es.uvigo.esei.dgss.teamB.ligaaas.domain.entities.Competition |
getCompetition(String name)
Returns a competition identified by name as a parameter.If an administrator
tries to access a competition that does not manage, an
EJBAccessException will be thrown. |
public es.uvigo.esei.dgss.teamB.ligaaas.domain.entities.Competition getCompetition(String name)
EJBAccessException will be thrown.name - the name of a competition which identified it.null if there is no
competition with the specified name.javax.ejb.EJBAccessException - if the current administrator does not manage the competition.Copyright © 2017. All rights reserved.