Package org.activiti.engine.impl

Examples of org.activiti.engine.impl.UserQueryImpl


  }
  public HistoricVariableInstanceQueryImpl createHistoricVariableInstanceQuery() {
    return new HistoricVariableInstanceQueryImpl();
  }
  public UserQueryImpl createUserQuery() {
    return new UserQueryImpl();
  }
View Full Code Here


  }


  @Override
  public UserQuery createNewUserQuery() {
    return new UserQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutor());
  }
View Full Code Here

  public List<Group> findGroupsByUser(String userId) {
    return getDbSqlSession().selectList("selectGroupsByUserId", userId);
  }

  public UserQuery createNewUserQuery() {
    return new UserQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutor());
  }
View Full Code Here

  }
  public HistoricVariableInstanceQueryImpl createHistoricVariableInstanceQuery() {
    return new HistoricVariableInstanceQueryImpl();
  }
  public UserQueryImpl createUserQuery() {
    return new UserQueryImpl();
  }
View Full Code Here

  public List<Group> findGroupsByUser(String userId) {
    return getDbSqlSession().selectList("selectGroupsByUserId", userId);
  }

  public UserQuery createNewUserQuery() {
    return new UserQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutorTxRequired());
  }
View Full Code Here

  public List<User> findUserByQueryCriteria(Object query, Page page) {
   
    List<User> userList = new ArrayList<User>();
   
    // Query is a UserQueryImpl instance
    UserQueryImpl userQuery = (UserQueryImpl) query;
    StringBuilder searchQuery = new StringBuilder();
    if(StringUtils.isNotEmpty(userQuery.getId())) {
      searchQuery.append("(uid=").append(userQuery.getId()).append(")");
     
    } else if(StringUtils.isNotEmpty(userQuery.getLastName())) {
      searchQuery.append("(sn=").append(userQuery.getLastName()).append(")");
   
    } else {
      searchQuery.append("(uid=*)");
    }
    LdapConnection connection = LDAPConnectionUtil.openConnection(connectionParams);
View Full Code Here

TOP

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

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.