Examples of Group

@author Robert "kebernet" Cooper
  • org.sbml.jsbml.ext.groups.Group
    @author Nicolas Rodriguez @author Clemens Wrzodek @since 1.0 @version $Rev: 1639 $
  • org.sbml.jsbml.ext.render.Group
    @author Eugen Netz @author Alexander Diamantikos @author Jakob Matthes @author Jan Rudolph @version $Rev: 1639 $ @since 1.0 @date 08.05.2012
  • org.springframework.data.neo4j.Group
  • org.springframework.data.neo4j.aspects.Group
  • org.springframework.data.neo4j.model.Group
  • org.structr.core.entity.Group
    @author amorgner
  • org.uberfire.backend.group.Group
  • org.voltdb.catalog.Group
  • org.wildfly.clustering.group.Group
    Represents a groups of nodes. @author Paul Ferraro
  • org.xith3d.scenegraph.Group
  • org.zkoss.zul.Group
    Adds the ability for single level grouping to the Grid.

    Available in ZK PE and EE.

    Event:

    1. onOpen is sent when this listgroup is opened or closed by user.

    Default {@link #getZclass}: z-group.

    Note: All the child of this component are automatically applied the group-cell CSS, if you don't want this CSS, you can invoke the {@link Label#setSclass(String)}after the child added. @author jumperchen @since 3.5.0

  • project.entities.institute.Group
  • projectatlast.group.Group
  • quickfix.Group
  • ro.isdc.wro.model.group.Group
    A group is an entity holding a list of resources.

    This class is thread safe. @author Alex Objelean @created Created on Oct 30, 2008

  • ru.org.linux.group.Group
  • simpleserver.config.xml.Group
  • sk.netmap.bo.Group
    BO group of servers @author Matej Zachar, $Date: 2006-04-23 20:42:47 +0000 (Ne, 23 apr 2006) $
  • storm.trident.graph.Group
  • tripleplay.ui.Group
    A grouping element that contains other elements and lays them out according to a layout policy.
  • ua.ck.geekhub.entity.Group
    Created by Vladimir on 3/11/14.
  • ucar.nc2.Group
    A Group is a logical collection of Variables. The Groups in a Dataset form a hierarchical tree, like directories on a disk. A Group has a name and optionally a set of Attributes. There is always at least one Group in a dataset, the root Group, whose name is the empty string.

    Immutable if setImmutable() was called. @author caron

  • xregistry.group.Group
    Represent a Group, group may have Users and child groups. The symantics of child groups are resolved by assuming of foo is in G1 and G1 is in G2, it is same as foo is in G1 (G1,G2 are groups and foo is a user). @author Srinath Perera(hperera@cs.indiana.edu)
  • zendeskapi.models.groups.Group
    @author jgroth

  • Examples of org.apache.shindig.social.opensocial.model.Group

          JSONArray groups = db.getJSONObject(GROUPS_TABLE).getJSONArray(user);

          for (int i = 0; i < groups.length(); i++) {
            JSONObject group = groups.getJSONObject(i);

            Group groupObj = filterFields(group, fields, Group.class);
            result.add(groupObj);
          }
        } catch (JSONException je) {
          throw new ProtocolException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, je.getMessage(), je);
        }
    View Full Code Here

    Examples of org.apache.solr.client.solrj.response.Group

      public void testConvertGroupQueryResponseToGroupResultList() {
        GroupResponse groupResponse = Mockito.mock(GroupResponse.class);
        Query query = Mockito.mock(Query.class);
        SolrTemplate solrTemplate = Mockito.mock(SolrTemplate.class);
        GroupCommand groupCommand1 = Mockito.mock(GroupCommand.class);
        Group group1_1 = Mockito.mock(Group.class);
        SolrDocumentList group1_1DocumentList = Mockito.mock(SolrDocumentList.class);
        List<Object> documents1_1 = Arrays.asList(new Object());

        Mockito.when(response.getGroupResponse()).thenReturn(groupResponse);
        Mockito.when(groupResponse.getValues()).thenReturn(Arrays.asList(groupCommand1));
        Mockito.when(groupCommand1.getValues()).thenReturn(Arrays.asList(group1_1));
        Mockito.when(group1_1.getResult()).thenReturn(group1_1DocumentList);
        Mockito.when(group1_1.getGroupValue()).thenReturn("group1_1_value");
        Mockito.when(group1_1DocumentList.getNumFound()).thenReturn(3L);
        Mockito.when(solrTemplate.convertSolrDocumentListToBeans(group1_1DocumentList, Object.class)).thenReturn(
            documents1_1);
        Mockito.when(groupCommand1.getMatches()).thenReturn(1);
        Mockito.when(groupCommand1.getName()).thenReturn("group1_name");
    View Full Code Here

    Examples of org.apache.turbine.om.security.Group

                // foreach group in the system
                Iterator groupsIterator = getAllGroups().iterator();

                while (groupsIterator.hasNext())
                {
                    Group group = (Group) groupsIterator.next();

                    // get roles of user in the group
                    RoleSet groupRoles = getRoles(user, group);

                    // put the Set into roles(group)
    View Full Code Here

    Examples of org.apache.turbine.services.intake.model.Group

         * @throws IntakeException if recycling fails.
         */
        public Group getGroup(String groupName)
                throws IntakeException
        {
            Group group = null;

            AppData appData = (AppData) groupNames.get(groupName);

            if (groupName == null)
            {
    View Full Code Here

    Examples of org.apache.wicket.util.parse.metapattern.Group

       */
      public ListParser(final MetaPattern entryPattern, final MetaPattern separatorPattern,
        final CharSequence input)
      {
        super(input);
        entryGroup = new Group(entryPattern);
        this.separatorPattern = separatorPattern;
      }
    View Full Code Here

    Examples of org.apache.wiki.auth.authorize.Group

            m_acl.addEntry( ae2 );
            m_acl.addEntry( ae3 );
            m_acl.addEntry( ae4 );

            // Foo group includes Alice and Bob
            Group foo = m_groupMgr.parseGroup( "FooGroup", "", true );
            m_groupMgr.setGroup( m_session, foo );
            foo.add( uAlice );
            foo.add( uBob );
            AclEntry ag1 = new AclEntryImpl();
            ag1.setPrincipal( foo.getPrincipal() );
            ag1.addPermission( PagePermission.EDIT );
            m_aclGroup.addEntry( ag1 );
            m_groups.put( "FooGroup", foo );

            // Bar group includes Bob and Charlie
            Group bar = m_groupMgr.parseGroup( "BarGroup", "", true );
            m_groupMgr.setGroup( m_session, bar );
            bar.add( uBob );
            bar.add( uCharlie );
            AclEntry ag2 = new AclEntryImpl();
            ag2.setPrincipal( bar.getPrincipal() );
            ag2.addPermission( PagePermission.VIEW );
            m_aclGroup.addEntry( ag2 );
            m_groups.put( "BarGroup", bar );
        }
    View Full Code Here

    Examples of org.apache.xmlbeans.impl.xb.xsdschema.Group

                            /* NOTE: There may be other groupings that this code needs
                             * to understand also.  At this point we expect:
                             * <element name="xxx" type="yyy">
                             * or <element ref="zzz">
                             */
                            Group g = ct.getSequence();
                            for (Element el : g.getElementArray()) {
                              paramList.add(elementToParamMetaData(s
                                  .getTargetNamespace(), el));
                            }
                          }
                        }
    View Full Code Here

    Examples of org.atomojo.auth.service.db.Group

       }
      
       public Representation get()
       {
          try {
             Group group = fetch();
             if (group!=null) {
                if (facet!=null) {
                   if (facet.equals(USER_FACET)) {
                      if (facetId!=null) {
                         try {
                            UUID id = UUID.fromString(facetId);
                            User user = db.getUser(id);
                            if (user!=null) {
                               Representation entity = new DBObjectRepresentation(MediaType.APPLICATION_XML,user);
                               entity.setCharacterSet(CharacterSet.UTF_8);
                               return entity;
                            } else {
                               getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
                               return new StringRepresentation("Canot find user by id "+facetId);
                            }
                         } catch (SQLException ex) {
                            getContext().getLogger().log(Level.SEVERE,"Cannot get user with id "+facetId+" from database.",ex);
                            getResponse().setStatus(Status.SERVER_ERROR_INTERNAL);
                            return new StringRepresentation("Exception while processing, see logs.");
                         } catch (IllegalArgumentException ex) {
                            getResponse().setStatus(Status.CLIENT_ERROR_BAD_REQUEST);
                            return new StringRepresentation("Bad UUID value "+facetId);
                         }
                      } else if (facetName!=null) {
                         try {
                            User user = db.getUser(facetName);
                            if (user!=null) {
                               Representation entity = new DBObjectRepresentation(MediaType.APPLICATION_XML,user);
                               entity.setCharacterSet(CharacterSet.UTF_8);
                               return entity;
                            } else {
                               getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
                               return new StringRepresentation("Cannot find user by alias "+facetName);
                            }
                         } catch (SQLException ex) {
                            getContext().getLogger().log(Level.SEVERE,"Cannot get user with alias "+facetName+" from database.",ex);
                            getResponse().setStatus(Status.SERVER_ERROR_INTERNAL);
                            return new StringRepresentation("Exception during processing, see logs.");
                         }
                      } else {
                         try {
                            Representation entity = new DBIteratorRepresentation(MediaType.APPLICATION_XML,XML.USERS_NAME,group.getMembers());
                            entity.setCharacterSet(CharacterSet.UTF_8);
                            return entity;
                         } catch (SQLException ex) {
                            getContext().getLogger().log(Level.SEVERE,"Cannot get users from database.",ex);
                            getResponse().setStatus(Status.SERVER_ERROR_INTERNAL);
                            return new StringRepresentation("Exception during processing, see logs.");
                         }
                      }
                   } else if (facet.equals(ROLE_FACET)) {
                      if (facetId!=null) {
                         try {
                            UUID id = UUID.fromString(facetId);
                            Role role = db.getRole(id);
                            if (role!=null) {
                               Representation entity = new DBObjectRepresentation(MediaType.APPLICATION_XML,role);
                               entity.setCharacterSet(CharacterSet.UTF_8);
                               return entity;
                            } else {
                               getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
                               return null;
                            }
                         } catch (SQLException ex) {
                            getContext().getLogger().log(Level.SEVERE,"Cannot get role with id "+facetId+" from database.",ex);
                            getResponse().setStatus(Status.SERVER_ERROR_INTERNAL);
                            return new StringRepresentation("Exception during processing, see logs.");
                         } catch (IllegalArgumentException ex) {
                            getResponse().setStatus(Status.CLIENT_ERROR_BAD_REQUEST);
                            return new StringRepresentation("Bad UUID value "+facetId);
                         }
                        
                      } else if (facetName!=null) {
                         try {
                            Role role = db.getRole(facetName);
                            if (role!=null) {
                               Representation entity = new DBObjectRepresentation(MediaType.APPLICATION_XML,role);
                               entity.setCharacterSet(CharacterSet.UTF_8);
                               return entity;
                            } else {
                               getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
                               return null;
                            }
                         } catch (SQLException ex) {
                            getContext().getLogger().log(Level.SEVERE,"Cannot get role with name "+facetName+" from database.",ex);
                            getResponse().setStatus(Status.SERVER_ERROR_INTERNAL);
                            return new StringRepresentation("Exception during processing, see logs.");
                         }
                      } else {
                         Representation entity = new DBIteratorRepresentation(MediaType.APPLICATION_XML,XML.ROLES_NAME,group.getRoles());
                         entity.setCharacterSet(CharacterSet.UTF_8);
                         return entity;
                      }
                   } else {
                      getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
    View Full Code Here

    Examples of org.beangle.ems.security.Group

      public GroupPropertyExtractor(TextResource textResource) {
        super(textResource);
      }

      public Object getPropertyValue(Object target, String property) throws Exception {
        Group group = (Group) target;
        if ("users".equals(property)) {
          return getPropertyIn(group.getMembers(), "user.name");
        } else {
          return super.getPropertyValue(target, property);
        }
      }
    View Full Code Here

    Examples of org.beangle.security.Group

        User user = (User) entityDao.get(User.class, userId);
        Set groups = userService.getGroups(user);
        Long[] groupIds = new Long[groups.size()];
        int i = 0;
        for (Iterator iter = groups.iterator(); iter.hasNext();) {
          Group group = (Group) iter.next();
          registerGroupAuthorities(group);
          groupIds[i++] = group.getId();
        }
        userGroupIds.put(user.getId(), groupIds);
      }
    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.