Examples of GroupImpl


Examples of org.apache.rave.portal.model.impl.GroupImpl

        owner = new PersonImpl();
        owner.setDisplayName(ownerDisplayName);
        owner.setGivenName(ownerGivenName);
        members.add(ownerId);

        group = new GroupImpl();
        group.setDescription(description);
        group.setTitle(title);
        group.setOwnerId(ownerId);
        group.setMemberIds(members);
    }
View Full Code Here

Examples of org.apache.rave.portal.model.impl.GroupImpl

    }

    @Test(expected = IllegalArgumentException.class)
    public void notFound() {
        new JpaConverter(converters);
        JpaConverter.getInstance().convert(new GroupImpl(), Group.class);
    }
View Full Code Here

Examples of org.exist.security.internal.GroupImpl

                    public void execute(final Map<String, Group> principalDb) throws ConfigurationException {
                       
                        if(name != null && !principalDb.containsKey(name)) {

                            //Group group = instantiateGroup(this, conf);
                            final GroupImpl group = new GroupImpl(r, conf);

                            getSecurityManager().addGroup(group.getId(), group);
                            principalDb.put(group.getName(), group);

                            //set collection
                            if(group.getId() > 0) {
                                ((AbstractPrincipal)group).setCollection(broker, collectionGroups);
                            }
                        }
                    }
                });
View Full Code Here

Examples of org.exist.security.internal.GroupImpl

                final Integer id = conf.getPropertyInteger("id");
               
                if (id != null && !getSecurityManager().hasGroup(id)) {
                   
                    //G group = instantiateGroup(this, conf, true);
                    final GroupImpl group = new GroupImpl(this, conf);
                    group.removed = true;
                   
                    getSecurityManager().addGroup(group.getId(), group);
                }
            }
        }
    }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.GroupImpl

   /**
    * {@inheritDoc}
    */
   public final Group createGroupInstance()
   {
      return new GroupImpl();
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.GroupImpl

                     LOG.debug("Group " + child + ", parent  " + parent + " already exists. ");
                  }
                  throw new Exception("Group " + child + ", parent  " + parent + " already exists. ");
               }

               GroupImpl group = (GroupImpl)child;
               if (broadcast)
               {
                  preSave(group, true);
               }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.GroupImpl

      return buffer.toString();
   }

   protected void setId(Group parent, Group g)
   {
      GroupImpl group = (GroupImpl)g;
      if (parent == null)
      {
         group.setId("/" + group.getGroupName());
         return;
      }
      group.setId(parent.getId() + "/" + group.getGroupName());
      group.setParentId(parent.getId());
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.GroupImpl

    */
   public final Group attributesToGroup(Attributes attrs)
   {
      if (attrs == null || attrs.size() == 0)
         return null;
      Group group = new GroupImpl();
      group.setGroupName(getAttributeValueAsString(attrs, groupNameAttr));
      group.setDescription(getAttributeValueAsString(attrs, ldapDescriptionAttr));
      group.setLabel(getAttributeValueAsString(attrs, groupLabelAttr));
      return group;
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.GroupImpl

   /**
    * {@inheritDoc}
    */
   public final Group createGroupInstance()
   {
      return new GroupImpl();
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.GroupImpl

                     LOG.debug("Group " + child + ", parent  " + parent + " already exists. ");
                  }
                  throw new Exception("Group " + child + ", parent  " + parent + " already exists. ");
               }

               GroupImpl group = (GroupImpl)child;
               if (broadcast)
               {
                  preSave(group, true);
               }
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.