Examples of PrincipalBo


Examples of org.kuali.rice.kim.impl.identity.principal.PrincipalBo

    getBusinessObjectService().save(name);
   
    // create and populate principal
    Long principalId = sas.getNextAvailableSequenceNumber(KimConstants.SequenceNames.KRIM_PRNCPL_ID_S,
        IdentityManagementPersonDocument.class);
    PrincipalBo principalBo = new PrincipalBo();
    principalBo.setActive(true);
    principalBo.setPrincipalId(String.valueOf(principalId));
    principalBo.setPrincipalName(principalName);
    principalBo.setEntityId(String.valueOf(entityId));
   
    KimApiServiceLocator.getIdentityService().addPrincipalToEntity(PrincipalBo.to(principalBo));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.