View Javadoc

1   package org.appfuse.webapp.client.proxies;
2   
3   import java.util.Set;
4   
5   import org.appfuse.model.User;
6   import org.appfuse.webapp.server.locators.UserLocator;
7   
8   import com.google.web.bindery.requestfactory.shared.EntityProxy;
9   import com.google.web.bindery.requestfactory.shared.ProxyFor;
10  
11  @ProxyFor(value = User.class, locator = UserLocator.class)
12  public interface UserProxy extends EntityProxy {
13  
14      Long getId();
15  
16      String getUsername();
17  
18      String getPassword();
19  
20      String getConfirmPassword();
21  
22      String getPasswordHint();
23  
24      String getFirstName();
25  
26      String getLastName();
27  
28      String getEmail();
29  
30      String getPhoneNumber();
31  
32      String getWebsite();
33  
34      AddressProxy getAddress();
35  
36      Set<RoleProxy> getRoles();
37  
38      Integer getVersion();
39  
40      boolean isEnabled();
41  
42      boolean isAccountExpired();
43  
44      boolean isAccountLocked();
45  
46      boolean isCredentialsExpired();
47  
48      void setId(Long id);
49  
50      void setUsername(String username);
51  
52      void setPassword(String password);
53  
54      void setConfirmPassword(String confirmPassword);
55  
56      void setPasswordHint(String passwordHint);
57  
58      void setFirstName(String firstName);
59  
60      void setLastName(String lastName);
61  
62      void setEmail(String email);
63  
64      void setPhoneNumber(String phoneNumber);
65  
66      void setWebsite(String website);
67  
68      void setAddress(AddressProxy address);
69  
70      void setRoles(Set<RoleProxy> roles);
71  
72      void setVersion(Integer version);
73  
74      void setEnabled(boolean enabled);
75  
76      void setAccountExpired(boolean accountExpired);
77  
78      void setAccountLocked(boolean accountLocked);
79  
80      void setCredentialsExpired(boolean credentialsExpired);
81  
82  }