Apex:
§ How we can do HARD delete record action using apex?
Answer: User APEX method emptyRecyleBin after deleting record.
§ How we can monitor the sequence of triggers?
Answer: Write helper class concept and calling from triggers.
§ How we can restrict user if any other user working on this record?
Answer: Use “FOR” keyword in SOQL.
§ Scenario: One user do not have access of object then we should not see records in custom table. How we can restrict?
Answer: Use “with sharing” keyword in controller class.
§ What are the drawbacks of SITE? Answer: Access and more customizations like VF.
§ How we can do HARD delete record action using apex?
Answer: User APEX method emptyRecyleBin after deleting record.
§ How we can monitor the sequence of triggers?
Answer: Write helper class concept and calling from triggers.
§ How we can restrict user if any other user working on this record?
Answer: Use “FOR” keyword in SOQL.
§ Scenario: One user do not have access of object then we should not see records in custom table. How we can restrict?
Answer: Use “with sharing” keyword in controller class.
§ What are the drawbacks of SITE? Answer: Access and more customizations like VF.
No comments:
Post a Comment