GridSettings¶
-
public class
GridSettings
¶ The grid settings coming from the jqgrid plugin.
Fields¶
Methods¶
containsLanguage¶
getLanguages¶
getSortColumn¶
getSortDirection¶
isCorrect¶
-
public boolean
isCorrect
(String contentName, String contentLanguage, String contentType)¶ Checks whether given parameters from a content match these grid settings.
Parameters: - contentName – the name of the content
- contentLanguage – the language of the content
- contentType – the type of the content (stream or string)
Returns: true if the content matches these grid settings, false otherwise
isDescending¶
-
public boolean
isDescending
()¶ Checks whether the sorting direction for these settings is descending (equal to “desc”).
Returns: true if ordering direction is descending, false otherwise