public class OrganizationDao extends ru.bitel.common.dao.AbstractDao<Organization>
Constructor and Description |
---|
OrganizationDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
void |
deleteOrganization(int organizationId) |
Organization |
getDefaultOrganization() |
protected Organization |
getFromRS(java.sql.ResultSet rs) |
Organization |
getOrganization(int id) |
java.util.List<Organization> |
getOrganizationList() |
java.util.List<IdTitle> |
getOrganizationTitleList(java.lang.Boolean inUse) |
void |
setDefaultOrganization(int organizationId) |
protected void |
updateImpl(Organization organization) |
public Organization getOrganization(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Organization> getOrganizationList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteOrganization(int organizationId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void setDefaultOrganization(int organizationId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Organization getDefaultOrganization() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<IdTitle> getOrganizationTitleList(java.lang.Boolean inUse) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected Organization getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<Organization>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(Organization organization) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<Organization>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException