Skip navigation links


org.apache.myfaces.trinidad.model
Interface RowLimitMutator


public interface RowLimitMutator

Identifies a collection whose row limit can be mutated.


Method Summary
 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.

Skip navigation links


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