Agentflow
V3.1

pe.tse
Interface SearchCondition

All Known Implementing Classes:
AbstractSearchCondition, ArtifactFieldSearchCondition, ArtifactInstanceSearchCondition, ComputeSearchCondition, ErrorTaskSearchCondition, MemberTaskSearchCondition, RoughTaskSearchCondition, TaskSearchCondition

public interface SearchCondition

No comment yet

Version:
1.1.5,
Author:
Arcane Huang

Nested Class Summary
static class SearchCondition.Entity
           
 
Field Summary
static java.lang.String AND
          AND operator
static java.lang.String ARTIFACT_ID
          Artifact ID
static java.lang.String ARTIFACT_INS
          Artifact Instance ID
static java.lang.String ARTIFACT_NAME
          Artifact Name
static java.lang.String ARTIFACT_SYNO
          Artifact Synopsis
static java.lang.String ARTINSTANCE_ID
          Artifact Instance ID
static java.lang.String CALLPROCESS_ID
          Call Process ID
static java.lang.String COMPUTE
          invoked to calculate about task statistics, specially for chart
static java.lang.String CONTAIN
          CONTAIN operator
static java.lang.String CSPROCESS_ID
          CS Process ID
static java.lang.String DEPARTMENT_ID
          Department ID
static java.lang.String DEPMEMBERLOAD
          DEPMEMBERLOAD, specially for chart
static java.lang.String EQUAL
          EQUAL operator
static java.lang.String GREAT
          GREAT operator
static java.lang.String GREATEQUAL
          GREATEQUAL operator
static java.lang.String GROUPTASKLOAD
          GROUPTASKLOAD, specially for chart, the GroupBy parameter is needed
static java.lang.String IAPPROCESS_ID
          Process Name
static java.lang.String LESS
          LESS operator
static java.lang.String LESSEQUAL
          LESSEQUAL operator
static java.lang.String LIKE
          LIKE operator
static java.lang.String MEMBER_ID
          Member ID
static java.lang.String MEMTASKLOAD
          MEMTASKLOAD, specially for chart
static java.lang.String NOTCONTAIN
          NOTCONTAIN operator
static java.lang.String NOTEQUAL
          NOTEQUAL operator
static java.lang.String NOTLIKE
          NOTLIKE operator
static java.lang.String OR
          OR operator
static java.lang.String PARENT_ID
          Parent's ID
static java.lang.String PMP
          PMP AF-2301, by Jason 20110218
static java.lang.String PRJNODETIME
          PRJNODETIME, specially for chart
static java.lang.String PRJTASKLOAD
          PRJTASKLOAD, specially for chart
static java.lang.String PROCESS_ID
          Process ID
static java.lang.String PROCESS_NAME
          Process Name
static java.lang.String PROCESS_PARENT_ID
          Parent's Process ID
static java.lang.String PROCESS_SYNOPSIS
          Process Synopsis
static java.lang.String PROJECT_ID
          Project ID
static java.lang.String PROJECT_NAME
          Project Name
static java.lang.String ROLE_ID
          Role ID
static java.lang.String ROOT_ID
          RootTask's ID
static java.lang.String TASK_ATTACHED
          invoked to check if the task has attached files, specially for task
static java.lang.String TASK_DEPUTY
          invoked to check if the task was completed by deputy, specially for task
static java.lang.String TASK_ENDTIME
          Task Endtime(long)
static java.lang.String TASK_EXEID
          Task Executor ID
static java.lang.String TASK_ID
          Task ID
static java.lang.String TASK_KEYWORD
          Task Keyword
static java.lang.String TASK_MEMID_EXEID
          Task Mem ID or Task Executor ID
static java.lang.String TASK_NOTE
          Task Note
static java.lang.String TASK_PRIORITY
          Task Priority
static java.lang.String TASK_STARTTIME
          Task Starttime(long)
static java.lang.String TIMEOUTWORK
          TIMEOUTWORK, specially for chart
