Class OdfRefTableDataHelper.OdfRefTableDataResult

java.lang.Object
org.ametys.odf.init.OdfRefTableDataHelper.OdfRefTableDataResult
Enclosing class:
OdfRefTableDataHelper

Result of the ODF reference table data synchronization.
  • Constructor Details

  • Method Details

    • addDetails

      protected void addDetails(String contentTypeId, Map<String,Object> result)
      Add the result by content type
      Parameters:
      contentTypeId - the content type identifier
      result - the result
    • incrementImported

      protected void incrementImported(Integer imported)
      Increment the number of imported elements
      Parameters:
      imported - number of new elements
    • addSuccess

      protected void addSuccess(String item)
      Add the item to the success list
      Parameters:
      item - the item to add
    • addPartial

      protected void addPartial(String item)
      Add the item to the partial list
      Parameters:
      item - the item to add
    • addFail

      protected void addFail(String item)
      Add the item to the fail list
      Parameters:
      item - the item to add
    • getImported

      public Integer getImported()
      Get the number of imported elements
      Returns:
      the number of imported elements
    • getSuccess

      public List<String> getSuccess()
      Get the list of successful elements
      Returns:
      the list of successful elements
    • getPartial

      public List<String> getPartial()
      Get the list of partially successful elements
      Returns:
      the list of partially successful elements
    • getFail

      public List<String> getFail()
      Get the list of failed elements
      Returns:
      the list of failed elements
    • duration

      public String duration()
      Get the duration with format HH:mm from the object creation
      Returns:
      the duration
    • resume

      public String resume()
      Resume the result
      Returns:
      resume of the result