org.apache.myfaces.trinidad.model

## Interface RowLimitMutator

-     public interface RowLimitMutator

  Identifies a collection whose row limit can be mutated.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `setRowLimit(int newLimit)` Mutate the row limit of this collection, it returns the old row limit.

- - ### Method Detail

    - #### setRowLimit

          int setRowLimit(int newLimit)

      Mutate the row limit of this collection, it returns the old row limit.
      Parameters:
        `newLimit` - the new limit of this collection to set to. A positive number: the maximum number of rows the collection can hold. CollectionModel.UNKNOWN_ROW_LIMIT: row limit is unknown. CollectionModel.UNLIMITED_ROW: there is no limit
      Throws:
        `IllegalArgumentException` - if newLimit is 0 or any negative number other than CollectionModel.UNKNOWN_ROW_LIMIT and CollectionModel.UNLIMITED_ROW.

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.