PSA Core

appirio_core.ControllerUtil

global inherited sharing class ControllerUtil

Utility class for controllers

This class contains deprecated items.

Methods

addPageError

global static void addPageError(String err)

Convenience method to add a page error.

logException

global static void logException(Exception e)

Common routine for logging a page exception that occurs in a page controller. This method logs the message to Apex debug and adds a VF page error.

Deprecated

The following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions.

Methods

getReturnUrl

Deprecated: in favor of the PSA ControllerUtil implementation kept to avoid breaking changes.

global static PageReference getReturnUrl(String fallbackUrl)

Returns the url from the retUrl URL parameter from the page's URL or the value of the fallbackUrl method parameter if no retUrl parameter was specifiied.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.