|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.knowgate.addrbook.DayPlan
A bidimensional array with daily scheduled meeting in quarters of an hour.
| Constructor Summary | |
DayPlan()
|
|
| Method Summary | |
int |
concurrentMeetings(int slice)
Get count of concurrent meetings at a given slice |
Meeting |
getMeeting(int slice,
int slot)
Get meeting information |
void |
load(JDCConnection oConn,
java.lang.String sFellowId,
java.util.Date dtToday)
Load scheduled meetings for a given Fellow. |
Meeting |
seekMeeting(java.lang.String sMeeting)
Lookup a meeting given its unique identifier |
int |
sliceCount()
Slice count per day. |
int |
slotsPerSlice()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DayPlan()
| Method Detail |
public void load(JDCConnection oConn,
java.lang.String sFellowId,
java.util.Date dtToday)
throws java.sql.SQLException
Load scheduled meetings for a given Fellow.
oConn - Database ConnectionsFellowId - Fellow Unique IdentifierdtToday - Date for witch meeting are to be retrieved
java.sql.SQLException{@link Fellow}public int sliceCount()
Slice count per day.
96 is the default and equals a day divided in 15 minutes slices
public int slotsPerSlice()
public int concurrentMeetings(int slice)
throws java.lang.ArrayIndexOutOfBoundsException
Get count of concurrent meetings at a given slice
slice - [0...sliceCount()-1]
java.lang.ArrayIndexOutOfBoundsException - If slice<0 or slice>=sliceCount()
public Meeting getMeeting(int slice,
int slot)
throws java.lang.ArrayIndexOutOfBoundsException
Get meeting information
Each meeting is asoociated with one or more day slices by having a list at the slice that point to every meeting taking place on the slice.
Thus for retriving a meeting both the slice number and the relative ordinal position of the meeting at the slice are needed.
slice - [0...sliceCount()-1]slot - [0...slotsPerSlice()-1]
Meeting or null if no meeting was found at the given (slice,slot) pair.
java.lang.ArrayIndexOutOfBoundsException - If slice<0 or slice>=sliceCount() or slot<0 or slot>=slotsPerSlice()public Meeting seekMeeting(java.lang.String sMeeting)
Lookup a meeting given its unique identifier
sMeeting - Meeting Unique Identifier
Meeting or null if no meeting was found with given identifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||