Interface ViewPreferences


  • @ProviderType
    public interface ViewPreferences
    Interface for the AEM Inbox View Preferences
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getSortByProperty()
      Returns the property by which AEM inbox items are sorted or null if property is not present
      java.lang.String getSortOrder()
      Returns the sort order of AEM inbox items (Ascending/Descending) or null if property is not present
      void setSortByProperty​(java.lang.String sortByProperty)
      Set the property by which AEM inbox items are sorted or null to clear current property
      void setSortOrder​(java.lang.String sortOrder)
      Set the sort order of AEM inbox items (Ascending/Descending) or null to clear current property
    • Method Detail

      • getSortByProperty

        @Nullable
        java.lang.String getSortByProperty()
        Returns the property by which AEM inbox items are sorted or null if property is not present
        Returns:
        The property by which AEM inbox items are sorted
      • setSortByProperty

        void setSortByProperty​(@Nullable
                               java.lang.String sortByProperty)
        Set the property by which AEM inbox items are sorted or null to clear current property
        Parameters:
        sortByProperty - The property by which AEM inbox items are sorted
      • getSortOrder

        @Nullable
        java.lang.String getSortOrder()
        Returns the sort order of AEM inbox items (Ascending/Descending) or null if property is not present
        Returns:
        The sort order of AEM inbox items
      • setSortOrder

        void setSortOrder​(@Nullable
                          java.lang.String sortOrder)
        Set the sort order of AEM inbox items (Ascending/Descending) or null to clear current property
        Parameters:
        sortOrder - The sort order of AEM inbox items