コード例 #1
0
 @Override
 public void addAddress(AddressVO address, String userId) {
   try {
     address.setCountryId(1);
     address.setIsActive("y");
     addressDao.addAddress(address, userId);
   } catch (SapeStoreException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
コード例 #2
0
 @Override
 public Integer getCityIdByName(String cityName) {
   return addressDao.getCityIdByName(cityName);
 }
コード例 #3
0
 @Override
 public Address getAddressById(Integer addressId) {
   return addressDao.getAddressById(addressId);
 }
コード例 #4
0
 @Override
 public List<Address2> getAddress(String userId) {
   return addressDao.retrieveFromId(userId);
 }
コード例 #5
0
  @Override
  public List<State> getStates() throws SapeStoreException {

    return addressDao.getStateList();
  }
コード例 #6
0
 @Override
 public List<City> getCities() throws SapeStoreException {
   // TODO Auto-generated method stub
   return addressDao.getCityList();
 }