Package org.jbpm.pvm.internal.identity.cmd

Examples of org.jbpm.pvm.internal.identity.cmd.FindGroupsCmd


  }

  public List<String> execute(Environment environment) throws Exception {
    List<String> groupIds = new ArrayList<String>();
   
    FindGroupsCmd findGroupsCmd = new FindGroupsCmd(userId);
    List<Group> groups = findGroupsCmd.execute(environment);
    for (Group group: groups) {
      groupIds.add(group.getId());
    }
   
    return groupIds;
View Full Code Here


  public List<String> findGroupIdsByUser(String userId) {
    return commandService.execute(new FindGroupIds(userId));
  }

  public List<Group> findGroupsByUser(String userId) {
    return commandService.execute(new FindGroupsCmd(userId));
  }
View Full Code Here

  public List<Group> findGroupsByUser(String userId) {
    return commandService.execute(new FindGroupsCmd(userId));
  }

  public List<Group> findGroupsByUserAndGroupType(String userId, String groupType) {
    return commandService.execute(new FindGroupsCmd(userId, groupType));
  }
View Full Code Here

  }

  public List<String> execute(Environment environment) throws Exception {
    List<String> groupIds = new ArrayList<String>();
   
    FindGroupsCmd findGroupsCmd = new FindGroupsCmd(userId);
    List<Group> groups = findGroupsCmd.execute(environment);
    for (Group group: groups) {
      groupIds.add(group.getId());
    }
   
    return groupIds;
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.identity.cmd.FindGroupsCmd

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.