|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.dataobjs.DBPersist
com.knowgate.addrbook.Room
public class Room
Meeting Room or other type of Resource used at Meeting
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary | |
|---|---|
static short |
ClassId
|
| Fields inherited from class com.knowgate.dataobjs.DBPersist |
|---|
AllVals, sAuditCls, sAuditUsr, sTransactId |
| Constructor Summary | |
|---|---|
Room()
|
|
| Method Summary | |
|---|---|
boolean |
delete(JDCConnection oConn)
Delete a register from database The deleted register will be the one matching this DBPersist primary key, as set at constructor or load() method. |
static boolean |
delete(JDCConnection oConn,
java.lang.String sRoomNm,
java.lang.String sWrkAId)
Delete Room Calls k_sp_del_room stored procedure |
java.lang.String |
getMeetingForDate(JDCConnection oConn,
java.util.Date dtFrom,
java.util.Date dtTo)
Get meeting that takes place at this room on given dates |
boolean |
isAvailable(JDCConnection oConn,
java.util.Date dtFrom,
java.util.Date dtTo)
Check whether or not this room is available between two dates |
boolean |
load(JDCConnection oConn,
java.lang.Object[] NmRoomGuWrkA)
Load Room |
boolean |
load(JDCConnection oConn,
java.lang.Object sNmRoom,
java.lang.Object sGuWorkArea)
Load Room |
| Methods inherited from class com.knowgate.dataobjs.DBPersist |
|---|
allcaps, allcaps, changelog, clear, clone, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getInteger, getIntervalPart, getItemMap, getItems, getMoney, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTableName, getTime, getTimeOfDay, getTimestamp, getUIdFromName, isEmpty, isNull, iterator, keySet, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, size, store, toLowerCase, toUpperCase, toXML, toXML, toXML, toXML, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Field Detail |
|---|
public static final short ClassId
| Constructor Detail |
|---|
public Room()
| Method Detail |
|---|
public boolean load(JDCConnection oConn,
java.lang.Object sNmRoom,
java.lang.Object sGuWorkArea)
throws java.sql.SQLException
oConn - JDCConnectionsNmRoom - String Room namesGuWorkArea - String WorkArea Guid
java.sql.SQLException
public boolean load(JDCConnection oConn,
java.lang.Object[] NmRoomGuWrkA)
throws java.sql.SQLException
load in class DBPersistoConn - JDCConnectionNmRoomGuWrkA - Object[] { Room Name, WorkArea Guid}
java.sql.SQLException
public boolean delete(JDCConnection oConn)
throws java.sql.SQLException
DBPersistDelete a register from database
The deleted register will be the one matching this DBPersist primary key, as set at constructor or load() method.
delete in class DBPersistoConn - Database connection
java.sql.SQLException
public java.lang.String getMeetingForDate(JDCConnection oConn,
java.util.Date dtFrom,
java.util.Date dtTo)
throws java.sql.SQLException
oConn - JDCConnectiondtFrom - Date FromdtTo - Date To
java.sql.SQLException
public boolean isAvailable(JDCConnection oConn,
java.util.Date dtFrom,
java.util.Date dtTo)
throws java.sql.SQLException
oConn - JDCConnectiondtFrom - Date FromdtTo - Date To
java.sql.SQLException
public static boolean delete(JDCConnection oConn,
java.lang.String sRoomNm,
java.lang.String sWrkAId)
throws java.sql.SQLException
Delete Room
Calls k_sp_del_room stored procedure
oConn - Database ConnectionsRoomNm - Room NamesWrkAId - Identifier of WorkArea to witch Room belongs
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||