static java.lang.String WORKLOAD
          WORKLOAD, specially for chart
 
Method Summary
 void add(java.lang.String theOp, java.lang.String theField, java.lang.String theValue)
          Adds a search condition into this search condition
 void addInteger(java.lang.String theOp, java.lang.String theField, java.lang.String theValue)
          Adds a search condition into this search condition, which the field belongs to Integer.
 java.util.Vector doSearch(Search p)
          use callback for distinguish between search for different target
 int doSearchCount(Search p)
           
 java.util.Vector getEntityList()
          return an array of entity
 void setEntityList(java.util.Vector list)
          set the array of entity
 

Field Detail

AND

static final java.lang.String AND
AND operator

See Also:
Constant Field Values

ARTIFACT_ID

static final java.lang.String ARTIFACT_ID
Artifact ID

See Also:
Constant Field Values

ARTIFACT_INS

static final java.lang.String ARTIFACT_INS
Artifact Instance ID

See Also:
Constant Field Values

ARTIFACT_NAME

static final java.lang.String ARTIFACT_NAME
Artifact Name

See Also:
Constant Field Values

ARTIFACT_SYNO

static final java.lang.String ARTIFACT_SYNO
Artifact Synopsis

See Also:
Constant Field Values

ARTINSTANCE_ID

static final java.lang.String ARTINSTANCE_ID
Artifact Instance ID

See Also:
Constant Field Values

CALLPROCESS_ID

static final java.lang.String CALLPROCESS_ID
Call Process ID

See Also:
Constant Field Values

COMPUTE

static final java.lang.String COMPUTE
invoked to calculate about task statistics, specially for chart

See Also:
Constant Field Values

CONTAIN

static final java.lang.String CONTAIN
CONTAIN operator

See Also:
Constant Field Values

CSPROCESS_ID

static final java.lang.String CSPROCESS_ID
CS Process ID

See Also:
Constant Field Values

DEPARTMENT_ID

static final java.lang.String DEPARTMENT_ID
Department ID

See Also:
Constant Field Values

DEPMEMBERLOAD

static final java.lang.String DEPMEMBERLOAD
DEPMEMBERLOAD, specially for chart

See Also:
Constant Field Values

EQUAL

static final java.lang.String EQUAL
EQUAL operator

See Also:
Constant Field Values

GREAT

static final java.lang.String GREAT
GREAT operator

See Also:
Constant Field Values

GREATEQUAL

static final java.lang.String GREATEQUAL
GREATEQUAL operator

See Also:
Constant Field Values

GROUPTASKLOAD

static final java.lang.String GROUPTASKLOAD
GROUPTASKLOAD, specially for chart, the GroupBy parameter is needed

See Also:
Constant Field Values

IAPPROCESS_ID

static final java.lang.String IAPPROCESS_ID
Process Name

See Also:
Constant Field Values

LESS

static final java.lang.String LESS
LESS operator

See Also:
Constant Field Values

LESSEQUAL

static final java.lang.String LESSEQUAL
LESSEQUAL operator

See Also:
Constant Field Values

LIKE

static final java.lang.String LIKE
LIKE operator

See Also:
Constant Field Values

MEMBER_ID

static final java.lang.String MEMBER_ID
Member ID

See Also:
Constant Field Values

MEMTASKLOAD

static final java.lang.String MEMTASKLOAD
MEMTASKLOAD, specially for chart

See Also:
Constant Field Values

NOTCONTAIN

static final java.lang.String NOTCONTAIN
NOTCONTAIN operator

See Also:
Constant Field Values

NOTEQUAL

static final java.lang.String NOTEQUAL
NOTEQUAL operator

See Also:
Constant Field Values

NOTLIKE

static final java.lang.String NOTLIKE
NOTLIKE operator

See Also:
Constant Field Values

OR

static final java.lang.String OR
OR operator

See Also:
Constant Field Values

PARENT_ID

static final java.lang.String PARENT_ID
Parent's ID

See Also:
Constant Field Values

PMP

