Ajax (1) Apex Class (12) Apex Trigger (2) Community (2) Home Page (1) HTML (4) Integration (3) JS (7) KB (1) Label (1) Licenses (1) Listing (1) Log (1) OOPs (5) Sharing (1) Static Resource (1) Test Class (3) URI (1) Visualforce (10)

Wednesday 5 March 2014

Apex Classes Used in Visualforce Controllers

Apex Classes Used in Visualforce Controllers

This appendix includes information about the system-supplied Apex classes that can be used when building customVisualforce controllers and controller extensions.

For more information on custom controllers and extensions, see Custom Controllers and Controller Extensions.

For more information on Apex, see the Force.com Apex Code Developer's Guide.

  • ApexPages Class 
    Use ApexPages to add and check for messages associated with the current page, as well as to reference the current page.
  • Action Class 
    You can use ApexPages.Action to create an action method that you can use in a Visualforce custom controller or controller extension.
  • Cookie Class 
    The Cookie class lets you access cookies for your Force.com site using Apex.
  • IdeaStandardController Class 
    IdeaStandardController objects offer Ideas-specific functionality in addition to what is provided by theStandardController.
  • IdeaStandardSetController Class 
    IdeaStandardSetController objects offer Ideas-specific functionality in addition to what is provided by theStandardSetController.
  • KnowledgeArticleVersionStandardController Class 
    KnowledgeArticleVersionStandardController objects offer article-specific functionality in addition to what is provided by the StandardController.
  • Message Class 
    Contains validation errors that occur when the end user saves the page when using a standard controller.
  • PageReference Class 
    A PageReference is a reference to an instantiation of a page. Among other attributes, PageReferences consist of a URL and a set of query parameter names and values.
  • SelectOption Class 
    SelectOption object specifies one of the possible values for a Visualforce selectCheckboxes,selectList, or selectRadio component.
  • StandardController Class 
    Use a StandardController when defining an extension for a standard controller.
  • StandardSetController Class 
    StandardSetController objects allow you to create list controllers similar to, or as extensions of, the pre-builtVisualforce list controllers provided by Salesforce.

No comments:

Post a Comment