View Javadoc

1   package org.kuali.student.lum.common.client.configuration;
2   
3   import com.google.gwt.user.client.ui.Widget;
4   import org.kuali.student.common.ui.client.configurable.mvc.Configurer;
5   import org.kuali.student.common.ui.client.mvc.DataModel;
6   import org.kuali.student.common.ui.client.mvc.View;
7   
8   /**
9    * Should be implemented by classes that want to configure a view using configurer.
10   *
11   * @author Igor
12   */
13  public interface Configuration {
14      void setConfigurer(Configurer configurer);
15  
16      View getView();
17  
18      Widget asWidget();
19  
20      Enum<?> getName();
21  
22      void applyRestrictions();
23  
24      boolean checkPermission(DataModel model);
25  
26      void removeRestrictions();
27  }