Examples of addMember()


Examples of org.datanucleus.metadata.IndexMetaData.addMember()

                    fkmd.addMember(fmd);
                }
                else if (md instanceof IndexMetaData)
                {
                    IndexMetaData imd = (IndexMetaData)md;
                    imd.addMember(fmd);
                }
                else if (md instanceof UniqueMetaData)
                {
                    UniqueMetaData umd = (UniqueMetaData)md;
                    umd.addMember(fmd);
View Full Code Here

Examples of org.datanucleus.metadata.InterfaceMetaData.addMember()

                    fkmd.addMember(fmd);
                }
                else if (md instanceof IndexMetaData)
                {
                    IndexMetaData imd = (IndexMetaData)md;
                    imd.addMember(fmd);
                }
                else if (md instanceof UniqueMetaData)
                {
                    UniqueMetaData umd = (UniqueMetaData)md;
                    umd.addMember(fmd);
View Full Code Here

Examples of org.datanucleus.metadata.UniqueMetaData.addMember()

                    imd.addMember(fmd);
                }
                else if (md instanceof UniqueMetaData)
                {
                    UniqueMetaData umd = (UniqueMetaData)md;
                    umd.addMember(fmd);
                }
                pushStack(fmd);
            }
            else if (localName.equals("join"))
            {
View Full Code Here

Examples of org.dspace.eperson.Group.addMember()

            {
                EPerson eperson = EPerson.find(context, eperson_ids[i]);

                if (eperson != null)
                {
                    g.addMember(eperson);
                }
            }
        }
       
        if (group_ids != null)
View Full Code Here

Examples of org.exoplatform.services.security.jaas.JAASGroup.addMember()

         Set<Principal> principals = subject.getPrincipals();

         Group roleGroup = new JAASGroup(JAASGroup.ROLES);
         for (String role : identity.getRoles())
            roleGroup.addMember(new RolePrincipal(role));

         // group principal
         principals.add(roleGroup);

         // username principal
View Full Code Here

Examples of org.foray.demo.embed.model.ProjectTeam.addMember()

     * @return The sample data.
     */
    public static ProjectTeam createSampleProjectTeam() {
        final ProjectTeam team = new ProjectTeam();
        team.setProjectName("Rule the Galaxy");
        team.addMember(new ProjectMember("Emperor Palpatine", "lead",
                "palpatine@empire.gxy"));
        team.addMember(new ProjectMember("Lord Darth Vader", "Jedi-Killer",
                "vader@empire.gxy"));
        team.addMember(new ProjectMember("Grand Moff Tarkin", "Planet-Killer",
                "tarkin@empire.gxy"));
View Full Code Here

Examples of org.geomajas.gwt.client.widget.Toolbar.addMember()

      public void onMapModelChange(MapModelEvent event) {
        Label title = new Label("Geomajas GWT: hello world");
        title.setStyleName("appTitle");
        title.setWidth(260);
        toolbar.addFill();
        toolbar.addMember(title);
      }
    });

    VLayout mapLayout = new VLayout();
    mapLayout.addMember(toolbar);
View Full Code Here

Examples of org.internna.iwebmvc.model.Role.addMember()

            for (Role role : roles) {
                Role authority = dao.findAuthority(role.getRole());
                if (authority != null) {
                    if ((user.getRoles() == null) || (!user.getRoles().contains(authority))) {
                        user.addRole(authority);
                        authority.addMember(user);
                    }
                }
            }
        }
        if (!CollectionUtils.isEmpty(user.getRoles())) {
View Full Code Here

Examples of org.jahia.services.usermanager.JahiaGroup.addMember()

                        adminGroup = jgms.createGroup(site.getID(), JahiaGroupManagerService.SITE_ADMINISTRATORS_GROUPNAME, null,
                                false);
                    }

                    // attach superadmin user (current) to administrators group...
                    adminGroup.addMember(currentUser);

                    if (!siteKey.equals(SYSTEM_SITE_KEY)) {
                        JahiaGroup sitePrivGroup = jgms.lookupGroup(site.getID(),
                                JahiaGroupManagerService.SITE_PRIVILEGED_GROUPNAME);
                        if (sitePrivGroup == null) {
View Full Code Here

Examples of org.jasig.cas.client.authentication.SimpleGroup.addMember()

                this.subject.getPrincipals().add(casPrincipal);

                // Add group containing principal as sole member
                // Supports JBoss JAAS use case
                final Group principalGroup = new SimpleGroup(this.principalGroupName);
                principalGroup.addMember(casPrincipal);
                this.subject.getPrincipals().add(principalGroup);

                // Add group principal containing role data
                final Group roleGroup = new SimpleGroup(this.roleGroupName);
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.