RMS.Approval

Description

Approval related functions.

Categories

NameDescription
WorklistWorkList functions

Functions

NameSignature and Synopsis
copyApprovedDomainModelvoid copyApprovedDomainModel(String inputDirpath, String destPath)
This function loads and returns decision project from the directory passed
createDecisionProjectObject createDecisionProject(String dpPayload, boolean optimized)
This function returns a decision project object created out of the string payload,
getAllImplementationsInProjectObject getAllImplementationsInProject(Object decisionProject)
Returns a list of all Implementations in the project
getArtifactBitsString getArtifactBits(String artifactLoc)
Gets a string representation of an artifact used to create a Decision Project.
getImplPathsString[] getImplPaths(Object implsList)
This function searches the entire list of implementations and returns paths of all of them as an array of strings
getMatchingImplementationString getMatchingImplementation(Object implList, String implPath)
This function searches the entire decision project and returns a string representation of the implementation matching the requested path
loadDecisionProjectFromDirObject loadDecisionProjectFromDir(String dirPath)
This function loads and returns decision project from the directory passed
persistDecisionProjectboolean persistDecisionProject(Object dp, String dpName, String baseDir)
Returns true if the decision project was persisted else false
populateDecisionProjectMetadatavoid populateDecisionProjectMetadata(Concept dpConcept, Object decisionProject)
This function creates and populates DecisionProjectMetadata concept properties with the metadata of the incoming Decision Project, and sets the concept as a contained concept
writeTestDatavoid writeTestData(String fileName, String contents)
This function writes base64 encoded contents represented as string onto the disk in form of a zip file named TestData.zip
zipTestDatavoid zipTestData(String srcFolder, String zipFileName)
This function creates a zip file out of a source folder, and all of its children.