fferpcore.MessagingButtonControllerglobal with sharing class MessagingButtonController A controller class for processing records from the button activation method. This class is intended for use with the automatically generated Visualforce pages to invoke the methods on this class. Methods
MessagingButtonControllerglobal MessagingButtonController(ApexPages.StandardController controller) Constructor for the messaging button controller when passing in a standard controller. Input Parameters
Sample Datanew ApexPages.StandardController(new Contact()) MessagingButtonControllerglobal MessagingButtonController(ApexPages.StandardSetController setController) Constructor for the messaging button controller when passing in a standard set controller. Input Parameters
Sample Datanew ApexPages.StandardSetController( getControllerglobal ApexPages.StandardController getController() Get the standard controller used by the messaging button controller. Return ValueThe standard controller. getSetControllerglobal ApexPages.StandardSetController getSetController() Get the standard set controller used by the messaging button controller. Return ValueThe the standard set controller. getIsConfirmedglobal Boolean getIsConfirmed() Get information about whether a user has confirmed that they want to send messages for the specified records. Return ValueTrue when a user has confirmed that they want to send messages for the specified records. False if confirmation has not been provided. getHasErrorglobal Boolean getHasError() Get information about whether any messaging errors occurred. Return ValueTrue if errors occurred during message delivery. False if messages were delivered successfully. getErrorsglobal String getErrors() Get details of any errors that occurred. Return ValueA string containing a description of any errors that occurred. setPublicationIdentifierglobal void setPublicationIdentifier(String publicationIdentifier) Set the publication identifier. Input Parameters
getPublicationIdentifierglobal String getPublicationIdentifier() Get the publication identifier. Return ValueA string containing the publication identifier. getOkButtonLabelglobal String getOkButtonLabel() getCancelButtonLabelglobal String getCancelButtonLabel() getConfirmButtonLabelglobal String getConfirmButtonLabel() getPageTitleglobal String getPageTitle() getSuccessMessageglobal String getSuccessMessage() getErrorMessageglobal String getErrorMessage() getConfirmMessageglobal String getConfirmMessage() getHelpUrlglobal PageReference getHelpUrl() Get the help ID for this page. Return ValueThe help page reference. deliverRecordMessageglobal void deliverRecordMessage() A method called from a Visualforce page to deliver a single specific record. Typically called by a Visualforce page linked to a record detail page. deliverListMessagesglobal void deliverListMessages() A method called from a Visualforce page to deliver multiple records. Typically called by a Visualforce page linked to a list view that has one or more records selected. |