static final java.lang.String PMP
PMP AF-2301, by Jason 20110218

See Also:
Constant Field Values

PRJNODETIME

static final java.lang.String PRJNODETIME
PRJNODETIME, specially for chart

See Also:
Constant Field Values

PRJTASKLOAD

static final java.lang.String PRJTASKLOAD
PRJTASKLOAD, specially for chart

See Also:
Constant Field Values

PROCESS_ID

static final java.lang.String PROCESS_ID
Process ID

See Also:
Constant Field Values

PROCESS_NAME

static final java.lang.String PROCESS_NAME
Process Name

See Also:
Constant Field Values

PROCESS_PARENT_ID

static final java.lang.String PROCESS_PARENT_ID
Parent's Process ID

See Also:
Constant Field Values

PROCESS_SYNOPSIS

static final java.lang.String PROCESS_SYNOPSIS
Process Synopsis

See Also:
Constant Field Values

PROJECT_ID

static final java.lang.String PROJECT_ID
Project ID

See Also:
Constant Field Values

PROJECT_NAME

static final java.lang.String PROJECT_NAME
Project Name

See Also:
Constant Field Values

ROLE_ID

static final java.lang.String ROLE_ID
Role ID

See Also:
Constant Field Values

ROOT_ID

static final java.lang.String ROOT_ID
RootTask's ID

See Also:
Constant Field Values

TASK_ATTACHED

static final java.lang.String TASK_ATTACHED
invoked to check if the task has attached files, specially for task

See Also:
Constant Field Values

TASK_DEPUTY

static final java.lang.String TASK_DEPUTY
invoked to check if the task was completed by deputy, specially for task

See Also:
Constant Field Values

TASK_ENDTIME

static final java.lang.String TASK_ENDTIME
Task Endtime(long)

See Also:
Constant Field Values

TASK_EXEID

static final java.lang.String TASK_EXEID
Task Executor ID

See Also:
Constant Field Values

TASK_ID

static final java.lang.String TASK_ID
Task ID

See Also:
Constant Field Values

TASK_KEYWORD

static final java.lang.String TASK_KEYWORD
Task Keyword

See Also:
Constant Field Values

TASK_MEMID_EXEID

static final java.lang.String TASK_MEMID_EXEID
Task Mem ID or Task Executor ID

See Also:
Constant Field Values

TASK_NOTE

static final java.lang.String TASK_NOTE
Task Note

See Also:
Constant Field Values

TASK_PRIORITY

static final java.lang.String TASK_PRIORITY
Task Priority

See Also:
Constant Field Values

TASK_STARTTIME

static final java.lang.String TASK_STARTTIME
Task Starttime(long)

See Also:
Constant Field Values

TIMEOUTWORK

static final java.lang.String TIMEOUTWORK
TIMEOUTWORK, specially for chart

See Also:
Constant Field Values

WORKLOAD

static final java.lang.String WORKLOAD
WORKLOAD, specially for chart

See Also:
Constant Field Values
Method Detail

add

void add(java.lang.String theOp,
         java.lang.String theField,
         java.lang.String theValue)
Adds a search condition into this search condition

Parameters:
theOp - the operand for combine the condition and before, should be SearchCondition.AND or SearchCondition.OR
theField - the field
theValue - the value..

addInteger

void addInteger(java.lang.String theOp,
                java.lang.String theField,
                java.lang.String theValue)
Adds a search condition into this search condition, which the field belongs to Integer.

Parameters:
theOp - the operand for combine the condition and before, should be SearchCondition.AND or SearchCondition.OR
theField - the field
theValue - the value..

doSearch

java.util.Vector doSearch(Search p)
use callback for distinguish between search for different target

Returns:
search result

doSearchCount

int doSearchCount(Search p)

getEntityList

java.util.Vector getEntityList()
return an array of entity

Returns:
vector contains object of SearchCondidtion.Entity

setEntityList

void setEntityList(java.util.Vector list)
set the array of entity

Parameters:
list - - the entity list

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.