View Javadoc

1   package org.appfuse.webapp.client.proxies;
2   
3   import org.appfuse.model.Role;
4   import org.appfuse.webapp.server.locators.RoleLocator;
5   
6   import com.google.web.bindery.requestfactory.shared.EntityProxy;
7   import com.google.web.bindery.requestfactory.shared.ProxyFor;
8   
9   @ProxyFor(value = Role.class, locator = RoleLocator.class)
10  public interface RoleProxy extends EntityProxy {
11  
12      public static final String ANONYMOUS = "ANONYMOUS";
13      public static final String AUTHENTICATED = "AUTHENTICATED";
14      public static final String FULLY_AUTHENTICATED = "FULLY_AUTHENTICATED";
15      public static final String ROLE_USER = "ROLE_USER";
16      public static final String ROLE_ADMIN = "ROLE_ADMIN";
17  
18      Long getId();
19  
20      String getName();
21  
22      String getDescription();
23  
24      void setId(Long id);
25  
26      void setName(String name);
27  
28      void setDescription(String description);
29  
30  }