Class ResourceManager<T extends Resource>
java.lang.Object
bitel.billing.server.admin.resource.bean.ResourceManager<T>
- Direct Known Subclasses:
 IPResourceRangeManager,NumberResourceManager
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidchangeResourceCategory(String ids, int categoryId) voiddeleteResource(String id) intgetResourceCount(int categoryId) protected abstract Tprotected abstract Stringprotected voidloadStandartResourceFromRs(ResultSet rs, Resource res) static ResourceManager<?>newResourceManager(String module, Connection con, int mid) voidabstract voidupdateResource(T res)  
- 
Field Details
- 
con
 - 
mid
protected int mid - 
tableName
 
 - 
 - 
Constructor Details
- 
ResourceManager
 
 - 
 - 
Method Details
- 
changeResourceCategory
- Throws:
 SQLException
 - 
getResourceCount
- Throws:
 SQLException
 - 
deleteResource
- Throws:
 SQLException
 - 
loadStandartResourceFromRs
- Throws:
 SQLException
 - 
updateResource
- Throws:
 SQLException
 - 
getResourceFromRs
- Throws:
 SQLException
 - 
getTableName
 - 
newResourceManager
public static ResourceManager<?> newResourceManager(String module, Connection con, int mid) throws ru.bitel.bgbilling.common.BGException - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
syncResourceUse
public void syncResourceUse() throws ru.bitel.bgbilling.common.BGException- Throws:
 ru.bitel.bgbilling.common.BGException
 
 -