Commit de l'installateur izPack
This commit is contained in:
@@ -238,11 +238,12 @@ public class ArticleManagerBean implements IArticleManager, Serializable {
|
||||
return users;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void delegateArticleToReferee(Integer articleId, String refereeId, String memberId){
|
||||
try{
|
||||
ut.begin();
|
||||
Article article = this.getArticle(articleId);
|
||||
//si la delegation est d<>j<EFBFBD> faite , on remplace le referee
|
||||
// If there's already a delegation, replace the referee with the new one
|
||||
Query q = em.createQuery("from Delegation where article = ?");
|
||||
q.setParameter(1, article);
|
||||
List<Delegation> delegations = q.getResultList();
|
||||
|
||||
Reference in New Issue
Block a user