Resources¶
-
public class
Resources
implements Serializable¶ A collection of
org.motechproject.cmslite.web.ResourceDto
objects to be displayed on the jqgrid. It also contains paging information for the grid.
Constructors¶
Resources¶
-
public
Resources
(GridSettings settings, List<ResourceDto> list)¶ Constructs an instance from the list of resources (by creating a sub-list) and the given grid settings.
Parameters: - settings – the grid settings to use
- list – the list of all available records
Methods¶
getRows¶
-
public List<ResourceDto>
getRows
()¶ Returns: list of org.motechproject.cmslite.web.ResourceDto
instances that will displayed on the grid