public TtsVoice findByCommandOrName(String inVoiceLibOrCommandName) {

    TtsVoice voice = TtsVoiceCommon.findByName(inVoiceLibOrCommandName);
    if (voice == null) {
      voice = TtsVoiceCommon.findByCommand(inVoiceLibOrCommandName);
    }

    return voice;
  }
 public TtsVoice findByCommandOrName(String voice, long language) {
   TtsVoice theResult;
   theResult = TtsVoiceCommon.findByName(voice);
   if (theResult == null) {
     theResult = TtsVoiceCommon.findByCommand(voice);
   }
   if (theResult == null) {
     theResult = TtsVoiceCommon.getDefaultVoice(language);
   }
   return theResult;
 }
 public List<TtsVoice> findAllByLang(Lang inLang) {
   return TtsVoiceCommon.getAllByLang(inLang);
 }
 public TtsVoice findByLang(long langId) {
   return TtsVoiceCommon.getDefaultVoice(langId);
 }
 public TtsVoice findByName(String inVoice) {
   return TtsVoiceCommon.findByName(inVoice);
 }