myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Wu (JIRA)" <>
Subject [jira] [Created] (TRINIDAD-2353) Add RowLimitMutator interface
Date Tue, 22 Jan 2013 22:56:13 GMT
Jing Wu created TRINIDAD-2353:

             Summary: Add RowLimitMutator interface
                 Key: TRINIDAD-2353
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: 2.0.1-core
         Environment: environment independent. 
            Reporter: Jing Wu
            Priority: Minor

Add RowLimitMutator interface for cases where row limit can be mutated.

package org.apache.myfaces.trinidad.model;

 * Identifies a collection whose row limit can be mutated.
public interface RowLimitMutator
   * Mutate the row limit of this collection, it returns the old row limit.
   * @param 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
   * @returns the old row limit.
   * @throws IllegalArgumentException if <em>newLimit</em> is 0 or any negative
   *   other than CollectionModel.UNKNOWN_ROW_LIMIT and CollectionModel.UNLIMITED_ROW.
  public int setRowLimit(int newLimit);

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message