public class CheckWorkHours extends SQLCommand
CHECK_WORK_HOURS user[,...] [LOCATION location] FROM from_time TO to_timeUsage
CHECK_WORK_HOURS USER '1@1~1@1','1@2~1@1' LOCATION '1@1~1@1' FROM '20 Nov 2007' TO '30 Nov 2007'THREAD MODE: SINGLE THREADED command
CURSOR_SIZE
Constructor and Description |
---|
CheckWorkHours(Connection connection,
Pattern pattern)
Creates a new CheckWorkHours
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Parser parser)
Retrieves availability
|
java.lang.String |
getColumnName(int col)
Gets the col name
|
java.lang.String |
getColumnType(int col)
Gets the col type
|
java.lang.String |
getRecordID(int row)
Gets the record id
|
protected int |
getTimeSlotsMinutes(TimeSlotRule rule) |
java.lang.Object |
getValue(int row,
int column)
Gets a cell value
|
protected void |
loadRules(TimeSlotRule[] ruleList,
GlobalKey userKey,
GlobalKey locationKey,
java.util.TimeZone tz,
java.util.Date fromDate,
java.util.Date toDate) |
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnly
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public CheckWorkHours(Connection connection, Pattern pattern)
connection
- the command connectionpattern
- the command patternpublic void execute(Parser parser) throws java.lang.Exception
protected void loadRules(TimeSlotRule[] ruleList, GlobalKey userKey, GlobalKey locationKey, java.util.TimeZone tz, java.util.Date fromDate, java.util.Date toDate) throws java.lang.Exception
java.lang.Exception
protected int getTimeSlotsMinutes(TimeSlotRule rule) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getValue(int row, int column)
row
- the cell rowcolumn
- the cell columnpublic java.lang.String getColumnType(int col)
col
- the col to typepublic java.lang.String getColumnName(int col)
col
- the col to namepublic java.lang.String getRecordID(int row)
row
- the row to idstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.