Пример #1
0
 ManagedRole(Role role) {
   super(role.getName());
   m_role = role;
   super.setDescription(role.getDescription());
   super.setDefaultUser(getWebUser(role.getSupervisor()));
   super.setMembershipGroup(getWebGroup(role.getMembershipGroup()));
 }
Пример #2
0
 @Override
 public void setMembershipGroup(WebGroup memberShipGroup) {
   super.setMembershipGroup(memberShipGroup);
   m_flags.set(GROUP);
 }
Пример #3
0
 ManagedRole(WebRole webRole) {
   super(webRole.getName());
   super.setDescription(webRole.getDescription());
   super.setDefaultUser(webRole.getDefaultUser());
   super.setMembershipGroup(webRole.getMembershipGroup());
 }