Class SalesforceFunctions
java.lang.Object
flexagon.fd.services.groovy.functions.BaseFunctions
flexagon.fd.services.groovy.functions.SalesforceFunctions
Utility functions used for making Salesforce calls
- Since:
- 6.0
-
Field Summary
Fields inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
mFLOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()voiddiscoverFilesAndCommit(Long pProjectId, Long pBranchId, String pPackageName, String pAccountCode, String pCommitMessage, String pCommitUser, String pFileType, String pFileName) Discover partial deployment files from Salesforce Account for a given project.Methods inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
captureSecureValues, captureSecureValuesForLogFunction, decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getBinding, getLogFunctions, getServerBaseUrl, setBinding
-
Constructor Details
-
SalesforceFunctions
-
-
Method Details
-
discoverFilesAndCommit
public void discoverFilesAndCommit(Long pProjectId, Long pBranchId, String pPackageName, String pAccountCode, String pCommitMessage, String pCommitUser, String pFileType, String pFileName) throws FlexCheckedException Discover partial deployment files from Salesforce Account for a given project. This will automatically save populate changes.- Parameters:
pProjectId- Project id to populate files for. This should be a project using partial deployment.pBranchId- Branch id to use when populating.pPackageName- The package name (optional), if you wish to add discovered files to package.pAccountCode- The cloud account code for discovering files.pCommitMessage- Commit message.pCommitUser- Username for commit.pFileType- The File / Object type.pFileName- The File names with path. Can be a comma-separated list of file names.- Throws:
FlexCheckedException
-
getGroovyKey
- Specified by:
getGroovyKeyin classBaseFunctions
-
cleanup
public void cleanup()- Specified by:
cleanupin classBaseFunctions
-