Commit d0648abc by Antti Tonkyra

VotingBean functionality

1 parent 23492e84
package fi.insomnia.bortal.beans;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
......@@ -58,6 +59,9 @@ public class VotingBean implements VotingBeanLocal {
compoEntryFacade.create(compoEntry);
compoEntryFileFacade.create(compoEntryFile);
compoEntry.setCurrentFile(compoEntryFile);
compoEntry.setFiles(new ArrayList<CompoEntryFile>());
compoEntry.getFiles().add(compoEntryFile);
}
public Compo getCompoById(Integer compoId) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!