public class CustomerGroupDAO extends CommonDAO
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_LEFT_JOIN, SQL_LIMIT, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
Constructor and Description |
---|
CustomerGroupDAO(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
deleteGroup(int id) |
CustomerGroup |
getGroupById(int id) |
java.util.List<CustomerGroup> |
getGroupList() |
void |
searchGroup(SearchResult<CustomerGroup> searchResult) |
void |
updateGroup(CustomerGroup group) |
addLikeSql, convertDateToSqlDate, convertDateToTimestamp, deleteById, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, updateColumn, updateIds, updateIds
public void searchGroup(SearchResult<CustomerGroup> searchResult) throws BGException
BGException
public java.util.List<CustomerGroup> getGroupList() throws BGException
BGException
public CustomerGroup getGroupById(int id) throws BGException
BGException
public void updateGroup(CustomerGroup group) throws BGException
BGException
public void deleteGroup(int id) throws BGException
BGException