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

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


   private void prepare()
   {
      if (groupId == null && (groupName != null && groupType != null))
      {
         groupId = new GroupId(groupName, groupType);
      }
   }
View Full Code Here


      throw new NotYetImplementedException();
   }

   public GroupQuery setId(String id)
   {
      groupId = new GroupId(id);
      return this;
   }
View Full Code Here

      return this;
   }

   public GroupQuery setNameAndType(String name, String type)
   {
      groupId = new GroupId(name, type);
      groupName = name;
      groupType = type;

      return this;
   }
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

   private void prepare()
   {
      if (groupId == null && (groupName != null && groupType != null))
      {
         groupId = new GroupId(groupName, groupType);
      }

   }
View Full Code Here

      return this;
   }

   public GroupQueryBuilder setId(String id)
   {
      groupId = new GroupId(id);
      return this;
   }
View Full Code Here

      return this;
   }

   public GroupQueryBuilder setNameAndType(String name, String type)
   {
      groupId = new GroupId(name, type);
      groupName = name;
      groupType = type;

      return this;
   }
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.GroupId

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.