Interface EditorConfigDAO

All Superinterfaces:
org.exoplatform.commons.api.persistence.GenericDAO<EditorConfigEntity,Long>
All Known Implementing Classes:
EditorConfigDAOImpl

public interface EditorConfigDAO extends org.exoplatform.commons.api.persistence.GenericDAO<EditorConfigEntity,Long>
  • Method Details

    • getConfigByKey

      List<EditorConfigEntity> getConfigByKey(String key)
    • getConfigByDocId

      List<EditorConfigEntity> getConfigByDocId(String docId)
    • getActiveConfigByDocId

      List<EditorConfigEntity> getActiveConfigByDocId(String docId)
    • getClosedConfigBefore

      List<EditorConfigEntity> getClosedConfigBefore(long expirationTime, int limit)
    • closeUnopenedConversionConfigs

      int closeUnopenedConversionConfigs(long closedTime)
      Closes, at the given time, the active configs built for a conversion that no editor ever opened: not open, no closed time (a closing config has one), and an empty explorer URL, which only a conversion config and its copies have.
      Parameters:
      closedTime - the closed time to set
      Returns:
      the number of closed configs