Event wrapped object with camel case properties. Each properties maps to a field on the SObject that has _ for each capital letter. Ex. (displayName -> Display_Name__c)

Method Summary

Modifier and Type Method and Description
void Event()
Event getInstance()
Event getInstance(EventApi__Event__c eventObj)
List<Event> getInstance(List eventObjs)
void fromSObject(SObject eventObj)
void toSObject()
Object Value from SObject getFieldValueFromSObject(String fieldName)

Method Detail

This class supports the following methods:

global Event()

Event Constructor that should not be called directly.


global static Event getInstance()

Get base instance with no initial S0bject.


global static Event getInstance(EventApi__Event__c eventObj)

Get base instance with an initial SObject.
Parameters

Name Type Description
eventObj EventApi__Event__c EventApi__Event__c

global static List<Event> getInstance(List<EventApi__Event__c> eventObjs)

Get base instance with list of initial SObjects.
Parameters

Name Type Description
eventObjs List<EventApi__Event__c> List

global virtual override void fromSObject(SObject eventObj)

Convert SObject to wrapped object
Parameters

Name Type Description
eventObj SObject EventApi__Event__c

global virtual override SObject toSObject()

global virtual override Object getFieldValueFromSObject(String fieldName)

Get value from the SObject where the system will not throw an error if you do not query the field. This will also allow users to query fields that Fonteva does not ship.
Parameters

Name Type Description
fieldName String String

Properties

Name Type Description
name String
displayName String
id String
currencyISOCode String
isMultiCurrency Boolean
description String
isFeatured Boolean
isActive Boolean
isPublished Boolean
thumbnailImageUrl String
imageUrl String
bannerImageUrl String
startDate Date
endDate Date
eventObj EventApi__Event__c
registrationStyle String
registrationTimer Decimal