public class NumberResourceUseManager extends ResourceUseManager<NumberResourceUse>
con, mid, tableName
Constructor and Description |
---|
NumberResourceUseManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkResourceOutRange(int resourceId,
java.util.Calendar date1,
java.util.Calendar date2) |
void |
closeResourceUse(int cid,
java.util.Date date) |
protected NumberResourceUse |
getResourceUseFromRs(java.sql.ResultSet rs) |
java.util.Map<java.lang.String,java.util.List<NumberResourceUse>> |
getResourceUseMap() |
protected java.lang.String |
getTableName() |
protected void |
insertResourceUseList(int resourceId,
java.util.List<NumberResourceUse> resourceUseList) |
freeResources, getResourceUse, loadStandartResourceUseFromRs, updateResourceUse, wasResourceUsed
public NumberResourceUseManager(java.sql.Connection con, int mid)
protected java.lang.String getTableName()
getTableName
in class ResourceUseManager<NumberResourceUse>
protected NumberResourceUse getResourceUseFromRs(java.sql.ResultSet rs)
getResourceUseFromRs
in class ResourceUseManager<NumberResourceUse>
public java.util.Map<java.lang.String,java.util.List<NumberResourceUse>> getResourceUseMap()
public boolean checkResourceOutRange(int resourceId, java.util.Calendar date1, java.util.Calendar date2)
protected void insertResourceUseList(int resourceId, java.util.List<NumberResourceUse> resourceUseList) throws java.lang.Exception
insertResourceUseList
in class ResourceUseManager<NumberResourceUse>
java.lang.Exception
public void closeResourceUse(int cid, java.util.Date date)
closeResourceUse
in class ResourceUseManager<NumberResourceUse>