1 package ch.odi.justblog.command; 2 3 import ch.odi.justblog.api.Blog; 4 import ch.odi.justblog.api.Entry; 5 6 /*** 7 * A session encapsulates all state that is established between the user and the application. 8 * 9 * @author oglueck 10 */ 11 public interface ISession { 12 void setBlog(Blog blog); 13 Blog getBlog(); 14 15 void setEntry(Entry entry); 16 Entry getEntry(); 17 }