What are the methods of the standardsetcontroller?

What are the methods of the standardsetcontroller?

The following are methods for StandardSetController. All are instance methods. Returns the PageReference of the original page, if known, or the home page. Returns the first page of records. Indicates whether there are more records in the set than the maximum record limit.

How does the standardsetcontroller work in Visualforce?

The StandardSetController class also contains a prototype object. This is a single sObject contained within the Visualforce StandardSetController class. If the prototype object’s fields are set, those values are used during the save action, meaning that the values are applied to every record in the set controller’s collection.

What causes a limitexception when instantiating standardsetcontroller?

Instantiating StandardSetController using a query locator returning more than 10,000 records causes a LimitException to be thrown. However, instantiating StandardSetController with a list of more than 10,000 records doesn’t throw an exception, and instead truncates the records to the limit.

How to set the filter ID of a controller?

Sets the filter ID of the controller. Sets the page number. Sets the number of records in each page set. Set the selected records. Sorry, the document you are looking for doesn’t exist or could not be retrieved.

What’s the maximum record limit for a standardsetcontroller?

This is useful for writing pages that perform mass updates (applying identical changes to fields within a collection of objects). Fields that are required in other Salesforce objects will keep the same requiredness when used by the prototype object. The maximum record limit for StandardSetController is 10,000 records.

What does a standardsetcontroller do in Salesforce?

StandardSetController Class StandardSetController objects allow you to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.

What does standardsetcontroller do in Salesforce developer community?

StandardSetController allow you to create list controllers. Link for further details: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_pages_standardsetcontroller.htm Hope it helps!

What’s the maximum number of Records a list controller can process?

Returns the first page of records. Indicates whether there are more records in the set than the maximum record limit. If this is false, there are more records than you can process using the list controller. The maximum record limit is 10,000 records.