1 20 21 package com.methodhead.reg; 22 23 import java.util.List ; 24 import com.methodhead.util.OperationContext; 25 26 public interface RegPolicy { 27 28 30 32 34 37 public User newRegUser(); 38 39 45 public List getRoleOptions( 46 OperationContext op ); 47 48 51 public void sendPassword( 52 User user, 53 String password, 54 OperationContext op ); 55 56 public String isListUsersAuthorized( 57 OperationContext op ); 58 59 public String isDeleteUserAuthorized( 60 OperationContext op ); 61 62 public String isSaveUserAuthorized( 63 OperationContext op ); 64 65 public String isSaveNewUserAuthorized( 66 OperationContext op ); 67 68 public String isEditUserAuthorized( 69 OperationContext op ); 70 71 public String isNewUserAuthorized( 72 OperationContext op ); 73 74 public String isRolesFormAuthorized( 75 OperationContext op ); 76 77 public String isRolesAuthorized( 78 OperationContext op ); 79 } 80 | Popular Tags |