Class InternalStorageTranslationRepo

java.lang.Object
org.damap.base.repo.InternalStorageTranslationRepo
All Implemented Interfaces:
io.quarkus.hibernate.orm.panache.PanacheRepository<InternalStorageTranslation>, io.quarkus.hibernate.orm.panache.PanacheRepositoryBase<InternalStorageTranslation,Long>

@ApplicationScoped public class InternalStorageTranslationRepo extends Object implements io.quarkus.hibernate.orm.panache.PanacheRepository<InternalStorageTranslation>
InternalStorageTranslationRepo class.
  • Constructor Details

    • InternalStorageTranslationRepo

      public InternalStorageTranslationRepo()
  • Method Details

    • getAllInternalStorageByLanguage

      public List<InternalStorageTranslation> getAllInternalStorageByLanguage(String languageCode)
      getAllInternalStorageByLanguage.
      Parameters:
      languageCode - a String object
      Returns:
      a List object
    • getInternalStorageById

      public InternalStorageTranslation getInternalStorageById(Long storageId, String languageCode)
      getInternalStorageById.
      Parameters:
      storageId - a Long object
      languageCode - a String object
      Returns:
      a InternalStorageTranslation object
    • getAllInternalStorageTranslationsByStorageId

      public List<InternalStorageTranslation> getAllInternalStorageTranslationsByStorageId(Long storageId)
    • existsTranslationForStorageIdAndLanguageCode

      public boolean existsTranslationForStorageIdAndLanguageCode(Long storageId, String languageCode)
    • existsTranslationForStorageIdAndLanguageCodeExceptId

      public boolean existsTranslationForStorageIdAndLanguageCodeExceptId(Long storageId, String languageCode, Long id)
    • deleteAllTranslationsForInternalStorage

      public void deleteAllTranslationsForInternalStorage(Long storageId)