コード例 #1
0
ファイル: ClientService.java プロジェクト: johnjohndoe/odo
 public int getIdFromClientUUID(String uuid) {
   return (Integer)
       sqlService.getFromTable(
           Constants.GENERIC_ID, Constants.CLIENT_CLIENT_UUID, uuid, Constants.DB_TABLE_CLIENT);
 }
コード例 #2
0
ファイル: ClientService.java プロジェクト: johnjohndoe/odo
 // gets the profile_name associated with a specific id
 public String getProfileIdFromClientId(int id) {
   return (String)
       sqlService.getFromTable(
           Constants.CLIENT_PROFILE_ID, Constants.GENERIC_ID, id, Constants.DB_TABLE_CLIENT);
 }
コード例 #3
0
ファイル: ClientService.java プロジェクト: johnjohndoe/odo
 public String getClientUUIDfromId(int id) {
   return (String)
       sqlService.getFromTable(
           Constants.CLIENT_CLIENT_UUID, Constants.GENERIC_ID, id, Constants.DB_TABLE_CLIENT);
 }