Package org.jboss.identity.idm.impl.api.model

Examples of org.jboss.identity.idm.impl.api.model.SimpleGroup


   }

   public RoleQuery setGroup(String id)
   {
      checkNotNullArgument(id, "Group id");
      this.group = new SimpleGroup(new GroupId(id));
      return this;
   }
View Full Code Here


      }
   }

   protected Group createGroupFromId(String id)
   {
      return new SimpleGroup(new GroupId(id));
   }
View Full Code Here

   {
      if (GroupId.validateId(id))
      {
         GroupId groupId = new GroupId(id);

         return new SimpleGroup(groupId);
      }
      else
      {
         return new SimpleUser(id);
      }
View Full Code Here

   }

   protected Group createGroup(IdentityObject identityObject)
   {
      String groupType = getSessionContext().getIdentityObjectTypeMapper().getGroupType(identityObject.getIdentityType());
      return new SimpleGroup(identityObject.getName(), groupType);
   }
View Full Code Here

   {
      if (GroupId.validateId(id))
      {
         GroupId groupId = new GroupId(id);

         return new SimpleGroup(groupId);
      }
      else
      {
         return new SimpleUser(id);
      }
View Full Code Here



   protected Group createGroupFromId(String id)
   {
      return new SimpleGroup(new GroupId(id));
   }
View Full Code Here

   public GroupQuery addAssociatedGroup(String id, boolean parent)
   {
      checkNotNullArgument(id, "Group id");

      Group group = new SimpleGroup(new GroupId(id));

      if (parent)
      {
         associatedParentGroups.add(group);
      }
View Full Code Here

   public GroupQuery addAssociatedGroupsIds(Collection<String> ids, boolean parent)
   {
      checkNotNullArgument(ids, "Groups ids");
      for (String groupId : ids)
      {
         Group group = new SimpleGroup(new GroupId(groupId));

         if (parent)
         {
            associatedParentGroups.add(group);
         }
View Full Code Here

   public GroupQueryBuilder addAssociatedGroup(String id, boolean parent)
   {
      checkNotNullArgument(id, "Group id");

      Group group = new SimpleGroup(new GroupId(id));

      if (parent)
      {
         associatedParentGroups.add(group);
      }
View Full Code Here

   public GroupQueryBuilder addAssociatedGroupsIds(Collection<String> ids, boolean parent)
   {
      checkNotNullArgument(ids, "Groups ids");
      for (String groupId : ids)
      {
         Group group = new SimpleGroup(new GroupId(groupId));

         if (parent)
         {
            associatedParentGroups.add(group);
         }
View Full Code Here

TOP

Related Classes of org.jboss.identity.idm.impl.api.model.SimpleGroup

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.