Package org.activiti.explorer.data

Examples of org.activiti.explorer.data.LazyLoadingQuery


 
  @Override
  protected Table createList() {
    final Table deploymentTable = new Table();
   
    LazyLoadingQuery deploymentListQuery = new DeploymentListQuery(deploymentFilter);
    deploymentListContainer = new LazyLoadingContainer(deploymentListQuery, 30);
    deploymentTable.setContainerDataSource(deploymentListContainer);
           
    // Listener to change right panel when clicked on a deployment
    deploymentTable.addListener(new Property.ValueChangeListener() {
View Full Code Here


    }
    return userIds;
  }
 
  protected void initMembersTable() {
    LazyLoadingQuery query = new GroupMembersQuery(group.getId(), this);
    if (query.size() > 0) {
      membersTable = new Table();
      membersTable.setWidth(100, UNITS_PERCENTAGE);
      membersTable.setHeight(400, UNITS_PIXELS);
     
      membersTable.setEditable(false);
View Full Code Here

    processDefinitionTable.setNullSelectionAllowed(false);
    processDefinitionTable.setSortDisabled(true);
    processDefinitionTable.setSizeFull();
   
   
    LazyLoadingQuery lazyLoadingQuery = new ProcessDefinitionListQuery(repositoryService, definitionFilter);
    this.processDefinitionContainer = new LazyLoadingContainer(lazyLoadingQuery, 30);
    processDefinitionTable.setContainerDataSource(processDefinitionContainer);
   
    // Listener to change right panel when clicked on a task
    processDefinitionTable.addListener(new Property.ValueChangeListener() {
View Full Code Here

    spacer.addStyleName(ExplorerLayout.STYLE_DETAIL_BLOCK);
    addDetailComponent(spacer);
  }
 
  protected void addTableData() {
    LazyLoadingQuery lazyLoadingQuery = new TableDataQuery(tableName, managementService);
    LazyLoadingContainer lazyLoadingContainer = new LazyLoadingContainer(lazyLoadingQuery, 30);
   
    if (lazyLoadingContainer.size() > 0) {
     
      Table data = new Table();
      data.setContainerDataSource(lazyLoadingContainer);
      data.setEditable(false);
      data.setSelectable(true);
      data.setColumnReorderingAllowed(true);
      if (lazyLoadingQuery.size() < 10) {
        data.setPageLength(0);
      } else {
        data.setPageLength(10);
      }
      addDetailComponent(data);
View Full Code Here

 
  @Override
  protected Table createList() {
    final Table jobTable = new Table();
   
    LazyLoadingQuery jobListQuery = new JobListQuery();
    jobListContainer = new LazyLoadingContainer(jobListQuery, 30);
    jobTable.setContainerDataSource(jobListContainer);
           
    // Listener to change right panel when clicked on a deployment
    jobTable.addListener(new Property.ValueChangeListener() {
View Full Code Here

    }
    return userIds;
  }
 
  protected void initMembersTable() {
    LazyLoadingQuery query = new GroupMembersQuery(group.getId(), this);
    if (query.size() > 0) {
      membersTable = new Table();
      membersTable.setWidth(100, UNITS_PERCENTAGE);
      membersTable.setHeight(400, UNITS_PIXELS);
     
      membersTable.setEditable(false);
View Full Code Here

    processDefinitionTable.setNullSelectionAllowed(false);
    processDefinitionTable.setSortDisabled(true);
    processDefinitionTable.setSizeFull();
   
   
    LazyLoadingQuery lazyLoadingQuery = new ProcessDefinitionListQuery(repositoryService, definitionFilter);
    this.processDefinitionContainer = new LazyLoadingContainer(lazyLoadingQuery, 10);
    processDefinitionTable.setContainerDataSource(processDefinitionContainer);
   
    // Listener to change right panel when clicked on a task
    processDefinitionTable.addListener(new Property.ValueChangeListener() {
View Full Code Here

 
  @Override
  protected Table createList() {
    final Table jobTable = new Table();
   
    LazyLoadingQuery jobListQuery = new JobListQuery();
    jobListContainer = new LazyLoadingContainer(jobListQuery, 10);
    jobTable.setContainerDataSource(jobListContainer);
           
    // Listener to change right panel when clicked on a deployment
    jobTable.addListener(new Property.ValueChangeListener() {
View Full Code Here

  }
 
  protected Table createList() {
    final Table table = new Table();
   
    LazyLoadingQuery query = new ProcessInstanceListQuery();
    processInstanceContainer = new LazyLoadingContainer(query);
    table.setContainerDataSource(processInstanceContainer);
   
    table.addListener(new Property.ValueChangeListener() {
      private static final long serialVersionUID = 1L;
View Full Code Here

 
  @Override
  protected Table createList() {
    final Table deploymentTable = new Table();
   
    LazyLoadingQuery deploymentListQuery = new DeploymentListQuery(deploymentFilter);
    deploymentListContainer = new LazyLoadingContainer(deploymentListQuery, 10);
    deploymentTable.setContainerDataSource(deploymentListContainer);
           
    // Listener to change right panel when clicked on a deployment
    deploymentTable.addListener(new Property.ValueChangeListener() {
View Full Code Here

TOP

Related Classes of org.activiti.explorer.data.LazyLoadingQuery

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.