{"id":19075585,"url":"https://github.com/vimaltiwari2612/salesforceapexutilites","last_synced_at":"2026-02-11T00:02:24.727Z","repository":{"id":190008808,"uuid":"252178198","full_name":"vimaltiwari2612/SalesforceApexUtilites","owner":"vimaltiwari2612","description":"Collection of Classes that uses Apex standard APIs like Schema or Describe and return results dynamically. Also, some Architectures and Frameworks using Apex ","archived":false,"fork":false,"pushed_at":"2021-06-27T10:09:06.000Z","size":113,"stargazers_count":15,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T18:16:44.616Z","etag":null,"topics":["apex","apex-trigger","apex-trigger-framework","apex-trigger-handler","apex-triggers","architecture","framwework","object-oriented-programming","salesforce","salesforce-apex","salesforce-api","salesforce-developers","salesforce-lightning","salesforce-lightning-components","salesforce-rest-api","schema","tree-structure","triggers","visualforce"],"latest_commit_sha":null,"homepage":"https://vimal-tiwari-sfdc.herokuapp.com/","language":"Apex","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vimaltiwari2612.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-01T13:08:13.000Z","updated_at":"2024-03-27T16:14:03.000Z","dependencies_parsed_at":"2023-08-22T22:05:23.003Z","dependency_job_id":null,"html_url":"https://github.com/vimaltiwari2612/SalesforceApexUtilites","commit_stats":null,"previous_names":["vimaltiwari2612/salesforceapexutilites"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimaltiwari2612%2FSalesforceApexUtilites","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimaltiwari2612%2FSalesforceApexUtilites/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimaltiwari2612%2FSalesforceApexUtilites/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimaltiwari2612%2FSalesforceApexUtilites/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vimaltiwari2612","download_url":"https://codeload.github.com/vimaltiwari2612/SalesforceApexUtilites/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240127088,"owners_count":19751938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apex","apex-trigger","apex-trigger-framework","apex-trigger-handler","apex-triggers","architecture","framwework","object-oriented-programming","salesforce","salesforce-apex","salesforce-api","salesforce-developers","salesforce-lightning","salesforce-lightning-components","salesforce-rest-api","schema","tree-structure","triggers","visualforce"],"created_at":"2024-11-09T01:55:13.667Z","updated_at":"2025-10-14T12:11:15.968Z","avatar_url":"https://github.com/vimaltiwari2612.png","language":"Apex","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SalesforceApexUtilites\n\nMany times, we came across such scenarios, where we need to use Apex standard APIs like Schema or Describe, and we end up searching the code on the Internet.\n\nHere is a Util class, that you can deploy in your org and use it whenever needed. Also, add new methods in it, if required.\n\nThe class had All the bulkified versions of all methods too.\n\nhttps://medium.com/elevate-salesforce/salesforce-apex-utilities-fe11692a9288\n\n\n--------------------------------------------------\n# Trigger Framework POC \n\nComplete Details : \n\nhttps://medium.com/elevate-salesforce/apex-trigger-framework-a-generic-way-to-join-tigger-contexts-46c4d9277db0\n\n***This Framework is beneficial when we have more than one triggers on any object. This Framwwork will help us to keep only one trigger on an object irrrespective of different packages and business use cases***\n\nDevelopers extend \"AbstractTriggerContext\" class, and override necessary methods which are needed.\nThen they need to register their classes in a Custom meta data with the context and operation type\n\n**Framework Overview**\n\nThe idea is to join all the trigger contexts of similar types, together. For example, all BEFORE (INSERT/UPDATE/DELETE) will run together, doesn’t matter, it’s a package trigger or custom trigger logic added by customers.\n\n![Trigger idea](https://user-images.githubusercontent.com/22127564/123540521-0aea7500-d75d-11eb-81f4-768b7dad307f.png)\n\n\n**Architecture Overview**\n\n![Image](https://github.com/vimaltiwari2612/SalesforceApexUtilites/blob/master/Trigger%20Framework/TriggerFramework.png)\n\n\n\n\n\n\n    Custom Meta Data details\n    1. Class Name : Name of class\n    2. Context : Before/After\n    3. operation : delete, undelete, insert, update\n    4. object name : for which object you want to run given class code\n    5. Is Active : to enable /disable trigge logics\n    \n\n    Usage : Sample Account Trigger\n    trigger AccountTrigger on Account (before insert, after insert) {\n\n            AbstractTriggerContext.run('Account',Trigger.operationType,Trigger.new, Trigger.old,Trigger.newMap,Trigger.oldMap);\n    }\n    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimaltiwari2612%2Fsalesforceapexutilites","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvimaltiwari2612%2Fsalesforceapexutilites","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimaltiwari2612%2Fsalesforceapexutilites/lists"}