Class ResourceUseManager<T extends ResourceUse>
java.lang.Object
bitel.billing.server.admin.resource.bean.ResourceUseManager<T>
- Direct Known Subclasses:
NumberResourceUseManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeResourceUse
(int cid, Date date) void
freeResources
(int cid) getResourceUse
(int resourceId) protected abstract T
protected abstract String
protected abstract void
insertResourceUseList
(int resourceId, List<T> resourceUseList) protected void
void
updateResourceUse
(int resourceId, List<T> useList) boolean
wasResourceUsed
(String resourceId)
-
Field Details
-
con
-
tableName
-
mid
protected int mid
-
-
Constructor Details
-
ResourceUseManager
-
-
Method Details
-
getResourceUse
-
updateResourceUse
-
insertResourceUseList
protected abstract void insertResourceUseList(int resourceId, List<T> resourceUseList) throws Exception - Throws:
Exception
-
wasResourceUsed
-
loadStandartResourceUseFromRs
- Throws:
Exception
-
getResourceUseFromRs
-
getTableName
-
freeResources
public void freeResources(int cid) -
closeResourceUse
-