Interface GlobalDescriptionDao

All Known Subinterfaces:
GlobalDescriptionDaoInternal
All Known Implementing Classes:
DefaultGlobalDescriptionDao

public interface GlobalDescriptionDao
  • Method Details

    • getGlobalDescription

      GlobalDescription getGlobalDescription()
      Find the global description by content type. Would be extremely slow operation when it is called on a cold instance because it has to scan the entire CONTENT table.
      Returns:
      global description record if found or null if not found
    • getGlobalDescriptionById

      GlobalDescription getGlobalDescriptionById(long recordId)
      Returns the global description record by id. It assumes that the caller knows ID of the global description record (for example, it was stored/cached somewhere else). Note that this method never returns invalid or wrong record. For example, if a record was not found, or a record with a wrong content type is found, this method will return null.
      Parameters:
      recordId - record id
      Returns:
      global description record if found or null if not found
      Since:
      8.1.0
    • save

      void save(GlobalDescription globalDescription)
      Since:
      9.0