Package org.activiti.engine.impl

Examples of org.activiti.engine.impl.GroupQueryImpl


  }
  public UserQueryImpl createUserQuery() {
    return new UserQueryImpl();
  }
  public GroupQueryImpl createGroupQuery() {
    return new GroupQueryImpl();
  }
View Full Code Here


    throw new ActivitiException("LDAP group manager doesn't support deleting a group");
  }

  @Override
  public GroupQuery createNewGroupQuery() {
    return new GroupQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutor());
  }
View Full Code Here

      }
    }
  }

  public GroupQuery createNewGroupQuery() {
    return new GroupQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutor());
  }
View Full Code Here

  }
  public UserQueryImpl createUserQuery() {
    return new UserQueryImpl();
  }
  public GroupQueryImpl createGroupQuery() {
    return new GroupQueryImpl();
  }
View Full Code Here

    getDbSqlSession().delete("deleteMembershipsByGroupId", groupId);
    getDbSqlSession().delete(group);
  }

  public GroupQuery createNewGroupQuery() {
    return new GroupQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutorTxRequired());
  }
View Full Code Here

  @Override
  public List<Group> findGroupByQueryCriteria(Object query, Page page) {
    List<Group> groupList = new ArrayList<Group>();
   
    // Query is a GroupQueryImpl instance
    GroupQueryImpl groupQuery = (GroupQueryImpl) query;
    StringBuilder searchQuery = new StringBuilder();
    if(StringUtils.isNotEmpty(groupQuery.getId())) {
      searchQuery.append("(cn=").append(groupQuery.getId()).append(")");
     
    } else if(StringUtils.isNotEmpty(groupQuery.getName())) {
      searchQuery.append("(cn=").append(groupQuery.getName()).append(")");
   
    } else if(StringUtils.isNotEmpty(groupQuery.getUserId())) {
      searchQuery.append("(uniqueMember= uid=").append(groupQuery.getUserId()).append("," + USER_ENTRY + ")");
   
    } else {
      searchQuery.append("(cn=*)");
    }
    LdapConnection connection = LDAPConnectionUtil.openConnection(connectionParams);
View Full Code Here

TOP

Related Classes of org.activiti.engine.impl.GroupQueryImpl

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.