Examples of EntityGroupImpl


Examples of org.jasig.portal.groups.EntityGroupImpl

  protected IEntityGroup makeGroup(GroupShadow shadow) throws GroupsException{
    IEntityGroup group = null;
    if ( shadow != null )
    {
        group = new EntityGroupImpl(shadow.key,iperson);
        group.setDescription(shadow.description);
        group.setName(shadow.name);
    }
    return group;
  }
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

* @return org.jasig.portal.groups.IEntityGroup
*/
private IEntityGroup newInstance (String newKey, Class newType, String newName)
throws GroupsException
{
    EntityGroupImpl egi = new EntityGroupImpl(newKey, newType);
    egi.primSetName(newName);
    return egi;
}
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

  protected IEntityGroup makeGroup(GroupShadow shadow) throws GroupsException{
    IEntityGroup group = null;
    if ( shadow != null )
    {
        group = new EntityGroupImpl(shadow.key,iperson);
        group.setDescription(shadow.description);
        group.setName(shadow.name);
    }
    return group;
  }
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

* @return org.jasig.portal.groups.IEntityGroup
*/
private IEntityGroup newInstance (String newKey, Class newType, String newName)
throws GroupsException
{
    EntityGroupImpl egi = new EntityGroupImpl(newKey, newType);
    egi.primSetName(newName);
    return egi;
}
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

  protected IEntityGroup makeGroup(GroupShadow shadow) throws GroupsException{
    IEntityGroup group = null;
    if ( shadow != null )
    {
        group = new EntityGroupImpl(shadow.key,iperson);
        group.setDescription(shadow.description);
        group.setName(shadow.name);
    }
    return group;
  }
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

     *
     * @param wsGroup
     * @return the group
     */
    protected IEntityGroup createUportalGroupFromGrouperGroup(WsGroup wsGroup) {
        IEntityGroup iEntityGroup = new EntityGroupImpl(wsGroup.getName(),
                IPerson.class);

        // need to set the group name and description to the actual
        // display name and description
        iEntityGroup.setName(wsGroup.getDisplayName());
        iEntityGroup.setDescription(wsGroup.getDescription());
        return iEntityGroup;
    }
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

* @return org.jasig.portal.groups.IEntityGroup
*/
private IEntityGroup newInstance (String newKey, Class newType, String newName)
throws GroupsException
{
    EntityGroupImpl egi = new EntityGroupImpl(newKey, newType);
    egi.primSetName(newName);
    return egi;
}
View Full Code Here

Examples of org.jasig.portal.groups.EntityGroupImpl

            if (childKey.endsWith(baseDn)) {
                // Make sure the one we found isn't already in the groupsSet; 
                // NOTE!... this test takes advantage of the implementation of
                // equals() on LdapRecord, which states that 2 records with the
                // same group key are equal.
                IEntityGroup group = new EntityGroupImpl(childKey, IPerson.class);
                List<String> list = Collections.emptyList();
                LdapRecord proxy = new LdapRecord(group, list);
                if (!groupsSet.contains(proxy)) {
                    rslt = true;
                    break;
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.