Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.kie.remote.services.rest.query;
  
  import java.util.Date;
  
  import  org.kie.api.task.model.Status;

This class contains all of the methods that add a specific query criteria to the RemoteServicesQueryCommandBuilder instances. Some of these methods must be overridden by the InternalTaskQueryHelper or InternalProcInstQueryHelper implementation.
 
 abstract class InternalQueryBuilderMethods {
 
     
     protected void setQueryBuilders(RemoteServicesQueryCommandBuilder... queryBuilders) { 
         this. = queryBuilders;
     }
     
     protected RemoteServicesQueryCommandBuilder [] getQueryBuilders() { 
         return ;
     }
     
     // query builder methods ------------------------------------------------------------------------------------------------------
     
     public void processInstanceId(long[] longData) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.processInstanceId(longData);
         } 
     }
     
     public void processInstanceIdMin(long[] longData) {
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.processInstanceIdMin(longData[0]);
         } 
     }
     
     public void processInstanceIdMax(long[] longData) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.processInstanceIdMax(longData[0]);
         } 
     }
     
     public void processId(String[] data) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.processId(data);
         } 
     }
     
     public void workItemId(long[] longData) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.workItemId(longData);
         } 
     }
     
     public void deploymentId(String[] data) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.deploymentId(data);
         } 
     }
     
     public void taskId(long[] longData) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.taskId(longData);
         } 
     }
     
     public void taskIdMin(long longData) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.taskIdMin(longData);
         } 
     }
     
     public void taskIdMax(long longData) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.taskIdMax(longData);
         } 
     }
     
     public void initiator(String[] data) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.initiator(data);
         } 
     }
     
     public void stakeHolder(String[] data) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.stakeHolder(data);
         } 
     }
     
     public void potentialOwner(String[] data) { 
         forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
             queryBuilder.potentialOwner(data);
         } 
     }
     
    public void taskOwner(String[] data) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.taskOwner(data);
        } 
    }
    
    public void businessAdmin(String[] data) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.businessAdmin(data);
        } 
    }
    
    public void taskStatus(Status[] statuses) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.taskStatus(statuses);
        } 
    }
    
    public void processInstanceStatus(int[] intData) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.processInstanceStatus(intData);
        } 
    }
    
    public void processVersion(String[] data) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.processVersion(data);
        } 
    }
    
    public void startDateMin(Date date) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.startDateMin(date);
        } 
    }
    
    public void startDateMax(Date date) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.startDateMax(date);
        } 
    }
    
    public void startDate(Date[] dateData) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.startDate(dateData);
        } 
    }
    
    public void endDateMin(Date date) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.endDateMin(date);
        } 
    }
    
    public void endDateMax(Date date) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.endDateMax(date);
        } 
    }
    
    public void endDate(Date[] dateData) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.endDate(dateData);
        } 
    }
    
    public void variableId(String[] data) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.variableId(data);
        } 
    }
    
    public void value(String[] data) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.value(data);
        } 
    }
    
    public void variableValue(String varIdString value) { 
        forRemoteServicesQueryCommandBuilder queryBuilder : getQueryBuilders() ) { 
            queryBuilder.variableValue(varIdvalue);
        } 
    }
New to GrepCode? Check out our FAQ X