Package com.defaultcompany.organization

Examples of com.defaultcompany.organization.DefaultCompanyRoleResolutionContext


   
    return comp;
  }
 
  public void configure(){
    DefaultCompanyRoleResolutionContext brrrc = new DefaultCompanyRoleResolutionContext();
   
    String groupOptionStr = groupOption.getSelection().getActionCommand();
   
    if(groupOptionStr.equals("relativeGroup")){
      brrrc.setRelativeRole((Role) definedRoleInputter.getValue());
      brrrc.setGroupId(null);       
    }else if(groupOptionStr.equals("specifiedGroup")){
      brrrc.setGroupId(""+groupInputter.getValue());
      brrrc.setRelativeRole(null);
    }else{
      brrrc.setGroupId(null);
      brrrc.setRelativeRole(null);
    }
   
    String roleOptionStr = roleOption.getSelection().getActionCommand();
   
    if(roleOptionStr.equals("specifiedRole")){
      brrrc.setRoleId(""+roleInputter.getValue());
    }else{
      brrrc.setRoleId(null);
    }
   
    setValue(brrrc);
    onValueChanged();
  }
View Full Code Here

TOP

Related Classes of com.defaultcompany.organization.DefaultCompanyRoleResolutionContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.