Interface DataTablesResponseModel

  • All Known Implementing Classes:
    DTProject, DTProjectSamples

    public interface DataTablesResponseModel
    Responsible for adding a DataTables rowId property to the response. This is important for being able to properly handle row selection with page refresh (and paging) in DataTables. Also we cannot just use a regular identifier since this must be a valid HTML id, which must not have an integer as its first character.
    See Also:
    DataTable rowId
    • Method Detail

      • getId

        java.lang.Long getId()
        Get the id of the object being displayed
        Returns:
        the Long id of the object
      • getDT_RowId

        default java.lang.String getDT_RowId()
        Get the datatables row prefixed id
        Returns:
        the datatables row prefixed id