コード例 #1
0
 /**
  * Returns all the nganh nghe kinh doanh
  *
  * @return the nganh nghe kinh doanh
  * @throws SystemException if a system exception occurred
  */
 public GioiTinhSoap[] getDSGioiTinh() {
   try {
     return GioiTinhSoap.toSoapModels(GioiTinhLocalServiceUtil.getDSGioiTinh());
   } catch (Exception e) {
     // TODO: handle exception
     e.printStackTrace();
   }
   return null;
 }
コード例 #2
0
  @Override
  public GioiTinhSoap getGioiTinhTheoId(Long id) {
    // TODO Auto-generated method stub
    try {
      return GioiTinhSoap.toSoapModel(GioiTinhLocalServiceUtil.getGioiTinh(id));

    } catch (Exception e) {
      // TODO Auto-generated catch block

    }
    return null;
  }