public class GsmDao extends CommonDAO
Modifier and Type | Class and Description |
---|---|
static class |
GsmDao.OnecAuthentication |
class |
GsmDao.UserCar |
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_INSERT_IGNORE, SQL_LEFT_JOIN, SQL_LEFT_OUTER_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_OR, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
Constructor and Description |
---|
GsmDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateAddressFrom(int userId,
WaybillAddress waybillAddress) |
java.lang.String |
generateAddressTo(int userId,
WaybillAddress waybillAddress) |
DailyWaybillAddress |
getAddresses(int userId,
java.util.Date date) |
java.util.List<DailyWaybillAddress> |
getAddresses(int userId,
java.util.List<java.util.Date> workerDays,
int cityIdOfficeAddress) |
java.util.List<DailyWaybillAddress> |
getDailyWaybillAddressesFromProcess(int userId,
java.util.List<java.util.Date> workerDays) |
static GsmDao.OnecAuthentication |
getOnecAuthentication() |
java.lang.String |
getQueryCityTitleAndStreetTitle(WaybillAddress waybillAddress) |
java.util.Map<java.lang.String,java.util.List<Route>> |
getRoutes(java.util.Date dateFrom,
java.util.Date dateTo,
int userId) |
java.util.List<GsmDao.UserCar> |
getUserCarList(java.lang.String name)
Получение списка доступных водителю автомобилей
|
java.lang.String |
getWaybill(java.lang.String number,
java.lang.String date) |
java.util.List<Pair<java.util.Date,WaybillAddress>> |
getWaybillAddressesFromProcess(int userId,
java.util.List<java.util.Date> workerDays) |
java.util.List<WaybillAddress> |
getWaybillAddressesFromSEGroupQuartersWhichEqualsOfficeCityId(int userId,
int officeCityId) |
java.util.List<WaybillAddress> |
getWaybillAddressesFromSEGroupQuartersWhichNotEqualsOfficeId(int userId,
int officeCityId) |
WebServicePortType |
getWebServicePortType() |
deleteById, execute, execute, execute, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds
public GsmDao(java.sql.Connection con) throws BGException
BGException
public WebServicePortType getWebServicePortType()
public java.util.Map<java.lang.String,java.util.List<Route>> getRoutes(java.util.Date dateFrom, java.util.Date dateTo, int userId) throws BGException, java.sql.SQLException
BGException
java.sql.SQLException
public DailyWaybillAddress getAddresses(int userId, java.util.Date date) throws BGException
BGException
public java.util.List<DailyWaybillAddress> getAddresses(int userId, java.util.List<java.util.Date> workerDays, int cityIdOfficeAddress) throws BGException
BGException
public java.util.List<DailyWaybillAddress> getDailyWaybillAddressesFromProcess(int userId, java.util.List<java.util.Date> workerDays) throws BGException
BGException
public java.util.List<Pair<java.util.Date,WaybillAddress>> getWaybillAddressesFromProcess(int userId, java.util.List<java.util.Date> workerDays) throws BGException
BGException
public java.util.List<WaybillAddress> getWaybillAddressesFromSEGroupQuartersWhichNotEqualsOfficeId(int userId, int officeCityId) throws BGException
BGException
public java.util.List<WaybillAddress> getWaybillAddressesFromSEGroupQuartersWhichEqualsOfficeCityId(int userId, int officeCityId) throws BGException
BGException
public java.lang.String generateAddressFrom(int userId, WaybillAddress waybillAddress) throws BGException
BGException
public java.lang.String generateAddressTo(int userId, WaybillAddress waybillAddress) throws BGException
BGException
public java.lang.String getQueryCityTitleAndStreetTitle(WaybillAddress waybillAddress)
public java.lang.String getWaybill(java.lang.String number, java.lang.String date) throws BGMessageException
BGMessageException
public java.util.List<GsmDao.UserCar> getUserCarList(java.lang.String name)
name
- ФИО водителяpublic static GsmDao.OnecAuthentication getOnecAuthentication() throws BGException
BGException