|
此文章由 fuleinist 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 fuleinist 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本帖最后由 fuleinist 于 2016-7-26 16:03 编辑
考点总结:
App/Governor Limit:
http://resources.docs.salesforce ... mits_cheatsheet.pdf
Merge Fields Syntax:
https://help.salesforce.com/apex ... htm&language=en
Testing in Apex:
https://developer.salesforce.com ... de/apex_testing.htm
Debugging Apex
https://developer.salesforce.com ... /apex_debugging.htm
Apex Transactions, Order of Execution:
- Page Layout Specifiy Rules (from UI)
- Before Triggers
- System Validation
- Custom Validation
- Data Saved - Not Commited
- OOTB Functions (Assignment, Escalation, Workflow)
- Parent Record Update
- Data Commited to DB
- Post Commit Logic - (send Mails)
In which order does Salesforce execute events upon saving a record?
Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit
Tips About Sharing:
Apex Design Patterns
- Singleton
- Strategy
- sObject Decorator
- Bulk State Transition
What is a capability of cross-object formula fields?
Formula fields can:
*Reference fields from master-detail or lookup parent relationships
*Expose data the user does not have access to in a record.
*Reference fields from objects that are up to 10 relationships away.
Why would a developer use Test.startTest() and Test.stopTest()?
To create an additional set of governor limits during the execution of a single test class
What is an accurate statement about with sharing keyword?
* Both inner and outer classes can be declared as with sharing
* Inner classes do not inherit the sharing setting from the container class
How can a developer refer to, or instantiate, a PageReference in Apex?
* By using the Page object and a visualforce page name
* By using a pageReference with a partial or full URL
In an organisation that has enabled multiple currencies, a developer needs to aggregate the sum of the Estimated_value__c currency field from the CampaignMember object using a roll-up summary field called Total_estimated_value__c on Campaign.
The values in CampaignMember.Estimated_value__c are converted into the currency of the Campaign record, and the sum is displayed using the currency on the Campaign record. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|