1 2 3 package org.enhydra.shark.api.common; 4 5 import java.io.Serializable ; 6 7 import org.enhydra.shark.api.RootException; 8 9 18 public interface ProcessIteratorExpressionBuilder extends 19 ExpressionBuilder, 20 Serializable { 21 26 public ProcessIteratorExpressionBuilder and(); 27 28 33 public ProcessIteratorExpressionBuilder or(); 34 35 40 public ProcessIteratorExpressionBuilder not(); 41 42 48 public ProcessIteratorExpressionBuilder addPackageIdEquals(String exp); 49 50 56 public ProcessIteratorExpressionBuilder addProcessDefIdEquals(String exp); 57 58 64 public ProcessIteratorExpressionBuilder addMgrNameEquals(String exp); 65 66 72 public ProcessIteratorExpressionBuilder addVersionEquals(String exp); 73 74 79 public ProcessIteratorExpressionBuilder addIsMgrEnabled(); 80 81 87 public ProcessIteratorExpressionBuilder addStateEquals(String arg); 88 89 96 public ProcessIteratorExpressionBuilder addStateStartsWith(String arg); 97 98 104 public ProcessIteratorExpressionBuilder addIdEquals(String arg); 105 106 112 public ProcessIteratorExpressionBuilder addNameEquals(String arg); 113 114 120 public ProcessIteratorExpressionBuilder addPriorityEquals(int arg); 121 122 128 public ProcessIteratorExpressionBuilder addDescriptionEquals(String arg); 129 130 136 public ProcessIteratorExpressionBuilder addDescriptionContains(String arg); 137 138 144 public ProcessIteratorExpressionBuilder addRequesterIdEquals(String arg); 145 146 153 public ProcessIteratorExpressionBuilder addRequesterUsernameEquals(String arg); 154 155 161 public ProcessIteratorExpressionBuilder addCreatedTimeEquals(long arg); 162 163 169 public ProcessIteratorExpressionBuilder addCreatedTimeBefore(long arg); 170 171 177 public ProcessIteratorExpressionBuilder addCreatedTimeAfter(long arg); 178 179 185 public ProcessIteratorExpressionBuilder addStartTimeEquals(long arg); 186 187 193 public ProcessIteratorExpressionBuilder addStartTimeBefore(long arg); 194 195 201 public ProcessIteratorExpressionBuilder addStartTimeAfter(long arg); 202 203 209 public ProcessIteratorExpressionBuilder addLastStateTimeEquals(long arg); 210 211 217 public ProcessIteratorExpressionBuilder addLastStateTimeBefore(long arg); 218 219 225 public ProcessIteratorExpressionBuilder addLastStateTimeAfter(long arg); 226 227 233 public ProcessIteratorExpressionBuilder addActiveActivitiesCountEquals(long arg); 234 235 241 public ProcessIteratorExpressionBuilder addActiveActivitiesCountGreaterThan(long arg); 242 243 249 public ProcessIteratorExpressionBuilder addActiveActivitiesCountLessThan(long arg); 250 251 260 public ProcessIteratorExpressionBuilder addVariableEquals(String vName, 261 Object vValue) throws RootException; 262 263 270 public ProcessIteratorExpressionBuilder addVariableEquals(String vName, 271 String vValue); 272 273 280 public ProcessIteratorExpressionBuilder addVariableEquals(String vName, 281 long vValue); 282 283 290 public ProcessIteratorExpressionBuilder addVariableGreaterThan(String vName, 291 long vValue); 292 293 300 public ProcessIteratorExpressionBuilder addVariableLessThan(String vName, 301 long vValue); 302 303 310 public ProcessIteratorExpressionBuilder addVariableEquals(String vName, 311 double vValue); 312 313 320 public ProcessIteratorExpressionBuilder addVariableGreaterThan(String vName, 321 double vValue); 322 323 330 public ProcessIteratorExpressionBuilder addVariableLessThan(String vName, 331 double vValue); 332 333 343 public ProcessIteratorExpressionBuilder addExpression(String exp); 344 345 354 public ProcessIteratorExpressionBuilder addExpression(ProcessIteratorExpressionBuilder eb); 355 356 366 public ProcessIteratorExpressionBuilder setOrderByMgrName(boolean ascending); 367 368 378 public ProcessIteratorExpressionBuilder setOrderById(boolean ascending); 379 380 390 public ProcessIteratorExpressionBuilder setOrderByName(boolean ascending); 391 392 402 public ProcessIteratorExpressionBuilder setOrderByState(boolean ascending); 403 404 414 public ProcessIteratorExpressionBuilder setOrderByPriority(boolean ascending); 415 416 426 public ProcessIteratorExpressionBuilder setOrderByCreatedTime(boolean ascending); 427 428 438 public ProcessIteratorExpressionBuilder setOrderByStartTime(boolean ascending); 439 440 450 public ProcessIteratorExpressionBuilder setOrderByLastStateTime(boolean ascending); 451 452 462 public ProcessIteratorExpressionBuilder setOrderByResourceRequesterId(boolean ascending); 463 } | Popular Tags |