Class MappingManagerUtil
Resizable-array Implements all optional list operations.Each ArrayList instance has a capacity. The capacity is the size of the array used to store the elements in the list. It is always at least as large as the list size.Hash table based implementation provides all of the optional map operations.
RequestStatus return type methods will result in being returned as either true or false as its status.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ads.api.util.BaseUtil
com.ads.api.util.BaseUtil.TokenType -
Field Summary
Fields inherited from class com.ads.api.util.BaseUtil
AUTH_TOKEN, AUTH_TOKEN_TYPE -
Method Summary
Modifier and TypeMethodDescriptionaddMappingDocument(int mapId, Document document) MappingDocument is added for the specified mapId.addMappingDocument(int nodeId, Node.NodeType nodeType, String mapName, Document document) MappingDocument is added for the specified mapName.addMappingDocumentAs(int mapId, String document, String outputFormat) MappingDocument is added for the specified mapId.addMappingDocumentAs(int nodeId, String nodeType, String mapName, String document, String outputFormat) MappingDocument is added for the specified mapName.addMappingSpecification(int mapId, MappingSpecificationRow mappingSpecificationRow) Inserts a single row of mappingSpecification for the specified mapId,mappingSpecificationRow.addMappingSpecificationAs(int mapId, String mmMapSpecRowObjJson, String outputFormat) Inserts a single row of mappingSpecification for the specified mapId, mappingSpecificationRow.addMappingSpecifications(int mapId, ArrayList<MappingSpecificationRow> mappingSpecification) Inserts List of mappingSpecifications into the specified mapId.addMappingSpecificationsAs(int mapId, String mmMapSpecRowObjJsonArray, String outputFormat) Inserts List of mappingSpecifications into the specified mapId.baselineProject(int projectId, String versionLabel, String changeDescription) Appends the baseline to the project for the specified projectId.baselineProjectAs(int projectId, String versionLabel, String changeDescription, String outputFormat) Appends the baseline to the project for the specified projectId.cloneMapping(int srcMapId, boolean createNewVersion, String newMapName, int tgtNodeId, Node.NodeType tgtnodeType) Clone Mapping creates another copy of the map.cloneMapping(int srcNodeId, Node.NodeType srcnodeType, String srcMapName, boolean createNewVersion, String newMapName, int tgtNodeId, Node.NodeType tgtnodeType) Clone Mapping creates another copy of the map.cloneMappingAs(int srcMapId, boolean createNewVersion, String newMapName, int tgtNodeId, String tgtnodeType, String outputFormat) Clone Mapping creates another copy of the map.cloneMappingAs(int srcNodeId, String srcnodeType, String srcMapName, boolean createNewVersion, String newMapName, int tgtNodeId, String tgtnodeType, String outputFormat) Clone Mapping creates another copy of the map.createMapping(Mapping mapping) Creates Mapping With the specified Mapping Object.createMapping(Mapping mapping, boolean addSpecifications) Creates Mapping with the specified mapping object and addSpecifications.createMappingAs(String mmMappingObjJson, boolean addSpecifications, String outputFormat) Creates Mapping for the specified mappingObject in the JSON and addSpecifications.createMappingAs(String mmMappingObjJson, String outputFormat) Creates Mapping for the specified MappingObject in JSON.createMappings(List<Mapping> mappings, boolean addSpecifications) Creates Mappings with the specified mapping objects and addSpecifications.createMappings(List<Mapping> mappings, int fillOptions) Creates Mappings for the specified mapping objects and fillOptions.createMappingsAs(String mappings, boolean addSpecifications, String outputFormat) Creates Mappings for the specified mapping objects,addSpecifications and outputFormat.createMappingsWithFillOptions(String mappings, int fillOptions, String outputFormat) Creates Mappings for the specified mapping objects and fillOptions.createProject(Project project) Creates a project for the specified Project Object.createProjectAs(String mmProjectObjJson, String outputFormat) Creates a project for the specified Project Object in JSON.createSubject(int projectId, int parentSubjectId, String subjectName) Creates Subject for the specified ProjectId, ParentSubjectId and SubjectName.createSubject(int projectId, int parentSubjectId, String subjectName, String subjectDescription) Creates Subject for the specified ProjectId, ParentSubjectId, SubjectName and Subject Description.createSubject(Subject subject) Creates Subject for the specified Subject Object.createSubjectAs(int projectId, int parentSubjectId, String subjectName, String outputFormat) Creates Subject for the specified ProjectId, ParentSubjectId and subjectName in JSON.createSubjectAs(int projectId, int parentSubjectId, String subjectName, String subjectDescription, String outputFormat) Creates Subject for the specified ProjectId, ParentSubjectId, SubjectName and SubjectDescription in JSON.createSubjectAs(String mmSubjectObjJson, String outputFormat) Creates Subject for the specified SubjectObject in JSON.deleteMapping(int mappingId) Removes Mapping for the specified mappingId.deleteMapping(int mapId, APIConstants.VersionMode versionMode, float versionNo) Deletes the mapping of the specified mapId, versionMode.deleteMapping(int nodeId, Node.NodeType nodeType, String mapName, APIConstants.VersionMode versionMode, float versionNo) Deletes the map for the specified mapName of the given nodeType and nodeId.deleteMappingAs(int mappingId, String outputFormat) Deletes Mapping for the specified mappingId.deleteMappingAs(int mapId, String versionMode, float versionNo, String outputFormat) Deletes the mapping of the specified mapId and versionMode.deleteMappingAs(int nodeId, String nodeType, String mapName, String versionMode, float versionNo, String outputFormat) Deletes the map for the specified mapName of the given nodeType and nodeId.deleteMappings(int nodeId, Node.NodeType nodeType, APIConstants.VersionMode versionMode, float versionNo) Deletes the mappings of the given nodeType and nodeId.deleteMappings(int nodeId, Node.NodeType nodeType, List<String> mapNames, APIConstants.VersionMode versionMode, float versionNo) Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId.deleteMappings(List<Integer> mappingIds, APIConstants.VersionMode versionMode, float versionNo) Deletes the mappings of the specified mappingIds.deleteMappingsAs(int nodeId, String nodeType, String versionMode, float versionNo, String outputFormat) Deletes the mappings of the given nodeType and nodeId.deleteMappingsAs(int nodeId, String nodeType, String mapNamesJsonArray, String versionMode, float versionNo, String outputFormat) Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId.deleteMappingsAs(String mappingIdsJsonArray, String versionMode, float versionNo, String outputFormat) Deletes the mappings for the specified mappingIds.deleteMappingSpecification(int mappingSequenceId) Removes mappingSpecification for the specified mappingSequenceId.deleteMappingSpecificationAs(int mappingSequenceId, String outputFormat) Deletes mappingSpecification for the specified mappingSequenceId.deleteMappingSpecificationRow(MappingSpecificationRow mappingSpecificationRow) Deletes the mappingSpecification for the specified mappingSpecificationRow Object.deleteMappingSpecificationRowAs(String mappingSpecificationRowJsonObj, String outputFormat) Deletes the mappingSpecificationRow for the specified mappingSpecificationRow Object.deleteMappingSpecificationRows(List<MappingSpecificationRow> mappingSpecificationRows) Deletes the mappingSpecifications for the specified List of mappingSpecificationRows.deleteMappingSpecificationRowsAs(String mappingSpecificationRowsJsonArray, String outputFormat) Deletes the mappingSpecifications for the specified List of mappingSpecificationRows.deleteMappingSpecifications(int mappingId) Removes all mappingSpecification rows for the specified mappingId.deleteMappingSpecifications(List<Integer> mappingSequenceIds) Deletes the mappingSpecifications for the specified List of mappingSequenceIds.Specifying the mappingSequenceIds are mandatory.deleteMappingSpecificationsAs(int mappingId, String outputFormat) Deletes all mappingSpecification rows for the specified mappingId.deleteMappingSpecificationsAs(String mapSeqIdsJsonArray, String outputFormat) Deletes the mappingSpecifications for the specified List of mapSequenceIds.deleteProject(int projectId) Deletes the project with the specified projectId.deleteProjectAs(int projectId, String outputFormat) Deletes a project of the specified projectId.deleteSubject(int subjectId) Removes the subject of the specified subjectId.deleteSubjectAs(int subjectId, String outputFormat) Deletes the subject for the specified subjectId.exportAll(int nodeId, Node.NodeType nodeType, APIConstants.SelectionCriteria selectionCriteria, APIConstants.ExportOption exportOption, boolean includePseudoCode, boolean visibleColumns) Mapping Specifications are exported to excel for the specified nodeId.exportAllAs(int nodeId, String nodeType, String selectionCriteria, String exportOption, boolean includePseudoCode, boolean visibleColumns, String outputFormat) Mapping Specifications are exported to excel for the specified nodeId.exportMappingToExcel(int mapId, boolean visibleColumns, boolean includePseudocode) Mapping Specification is exported to excel for the specified mapId.exportMappingToExcel(int nodeId, Node.NodeType nodeType, String mapName, boolean visibleColumns, boolean includePseudocode) Mapping Specification is exported to excel for the specified mapName.exportMappingToExcelAs(int mapId, boolean visibleColumns, boolean includePseudocode, String outputFormat) Mapping Specification is exported to excel for the specified mapId.Specifying the mapId is mandatory.exportMappingToExcelAs(int nodeId, String nodeType, String mapName, boolean visibleColumns, boolean includePseudocode, String outputFormat) Mapping Specification is exported to excel for the specified mapName.exportMappingXml(int nodeId, Node.NodeType nodeType, APIConstants.SelectionCriteria selectionCriteria) Mapping Specifications are exported to XML for the specified nodeId.exportMappingXmlAs(int nodeId, String nodeType, String selectionCriteria, String outputFormat) Mapping Specifications are exported to XML for the specified nodeId.getMapping(int mappingId) Returns Mapping Object for the specified mappingId.getMapping(int mappingId, boolean fillSpecifications) Returns Mapping Object for the specified mappingId and fillSpecifications.getMapping(int mappingId, boolean fillSpecifications, boolean fillDocuments) Returns Mapping Object for the specified mappingId, fillSpecifications and fillDocuments.getMapping(int parentNodeId, Node.NodeType nodeType, String mappingName) Returns Mapping Object for the specified parentNodeId, mappingName and nodeType.getMapping(int nodeId, Node.NodeType nodeType, String mapName, float versionNo) Returns all the information relating to the specified mapName, such as mappingDescription, mappingSpecVersion, mappingStatus,
mappingPlannedDevelopmentEffort, actualEffort,testingNotes, versionLabel, userDefined Fields, AuditFields etc...getMappingAs(int mappingId, boolean fillSpecification, boolean fillDocuments, String outputFormat) Returns Mapping Object for the specified mappingId, fillSpecifications, fillDocuments in the JSON.getMappingAs(int mappingId, boolean fillSpecification, String outputFormat) Returns Mapping Object for the specified mappingId, fillSpecification in the JSON.getMappingAs(int mappingId, String outputFormat) Returns Mapping Object for the specified mappingId in the specified outputFormat.getMappingAs(int nodeId, String nodeType, String mapName, float versionNo, String outputFormat) Returns all the information relating to the specified mapName, such as mappingDescription, mappingSpecVersion, mappingStatus,
mappingPlannedDevelopmentEffort, actualEffort,testingNotes, versionLabel, userDefined Fields, AuditFields etc...getMappingAs(int parentNodeId, String nodeType, String mappingName, String outputFormat) Returns Mapping Object for the specified parentNodeId, mappingName, nodeType in the JSON.getMappingDocuments(int mappingId) Returns the List of Mapping Document objects for the specified mappingId.getMappingDocumentsAs(int mappingId, String outputFormat) Returns the List of Mapping Document objects for the specified mappingId.intgetMappingId(int parentNodeId, String mappingName, Node.NodeType nodeType) Returns the mappingId for the specified parentNodeId, mappingName, nodeType.intgetMappingId(String projectName, String mappingName) Returns the mappingId for the specified mappingName and projectName.getMappingIdAs(int parentNodeId, String nodeType, String mappingName, String outputFormat) Returns the mappingId for the specified parentNodeId, mappingName, nodeType in the JSON.getMappingIdAs(String projectName, String mappingName, String outputFormat) Returns the mappingId for the specified mappingName and projectName in the JSON.getMappings(int parentNodeId, Node.NodeType nodeType) Returns the List of Mappings for the specified parentNodeId, nodeType.getMappings(List<Integer> mapIds, boolean fillSpecifications, boolean fillDocuments) Returns List of Mappings for the specified List of mapIds.getMappingsAs(int parentNodeId, String nodeType, String outputFormat) Returns List of Mappings for the specified parentNodeId, nodeType.getMappingsAs(String MapIdsJsonArray, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of Mappings for the specified List of mapIds.getMappingsInProject(int projectId, boolean fillSpecifications, boolean fillDocuments) Returns List of Mappings for the specified projectId, fillSpecifications and fillDocuments.getMappingsInProject(String projectName, boolean fillSpecifications, boolean fillDocuments) Returns List of mappings for the specified projectName, fillSpecifications, fillDocuments.getMappingsInProjectAs(int projectId, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of Mappings for the specified projectId, fillSpecifications, fillDocuments in the JSON.getMappingsInProjectAs(String projectName, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of mappings for the specified project Name, fillSpecifications, fillDocuments.getMappingsInSubject(int subjectId, boolean fillSpecifications, boolean fillDocuments) Returns List of mappings for the specified for a given subject Id, fillSpecifications, fillDocuments.getMappingsInSubject(String subjectName, boolean fillSpecifications, boolean fillDocuments) Returns List of all mappings from all projects containing the subject name at any level, fillSpecifications and fillDocuments.getMappingsInSubjectAs(int subjectId, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of mappings for the specified subject Id, fillSpecifications, fillDocuments in the JSON.getMappingsInSubjectAs(String subjectName, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of mappings for the specified subject Name, fillSpecifications, fillDocuments in the JSON.getMappingSpecifications(int mappingId) Returns the List of Mapping Specifications for the specified mappingId.getMappingSpecifications(List<Integer> mappingSequenceIds) Returns the List of MappingSpecification Rows for the specified List of mapSequenceIds.getMappingSpecificationsAs(int mappingId, String outputFormat) Returns the List of Mapping Specifications for the specified mappingId.getMappingSpecificationsAs(String mapSeqIdsJsonArray, String outputFormat) Returns the List of MappingSpecification Rows for the specified List of mapSequenceIds.getProject(int projectId) Returns the Project object for the specified project Id.Specifying the projectId is mandatory.getProject(String projectName) Returns the Project object for the specified project Name i.e all the respective details regarding the project,
such as ProjectName, ProjectDescription, projectCostCenter, projectITSponsorFullName, projectBusinessSponsorFullName, projectDocuments, projectResources etc....Specifying the projectName is mandatory.getProjectAs(int projectId, String outputFormat) Returns the Project object for the specified projectId in the specified outputFormat.getProjectAs(String projectName, String outputFormat) Returns the Project object for the specified project Name in the specified outputFormat.getProjectDocuments(int projectId) Returns the List of project documents for the specified projectId.getProjectDocumentsAs(int projectId, String outputFormat) Returns the List of project Documents for the specified projectId in the specified outputFormat.intgetProjectId(String projectName) Returns the projectId for the specified projectName.getProjectIdAs(String projectName, String outputFormat) Returns the projectId for the specified projectName in the specified outputFormat.Returns the List of all Projects i.e all the respective details regarding projects, such as ProjectName, ProjectDescription, projectCostCenter, projectITSponsorFullName, projectBusinessSponsorFullName, projectDocuments, projectResources etc...getProjects(Node.Depth depth) Returns the projects and its Details according to the specified Depth.getProjectsAs(String outputFormat) Returns the List of all Projects where each project contains details like projectName, projectDescription, projectDocuments etc...getProjectsAs(String depth, String outputFormat) Returns the projects and its Details according to the specified Depth.getSubject(int subjectId) Returns the Subject Object for the specified subjectId.Specifying subjectId is mandatory.getSubject(int projectId, int parentSubjectId, String subjectName) Returns Subject Object for the specified projectId, parentSubjectId, subjectName.getSubject(int projectId, String subjectHierarchy) Returns Subject object for the specified projectId and subjectHierarchy.getSubject(String projectName, String subjectHierarchy) Returns Subject object for the specified projectName and subjectHierarchy.getSubjectAs(int projectId, int parentSubjectId, String subjectName, String outputFormat) Returns SubjectObject for the specified projectId, parentSubjectId, subjectName in the specified outputFormat.getSubjectAs(int subjectId, String outputFormat) Returns SubjectObject for the specified subjectId in the specified outputFormat.getSubjectAs(int projectId, String subjectHierarchy, String outputFormat) Returns Subject object for the specified projectId and subjectHierarchy.getSubjectAs(String projectName, String subjectHierarchy, String outputFormat) Returns Subject object for the specified projectName and subjectHierarchy.intgetSubjectid(String projectName, String subjectHierarchy) intgetSubjectId(int parentNodeId, Node.NodeType nodeType, String subjectName) Returns the subjectId for the specified parentNodeId, subjectName, nodeType.intgetSubjectId(String projectName, String subjectName) Returns subjectId for the specified projectName and SubjectName.getSubjectIdAs(int parentNodeId, String nodeType, String subjectName, String outputFormat) Returns the subjectId for the specified parentNodeId, subjectName, nodeType.getSubjectIdAs(String projectName, String subjectName, String outputFormat) Returns subjectId for the specified projectName, SubjectName.getSubjects(int projectId) Returns the List of subjects of the specified projectId.getSubjects(String projectName) Returns the List of subjects for the specified projectName.getSubjectsAs(int projectId, String outputFormat) Returns the List of subjects for the specified projectId in the specified outputFormat.getSubjectsAs(String projectName, String outputFormat) Returns the List of subjects for the specified projectName in the specified outputFormat.mergeMapping(int srcMapId, int tgtMapId, boolean createNewVersion, String changeDescription) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcMapId and merges with the map specified at tgtMapId.Specifying srcMapId and tgtMapId are mandatory.mergeMapping(int srcNodeId, Node.NodeType srcNodeType, String srcMapName, int tgtNodeId, Node.NodeType tgtNodeType, String tgtMapName, boolean createNewVersion, String changeDescription) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcNodeId with srcMapName and merges with the map specified at tgtNodeId with the name tgtMapName.mergeMappingAs(int srcMapId, int tgtMapId, boolean createNewVersion, String changeDescription, String outputFormat) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcMapId and merges with the map specified at tgtMapId.Specifying srcMapId and tgtMapId are mandatory.mergeMappingAs(int srcNodeId, String srcNodeType, String srcMapName, int tgtNodeId, String tgtNodeType, String tgtMapName, boolean createNewVersion, String changeDescription, String outputFormat) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcNodeId with srcMapName and merges with the map specified at tgtNodeId with the name tgtMapName.moveMapping(int srcMapId, int tgtNodeId, Node.NodeType tgtnodeType, boolean replaceIfExists, String newMapName) Move Mapping moves the map from srcMapId to the specified tgtNodeId.moveMapping(int srcNodeId, Node.NodeType srcNodeType, String srcMapName, int tgtNodeId, Node.NodeType tgtnodeType, boolean replaceIfExists, String newMapName) Move Mapping moves the map from srcNodeId to the specified tgtNodeId.moveMappingAs(int srcMapId, int tgtNodeId, String tgtnodeType, boolean replaceIfExists, String newMapName, String outputFormat) Move Mapping moves the map from srcMapId to the specified tgtNodeId.moveMappingAs(int srcNodeId, String srcNodeType, String srcMapName, int tgtNodeId, String tgtnodeType, boolean replaceIfExists, String newMapName, String outputFormat) Move Mapping moves the map from srcNodeId to the specified tgtNodeId.publishMapping(int nodeId, Node.NodeType nodeType, String mapName, Date effectiveDate, String changeDescription, String publishNotes) Mapping is published for the specified mapName.specifying the mapName, effectiveDate, changeDescription, publishNotes are mandatory.publishMapping(int mapId, Date effectiveDate, String changeDescription, String publishNotes) Mapping is published for the specified mapId.publishMappingAs(int nodeId, String nodeType, String mapName, Date effectiveDate, String changeDescription, String publishNotes, String outputFormat) Mapping is published for the specified mapName.specifying the mapName, effectiveDate, changeDescription, publishNotes are mandatory.publishMappingAs(int mapId, Date effectiveDate, String changeDescription, String publishNotes, String outputFormat) Mapping is published for the specified mapId.specifying the mapId, effectiveDate, changeDescription, publishNotes are mandatory.publishMappings(List<Integer> mapIds, Date effectiveDate, String changeDescription, String publishNotes) Mappings will be published for the specified mapIds.publishMappingsAs(String mapIdsJsonArray, Date effectiveDate, String changeDescription, String publishNotes, String outputFormat) Mappings will be published for the specified mapIds in the JSON.setMappingLock(int mapId, boolean lockStatus) mappingLock can be either set to lock or unlock i.e to either true or false for the specified mapId.setMappingLock(int nodeId, Node.NodeType nodeType, String mapName, boolean lockStatus) mappingLock can be either set to lock or unlock i.e to either true or false for the specified mapName.setMappingLockAs(int mapId, boolean lockStatus, String outputFormat) mappingLock can be either set to lock or unlock for the specified mapId.setMappingLockAs(int nodeId, String nodeType, String mapName, boolean lockStatus, String outputFormat) mappingLock can be either set to lock or unlock for the specified mapName.syncMetadata(List<Integer> mappingIds) This function is used to sync the source and target metadata information in mapping specifications for the specified mappingIds.syncMetadataAs(String mapIdsJsonArray, String outputFormat) This function is used to sync the source and target metadata information in mapping specifications for the specified mapIds.unPublishMap(int mapId) Mapping is unpublished for the specified mapId.unPublishMap(int nodeId, Node.NodeType nodeType, String mapName, float versionNo) Mapping is unpublished for the specified nodeId.Specifying the nodeId, nodeType are mandatory.unPublishMapAs(int mapId, String outputFormat) Mapping is unpublished for the specified mapId.Specifying the mapId is mandatory.unPublishMapAs(int nodeId, String nodeType, String mapName, float versionNo, String outputFormat) Mapping is unpublished for the specified nodeId.Specifying the nodeId, nodeType are mandatory.updateMapping(Mapping mapping) Updates mapping for the specified Mapping Object.updateMappingAs(String mmMappingObjJson, String outputFormat) Updates mapping for the specified MappingObject in JSON .updateMappingSpecification(MappingSpecificationRow mappingSpecificationRow) Mapping Specification is updated as the specified mappingSpecificationRow.updateMappingSpecificationAs(String mappingSpecificationRowJsonObj, String outputFormat) Mapping Specification is updated with the specified mappingSpecificationRow object.updateMappingSpecifications(List<MappingSpecificationRow> mappingSpecificationRows) Mapping Specifications are updated as specified in List of mappingSpecificationRows.updateMappingSpecificationsAs(String mappingSpecificationRowJsonArray, String outputFormat) Mapping Specifications are updated as specified in List of mappingSpecificationRows.Specifying mappingIds, mappingSequenceIds are modified.updateProject(Project project) Updates the project with the specified Project Object.updateProjectAs(String mmProjectObjJson, String outputFormat) Updates project for the specified Project Object in JSON .updateSubject(Subject subject) Updates Subject Details for the specified Subject Object.updateSubjectAs(String mmSubjectObjJson, String outputFormat) Updates Subject Details for the specified SubjectObject in JSON.updateSubjects(List<Subject> subjects) uploadMapping(int nodeId, Node.NodeType nodeType, MappingImportHelper mappingImportHelper) Uploads the mappingSpecifications on the specified nodeId, nodeType of importFileType, importType specified in MappingImportHelper Object.uploadMapping(int mapId, MappingImportHelper mappingImportHelper) Uploads the mappingSpecifications on the specified mapId of importFileType, importType specified in MappingImportHelper Object.uploadMappingAs(int mapId, String mappingImportHelperObjJson, String outputFormat) Uploads the mappingSpecifications on the specified mapId and of the importFileType, importType specified in MappingImportHelper Object.uploadMappingAs(int nodeId, String nodeType, String mappingImportHelperObjJson, String outputFormat) Uploads the mappingSpecifications on the specified nodeId, nodeType and of the importFileType, importType specified in MappingImportHelper Object.versionMapping(Mapping mapping) Appends mapping version for the specified Mapping Object.versionMappingAs(String mmMappingObjJson, String outputFormat) Appends version to the mapping for the specified MappingObject in JSON.Methods inherited from class com.ads.api.util.BaseUtil
getAccessToken, getAccessTokenType, getTokenType, getUserDetails, permissionDeniedMessage, permissionDeniedStatus, setAccessToken, setAccessTokenType
-
Method Details
-
createProject
Creates a project for the specified Project Object.
Specifying the projectName field is mandatory along with the other information regarding project. If Project is added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
project- Object- Returns:
- RequestStatus object
- Since:
- 6.2
-
getProjects
Returns the List of all Projects i.e all the respective details regarding projects, such as ProjectName, ProjectDescription, projectCostCenter, projectITSponsorFullName, projectBusinessSponsorFullName, projectDocuments, projectResources etc...- Returns:
- project List
- Throws:
Exception- Since:
- 6.2
-
getProject
Returns the Project object for the specified project Name i.e all the respective details regarding the project,
such as ProjectName, ProjectDescription, projectCostCenter, projectITSponsorFullName, projectBusinessSponsorFullName, projectDocuments, projectResources etc....Specifying the projectName is mandatory.- Parameters:
projectName- String- Returns:
- Project Object
- Throws:
Exception- Since:
- 6.2
-
getProject
Returns the Project object for the specified project Id.Specifying the projectId is mandatory.
It returns the details like projectName, projectDescription, costCenter, projectOwnerName, sponserName, businessSponserName, projectDocument details and projectResources details.- Parameters:
projectId- int- Returns:
- Project Object
- Throws:
Exception- Since:
- 6.2
-
getProjectId
Returns the projectId for the specified projectName. Specifying the projectName is mandatory.- Parameters:
projectName- String- Returns:
- int - projectId
- Throws:
Exception- Since:
- 6.2
-
getProjectDocuments
Returns the List of project documents for the specified projectId.
Specification of projectId is mandatory, based on which it returns the list of all documents and their information such as documentName, documentType, documentOwner, documentObject, filePathType etc... present in that particular project. The filePath in the returned document object is RELATIVE.- Parameters:
projectId- int- Returns:
- List of Document object.
- Throws:
Exception- Since:
- 6.2
-
updateProject
Updates the project with the specified Project Object. All the information pertaining to the project can be updated. Specifying the projectId, projectName are mandatory to update the project.
If Project details are updated successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
project- ProjectObject- Returns:
- RequestStatus Object
- Since:
- 6.2
-
deleteProject
Deletes the project with the specified projectId. Specifying the projectId is mandatory to delete a particular project.
If Project is deleted successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
projectId- int- Returns:
- RequestStatus object
- Since:
- 6.2
-
createMapping
Creates Mapping With the specified Mapping Object. Specifying the ProjectId, MappingName values are Mandatory.
If Mapping details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mapping- MappingObject- Returns:
- RequestStatus Object
- Since:
- 6.2
-
createMappings
Creates Mappings with the specified mapping objects and addSpecifications. Specifying the ProjectId, MappingName values are Mandatory.
If the value of addSpecifications is true, mappings gets created with all the specification details provided.If the value of addSpecifications is false only empty mappings with out any specifications gets created.
If mapping details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mappings- List of mapping objectsaddSpecifications- Boolean- Returns:
- RequestStatus Object
- Since:
- 10.2
-
createMappings
Creates Mappings for the specified mapping objects and fillOptions.
Specifying projectId and mappingName are mandatory in each mapping object.
Here fillOptions can be Integer values of eitherAPIConstants.MMFillOptions.MAPPING_SPECIFICATIONSorAPIConstants.MMFillOptions.MAPPING_DOCUMENTSorAPIConstants.MMFillOptions.MAPPING_EXTENDED_PROPERTIESfor example: If you want to add mappings along with mapping specifications and documents you need to pass the fillOptions parameter value as 3 (MAPPING_SPECIFICATIONS(1) + MAPPING_DOCUMENTS(2)).
If mapping details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mappings- List of mapping objectsfillOptions-APIConstants.MMFillOptionsint- Returns:
- RequestStatus Object
- Since:
- 13.0
-
createMapping
Creates Mapping with the specified mapping object and addSpecifications. Specifying the ProjectId, mappingName values are mandatory.
If the value of addSpecifications is true, mapping gets created with all the specification details provided.If the value of addSpecifications is false only empty mapping with out any specifications gets created.
If mapping details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mapping- MappingObjectaddSpecifications- boolean- Returns:
- RequestStatus Object
- Since:
- 6.2
-
getMappings
Returns the List of Mappings for the specified parentNodeId, nodeType. Specification of parentNodeId and nodeType is mandatory.
If the nodeType is MM_PROJECT then the parentNodeId will be projectId and if nodeType is MM_SUBJECT then the parentNodeId will be subjectId.- Parameters:
parentNodeId- intnodeType- Node - valid types - MM_PROJECT, MM_SUBJECT- Returns:
- List of mappings
- Throws:
Exception- Since:
- 6.2
-
getMapping
public Mapping getMapping(int mappingId, boolean fillSpecifications, boolean fillDocuments) throws Exception Returns Mapping Object for the specified mappingId, fillSpecifications and fillDocuments. Specifying the mappingId is mandatory.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings in project, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
mappingId- intfillSpecifications- booleanfillDocuments- boolean- Returns:
- Mapping Object
- Throws:
Exception- Since:
- 6.2
-
getMapping
Returns Mapping Object for the specified mappingId and fillSpecifications. Specifying mappingId is mandatory.- Parameters:
mappingId- intfillSpecifications- boolean- Returns:
- Mapping Object
- Throws:
Exception- Since:
- 6.2
-
getMapping
Returns Mapping Object for the specified mappingId.- Parameters:
mappingId- int- Returns:
- Mapping Object
- Throws:
Exception- Since:
- 6.2
-
getMapping
public Mapping getMapping(int parentNodeId, Node.NodeType nodeType, String mappingName) throws Exception Returns Mapping Object for the specified parentNodeId, mappingName and nodeType.
Specification of parentNodeId, mappingName and nodeType are mandatory. NodeType can be either MM_PROJECT or MM_SUBJECT. Depending on the nodeType the parentNodeId can be Project Id, Subject Id respectively.- Parameters:
parentNodeId- intmappingName- StringnodeType- NodeType - valid types - MM_PROJECT, MM_SUBJECT- Returns:
- Mapping Object
- Throws:
Exception- Since:
- 6.2
-
getMappingId
public int getMappingId(int parentNodeId, String mappingName, Node.NodeType nodeType) throws Exception Returns the mappingId for the specified parentNodeId, mappingName, nodeType.
The value of nodeType can be MM_SUBJECT or MM_PROJECT.Depending on the nodeType, parentNodeId changes.
If the nodeType is MM_SUBJECT, parentNodeId will be subjectId and if the nodeType is MM_PROJECT then parentNodeId will be projectId.- Parameters:
parentNodeId- intmappingName- StringnodeType- Node - valid types - MM_PROJECT, MM_SUBJECT- Returns:
- int - mappingId
- Throws:
Exception- Since:
- 6.2
-
getMappingId
Returns the mappingId for the specified mappingName and projectName. Specifying the projectName and mappingName are mandatory.- Parameters:
projectName- StringmappingName- String- Returns:
- int - mappingId
- Throws:
Exception- Since:
- 6.2
-
getMappingDocuments
Returns the List of Mapping Document objects for the specified mappingId.
Specification of mappingId is mandatory, based on which it returns the list of all documents and their information present in that particular mapping.The filePath in the returned document object is RELATIVE.- Parameters:
mappingId- int- Returns:
- List of Document object.
- Throws:
Exception- Since:
- 6.2
-
getMappingsInProject
public ArrayList<Mapping> getMappingsInProject(String projectName, boolean fillSpecifications, boolean fillDocuments) throws Exception Returns List of mappings for the specified projectName, fillSpecifications, fillDocuments.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
projectName- StringfillSpecifications- booleanfillDocuments- boolean- Returns:
- List of MappingObject
- Throws:
Exception- Since:
- 6.2
-
getMappingsInProject
public ArrayList<Mapping> getMappingsInProject(int projectId, boolean fillSpecifications, boolean fillDocuments) throws Exception Returns List of Mappings for the specified projectId, fillSpecifications and fillDocuments.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
projectId- intfillSpecifications- booleanfillDocuments- boolean- Returns:
- List of MappingObject
- Throws:
Exception- Since:
- 6.2
-
getMappingsInSubject
public ArrayList<Mapping> getMappingsInSubject(String subjectName, boolean fillSpecifications, boolean fillDocuments) throws Exception Returns List of all mappings from all projects containing the subject name at any level, fillSpecifications and fillDocuments. Specifying the subjectName is mandatory.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings of the subject, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
subjectName- StringfillSpecifications- booleanfillDocuments- boolean- Returns:
- List of mappingObject
- Throws:
Exception- Since:
- 6.2
-
getMappingsInSubject
public ArrayList<Mapping> getMappingsInSubject(int subjectId, boolean fillSpecifications, boolean fillDocuments) throws Exception Returns List of mappings for the specified for a given subject Id, fillSpecifications, fillDocuments. Specifying the subjectId is mandatory.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings in subject, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
subjectId- intfillSpecifications- booleanfillDocuments- boolean- Returns:
- List of MappingObject
- Throws:
Exception- Since:
- 6.2
-
updateMapping
Updates mapping for the specified Mapping Object. Specifying the projectId, mappingId are mandatory.
All the specifications pertaining to mapping can be updated. The information which needs to be updated should be provided through mapping Object.
If Mapping details are updated successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mapping- MappingObject- Returns:
- RequestStatus Object
- Since:
- 6.2
-
deleteMapping
Removes Mapping for the specified mappingId. Specifying mappingId is mandatory to delete a particular mapping.
If Mapping details are deleted successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mappingId- int- Returns:
- RequestStatus Object
- Since:
- 6.2
-
addMappingSpecifications
public RequestStatus addMappingSpecifications(int mapId, ArrayList<MappingSpecificationRow> mappingSpecification) Inserts List of mappingSpecifications into the specified mapId.
Specifying the mapId and List of mappingSpecifications are mandatory,all the mappingSpecifications will get inserted in to the map of the particular mapId.
If Mapping Specifications are added successfully then RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mapId- intmappingSpecification- List- Returns:
- RequestStatus Object
- Since:
- 6.2
-
addMappingSpecification
public RequestStatus addMappingSpecification(int mapId, MappingSpecificationRow mappingSpecificationRow) Inserts a single row of mappingSpecification for the specified mapId,mappingSpecificationRow. Specifying the mapId and mappingSpecificationRow are mandatory.
If the mappingSpecificationRow is added successfully then RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mapId- intmappingSpecificationRow- Object- Returns:
- RequestStatus Object
- Since:
- 6.2
-
getMappingSpecifications
Returns the List of Mapping Specifications for the specified mappingId.
Specifying the mappingId is mandatory, based on which it returns all the individual maps present in that particular mapping.- Parameters:
mappingId- int- Returns:
- List of MappingSpecifications
- Throws:
Exception- Since:
- 6.2
-
deleteMappingSpecifications
Removes all mappingSpecification rows for the specified mappingId. Specifying mappingId is mandatory.- Parameters:
mappingId- int- Returns:
- RequestStatus Object
- Since:
- 6.2
-
deleteMappingSpecification
Removes mappingSpecification for the specified mappingSequenceId. Specifying the mappingSequenceId is mandatory.It removes a particular sequence of map based on the map sequenceId.- Parameters:
mappingSequenceId- int- Returns:
- RequestStatus Object
- Since:
- 6.2
-
createSubject
Creates Subject for the specified Subject Object. Specifying ProjectId, SubjectId, Subject Name are Mandatory. If Subject details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
subject- Subject- Returns:
- RequestStatus object
- Since:
- 6.2
-
updateSubjects
-
getSubjects
Returns the List of subjects for the specified projectName.
Specification of projectName is mandatory, based on which it returns the list of all subjects and their information present in that particular project.- Parameters:
projectName- String- Returns:
- List of subjects
- Throws:
Exception- Since:
- 6.2
-
getSubjects
Returns the List of subjects of the specified projectId.
Specification of projectId is mandatory, based on which it returns the list of all subjects and their information present in that particular project.- Parameters:
projectId- int- Returns:
- List of Subjects
- Throws:
Exception- Since:
- 6.2
-
getSubject
Returns the Subject Object for the specified subjectId.Specifying subjectId is mandatory. It returns all the details pertaining to the subject such as subjectId, subjectName, subjectDescription and auditHistory.- Parameters:
subjectId- int- Returns:
- Subject Object
- Throws:
Exception- Since:
- 6.2
-
getSubject
Returns Subject Object for the specified projectId, parentSubjectId, subjectName. Specifying the projectId, parentSubjectId, subjectName are mandatory.Based on which it returns all the details of subject.- Parameters:
projectId- intparentSubjectId- intsubjectName- String- Returns:
- Subject Object
- Throws:
Exception- Since:
- 6.2
-
getSubjectId
Returns subjectId for the specified projectName and SubjectName.
Returns the subjectId of a particular subjectName present in a specific project.- Parameters:
projectName- StringsubjectName- String- Returns:
- int - subjectId
- Throws:
Exception- Since:
- 6.2
-
getSubjectId
public int getSubjectId(int parentNodeId, Node.NodeType nodeType, String subjectName) throws Exception Returns the subjectId for the specified parentNodeId, subjectName, nodeType. Specifying the subjectName and parentnodeId is mandatory.
The value of nodeType can be MM_SUBJECT or MM_PROJECT.Based on the nodeType, parentNodeId changes.
If the nodeType is MM_SUBJECT, parentNodeId will be subjectId and if the nodeType is MM_PROJECT then parentNodeId will be projectId.- Parameters:
parentNodeId- intsubjectName- StringnodeType- Node- Returns:
- int - subjectId
- Throws:
Exception- Since:
- 6.2
-
updateSubject
Updates Subject Details for the specified Subject Object. All the subject information can be updated by providing the details in subject Object. Specifying SubjectId, Subject Name and ConsiderUserDefined Flag are mandatory.
If Subject details are updated successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
subject- Subject- Returns:
- RequestStatus Object
- Since:
- 6.2
-
deleteSubject
Removes the subject of the specified subjectId. Specifying the subjectId is mandatory to delete the subject.
If Subject details are deleted successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
subjectId- int- Returns:
- RequestStatus Object
- Since:
- 6.2
-
versionMapping
Appends mapping version for the specified Mapping Object.
Appends a new version to the mappings,specifying the ProjectId, MapId, ChangeDescription Mandatory along with the other details of Mapping Object.
If map version is successful, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mapping- Mapping- Returns:
- RequestStatus Object
- Since:
- 6.2
-
baselineProject
Appends the baseline to the project for the specified projectId.
Adds baseline to the project basing the type of versionLabel and Specification of the ProjectId , Version Label and Change Description are Mandatory.
If baseLine is done successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
projectId- intversionLabel- StringchangeDescription- String- Returns:
- RequestStatus Object
- Since:
- 6.2
-
createProjectAs
Creates a project for the specified Project Object in JSON. Specification of the outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the projectId, projectName are Mandatory along with the other information regarding project.- Parameters:
mmProjectObjJson- in JSON formatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Project is created successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmProjectObjJson' JSON :
{
"projectDescription": "",
"projectName": "",
"projectCostCenter": "",
"projectOwnerFullName": "",
"projectBusinessSponsorFullName": "",
"projectDocuments": [],
"projectResources": [
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
},
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
}
],
"projectITSponsorFullName": "",
"nodeId": "",
"projectId": 0
} - Since:
- 6.2
-
getProjectAs
Returns the Project object for the specified projectId in the specified outputFormat. outputFormat can be either JSON or XML.
Specifying the projectId is Mandatory, based on which it returns the details like projectName, projectDescription, costCenter, projectOwnerName, sponserName, businessSponserName, projectDocument details and projectResources details.- Parameters:
projectId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Project Object in the form of JSON or XML
- Since:
- 6.2
-
getProjectAs
Returns the Project object for the specified project Name in the specified outputFormat.
Specifying the projectName is Mandatory, Based on which it returns the details like projectName, projectDescription, costCenter, projectOwnerName, sponserName, businessSponserName, projectDocument details and projectResources details.- Parameters:
projectName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Project Object in the form of JSON String or XML.
- Since:
- 6.2
-
getProjectIdAs
Returns the projectId for the specified projectName in the specified outputFormat. Specifying the projectName is Mandatory. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
projectName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - projectId
- Since:
- 6.2
-
getProjectsAs
Returns the List of all Projects where each project contains details like projectName, projectDescription, projectDocuments etc... outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
outputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Project Objects in the form of JSON String.
- Since:
- 6.2
-
getProjectDocumentsAs
Returns the List of project Documents for the specified projectId in the specified outputFormat.
Specification of projectId is mandatory, based on the specified projectId it returns the list of all associated documents where each document contains details like documentName,documentOwner, documentObject, filePathType and documentLink etc. The filePath in the returned document object is RELATIVE.- Parameters:
projectId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Document objects in the form of JSON or XML String.
- Since:
- 6.2
-
updateProjectAs
Updates project for the specified Project Object in JSON . All the information pertaining to the project can be updated. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying projectId, projectName are Mandatory.- Parameters:
mmProjectObjJson- mmProject Object - JSON formatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Project is updated successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmProjectObjJson' JSON :
{
"projectDescription": "",
"projectName": "",
"projectCostCenter": "",
"projectOwnerFullName": "",
"projectBusinessSponsorFullName": "",
"projectDocuments": [],
"projectResources": [
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
},
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
}
],
"projectITSponsorFullName": "",
"nodeId": "",
"projectId": 0
} - Since:
- 6.2
-
deleteProjectAs
Deletes a project of the specified projectId. Specifying projectId is mandatory to delete a particular project.outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
projectId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Project is deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 6.2
-
createSubjectAs
Creates Subject for the specified SubjectObject in JSON. outputFormat can be JSON or XML.
Specifying projectId , subjectName are Mandatory to create a subject.- Parameters:
mmSubjectObjJson- mmSubject Object - JSON formatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Subject is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmSubjectObjJson' JSON :
{
"parentSubjectId": -1,
"subjectId": 0,
"userDefined10": "",
"subjectDescription": "",
"userDefined11": "",
"userDefined12": "",
"subjectName": "S1",
"subjectChangedDescription": "",
"userDefined13": "",
"userDefined14": "",
"userDefined15": "",
"considerUserDefinedFlag": "",
"userDefined8": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"projectId": 0,
"userDefined1": ""
} - Since:
- 6.2
-
getSubjectAs
public String getSubjectAs(int projectId, int parentSubjectId, String subjectName, String outputFormat) Returns SubjectObject for the specified projectId, parentSubjectId, subjectName in the specified outputFormat. outputFormat can be JSON or XML.
Specifying the projectId, parentSubjectId, subjectName are Mandatory.Based on which it returns all the details of subject.- Parameters:
projectId- intparentSubjectId- intsubjectName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Subject object in the form of JSON String.
- Since:
- 6.2
-
getSubjectAs
Returns SubjectObject for the specified subjectId in the specified outputFormat. Specifying the subjectId is Mandatory based on which the subject Object is retrieved.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
subjectId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Subject object in the form of JSON or XML String.
- Since:
- 6.2
-
getSubjectsAs
Returns the List of subjects for the specified projectName in the specified outputFormat. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specification of projectName is Mandatory, based on which it returns the list of all subjects and their information present in that particular project.- Parameters:
projectName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Subject objects in the form of JSON or XML String.
- Since:
- 6.2
-
getSubjectIdAs
public String getSubjectIdAs(int parentNodeId, String nodeType, String subjectName, String outputFormat) Returns the subjectId for the specified parentNodeId, subjectName, nodeType. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
The value of nodeType can be MM_SUBJECT or MM_PROJECT.Based on the nodeType, parentNodeId changes.
If the nodeType is MM_SUBJECT, parentNodeId will be subjectId whereas if the nodeType is MM_PROJECT then parentNodeId will be projectId.- Parameters:
parentNodeId- intsubjectName- StringnodeType- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - subjectId in the form of JSON or XML
- Since:
- 6.2
-
getSubjectIdAs
Returns subjectId for the specified projectName, SubjectName. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying projectName, subjectName are Mandatory.- Parameters:
projectName- StringsubjectName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - subjectId in the form of JSON or XML
- Since:
- 6.2
-
getSubjectsAs
Returns the List of subjects for the specified projectId in the specified outputFormat. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specification of projectId is mandatory, based on which it returns the list of all subjects and their information present in that particular project.- Parameters:
projectId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Subjects in the form of JSON or XML String.
- Since:
- 6.2
-
updateSubjectAs
Updates Subject Details for the specified SubjectObject in JSON. All the subject information can be updated by providing the details in subject Object.
Specifying subjectId, subjectName are Mandatory. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mmSubjectObjJson- mmSubject Object - JSON formatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Subject is updated successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmSubjectObjJson' JSON :
{
"parentSubjectId": -1,
"subjectId": 0,
"userDefined10": "",
"subjectDescription": "",
"userDefined11": "",
"userDefined12": "",
"subjectName": "S1",
"subjectChangedDescription": "",
"userDefined13": "",
"userDefined14": "",
"userDefined15": "",
"considerUserDefinedFlag": "",
"userDefined8": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"projectId": 0,
"userDefined1": ""
} - Since:
- 6.2
-
deleteSubjectAs
Deletes the subject for the specified subjectId. Specifying the subjectId is mandatory to delete the subject.outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
subjectId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Subject is deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 6.2
-
createMappingAs
Creates Mapping for the specified MappingObject in JSON. wherein specifying the projectId, mappingName are Mandatory in the Mapping Object.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mmMappingObjJson- in JSON formatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Map is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmMappingObjJson' for this:
{
"mappingName": "",
"mappingDescription": "",
"projectId": 0,
"mappingSubStateName": "",
"publishNotes": "",
"subjectId": 0,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"userDefined13": "",
"mappingSpecifications": null,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"targetUpdateStrategy": "",
"userDefined18": "",
"actualETLEffort": 0,
"userDefined19": "",
"testDisposition": "",
"versionLabel": "",
"plannedETLEffortUnits": "",
"plannedETLEffort": 0,
"userDefined8": "",
"userDefined20": "",
"userDefined9": "",
"userDefined21": "",
"userDefined6": "",
"userDefined22": "",
"userDefined7": "",
"userDefined23": "",
"userDefined4": "",
"plannedMappingEffortUnits": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"userDefined1": "",
"mappingSubStateId": 0,
"mappingId": -1,
"mappingStateId": 0,
"changedDescription": "",
"actualETLEffortUnits": "",
"userDefined24": "",
"userDefined25": "",
"plannedMappingEffort": 0,
"userDefined26": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"actualDevelopLevelOfEffort": "",
"actualNotes": "",
"userDefined30": "",
"userDefined31": "",
"testingNotes": "",
"actualMappingEffort": 0,
"userDefined32": "",
"userDefined33": "",
"sourceExtractQuery": "",
"userDefined34": "",
"targetUpgateStrategyNotes": "",
"plannedDevelopmentLevelOfEffort": "",
"sourceExtractDescription": "",
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"mappingStateName": "",
"userDefined40": "",
"userDefined41": "",
"plannedNotes": "",
"userDefined42": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"mappingDocuments": null,
"mappingSpecVersion": 1,
"effectiveDate": null
} - Since:
- 6.2
-
createMappingAs
public String createMappingAs(String mmMappingObjJson, boolean addSpecifications, String outputFormat) Creates Mapping for the specified mappingObject in the JSON and addSpecifications. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
If the value of addSpecifications is true, mapping gets created with all the specification details provided.If the value of addSpecifications is false only empty mapping with out any specifications gets created.- Parameters:
mmMappingObjJson- - JSON formataddSpecifications- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Map is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmMappingObjJson' JSON :
{
"projectId": 0,
"mappingName": "",
"mappingId": 0,
"mappingSubStateName": null,
"publishNotes": null,
"subjectId": -1,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"userDefined13": "",
"mappingSpecifications": [
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 1,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 1,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
}
],
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"targetUpdateStrategy": "",
"userDefined18": "",
"actualETLEffort": 0,
"userDefined19": "",
"testDisposition": " ",
"versionLabel": "",
"plannedETLEffortUnits": "",
"plannedETLEffort": 0,
"userDefined8": "",
"userDefined20": "",
"userDefined9": "",
"userDefined21": "",
"userDefined6": "",
"userDefined22": "",
"userDefined7": "",
"userDefined23": "",
"userDefined4": "",
"plannedMappingEffortUnits": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"userDefined1": "",
"mappingSubStateId": 0,
"mappingStateId": 0,
"changedDescription": "",
"actualETLEffortUnits": "",
"userDefined24": "",
"userDefined25": "",
"plannedMappingEffort": 0,
"userDefined26": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"actualDevelopLevelOfEffort": null,
"actualNotes": "",
"userDefined30": "",
"userDefined31": "",
"testingNotes": "",
"actualMappingEffort": 0,
"userDefined32": "",
"userDefined33": "",
"sourceExtractQuery": "",
"userDefined34": "",
"targetUpgateStrategyNotes": "",
"plannedDevelopmentLevelOfEffort": null,
"sourceExtractDescription": "",
"userDefined35": "",
"mappingDescription": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"mappingStateName": null,
"userDefined40": "",
"userDefined41": "",
"plannedNotes": "",
"userDefined42": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"mappingDocuments": null,
"mappingSpecVersion": 0,
"effectiveDate": null
} - Since:
- 6.2
-
getMappingAs
Returns Mapping Object for the specified mappingId in the specified outputFormat. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Mapping object in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingAs
Returns Mapping Object for the specified mappingId, fillSpecification in the JSON. outputFormat can be JSON or XML. If outputFormat is not specified, by default the method will return the JSON String. If fillSpecification is true, then the Mapping Object with mapping specifications is returned if false then Mapping Object without mapping specifications is returned.- Parameters:
mappingId- intfillSpecification- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Mapping object in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingAs
public String getMappingAs(int mappingId, boolean fillSpecification, boolean fillDocuments, String outputFormat) Returns Mapping Object for the specified mappingId, fillSpecifications, fillDocuments in the JSON. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings in project, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
mappingId- intfillSpecification- booleanfillDocuments- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Mapping object in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingsInSubjectAs
public String getMappingsInSubjectAs(String subjectName, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of mappings for the specified subject Name, fillSpecifications, fillDocuments in the JSON. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings of the subject, specifications and document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
subjectName- StringfillSpecifications- booleanfillDocuments- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Mappings under subject in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingsInSubjectAs
public String getMappingsInSubjectAs(int subjectId, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of mappings for the specified subject Id, fillSpecifications, fillDocuments in the JSON. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings in subject, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
subjectId- intfillSpecifications- booleanfillDocuments- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Mappings under subject in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingsInProjectAs
public String getMappingsInProjectAs(int projectId, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of Mappings for the specified projectId, fillSpecifications, fillDocuments in the JSON. Specification of projectId is mandatory.outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
projectId- intfillSpecifications- booleanfillDocuments- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Mappings in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingsInProjectAs
public String getMappingsInProjectAs(String projectName, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of mappings for the specified project Name, fillSpecifications, fillDocuments. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the values of fillSpecifications and fillDocuments as true will return all the details pertaining to all the mappings, specifications and Document details associated with the mappings.
Specifying the values of fillSpecifications and fillDocuments as false will only return the details of mappings but not specifications or document details.- Parameters:
projectName- StringfillSpecifications- booleanfillDocuments- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Mappings in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingIdAs
public String getMappingIdAs(int parentNodeId, String nodeType, String mappingName, String outputFormat) Returns the mappingId for the specified parentNodeId, mappingName, nodeType in the JSON. Specification of parentNodeId, mappingName and nodeType are mandatory. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
The value of nodeType can be MM_SUBJECT or MM_PROJECT.Based on the nodeType, parentNodeId changes.
If the nodeType is MM_SUBJECT, parentNodeId will be subjectId whereas if the nodeType is MM_PROJECT then parentNodeId will be projectId.- Parameters:
parentNodeId- intmappingName- StringnodeType- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - mappingId in JSON or XML
- Since:
- 6.2
-
getMappingAs
public String getMappingAs(int parentNodeId, String nodeType, String mappingName, String outputFormat) Returns Mapping Object for the specified parentNodeId, mappingName, nodeType in the JSON. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specification of parentNodeId, mappingName and nodeType is mandatory.NodeType can be either MM_PROJECT or MM_SUBJECT and parentNodeId can be Project Id, Subject Id depending on the nodeType.- Parameters:
parentNodeId- intmappingName- StringnodeType- NodeTypeoutputFormat- String - Valid values: JSON or XML- Returns:
- String - Mapping object in the form of JSON or XML String
- Since:
- 6.2
-
getMappingDocumentsAs
Returns the List of Mapping Document objects for the specified mappingId. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specification of mappingId is mandatory, based on which it returns the list of all documents and their information present in that particular mapping.The filePath in the returned document object is RELATIVE.- Parameters:
mappingId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of Document objects in the form of JSON or XML String.
- Since:
- 6.2
-
getMappingIdAs
Returns the mappingId for the specified mappingName and projectName in the JSON. Specifying mappingName and projectName are mandatory.outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
projectName- StringmappingName- StringoutputFormat- Sting - Valid values: JSON or XML- Returns:
- String - Mapping Id
- Since:
- 6.2
-
getMappingsAs
Returns List of Mappings for the specified parentNodeId, nodeType. Specification of parentNodeId and nodeType are mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
If the nodeType is MM_PROJECT parentNodeId will be projectId and if nodeType is MM_SUBJECT then parentNodeId will be subjectId.- Parameters:
parentNodeId- intnodeType- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of mappings in the form of JSON or XML String.
- Since:
- 6.2
-
updateMappingAs
Updates mapping for the specified MappingObject in JSON . Specifying projectId and mapId are mandatory.
All the specifications pertaining to mapping can be updated except the mappingName.The information which needs to be updated should be provided through mapping Object.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
If Mapping details are updated successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
mmMappingObjJson- in JSON formatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Map is updated successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmMappingObjJson' JSON :
{
"mappingName": "",
"mappingDescription": "",
"projectId": 0,
"mappingId": -1,
"mappingSubStateName": "",
"publishNotes": "",
"subjectId": 0,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"userDefined13": "",
"mappingSpecifications": null,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"targetUpdateStrategy": "",
"userDefined18": "",
"actualETLEffort": 0,
"userDefined19": "",
"testDisposition": "",
"versionLabel": "",
"plannedETLEffortUnits": "",
"plannedETLEffort": 0,
"userDefined8": "",
"userDefined20": "",
"userDefined9": "",
"userDefined21": "",
"userDefined6": "",
"userDefined22": "",
"userDefined7": "",
"userDefined23": "",
"userDefined4": "",
"plannedMappingEffortUnits": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"userDefined1": "",
"mappingSubStateId": 0,
"mappingStateId": 0,
"changedDescription": "",
"actualETLEffortUnits": "",
"userDefined24": "",
"userDefined25": "",
"plannedMappingEffort": 0,
"userDefined26": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"actualDevelopLevelOfEffort": "",
"actualNotes": "",
"userDefined30": "",
"userDefined31": "",
"testingNotes": "",
"actualMappingEffort": 0,
"userDefined32": "",
"userDefined33": "",
"sourceExtractQuery": "",
"userDefined34": "",
"targetUpgateStrategyNotes": "",
"plannedDevelopmentLevelOfEffort": "",
"sourceExtractDescription": "",
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"mappingStateName": "",
"userDefined40": "",
"userDefined41": "",
"plannedNotes": "",
"userDefined42": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"mappingDocuments": null,
"mappingSpecVersion": 1,
"effectiveDate": null
} - Since:
- 6.2
-
deleteMappingAs
Deletes Mapping for the specified mappingId. mappingId is mandatory which has to be specified to delete a particular mapping. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingId-outputFormat- String - Valid values: JSON or XML- Returns:
- String - If Map is deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 6.2
-
addMappingSpecificationsAs
public String addMappingSpecificationsAs(int mapId, String mmMapSpecRowObjJsonArray, String outputFormat) Inserts List of mappingSpecifications into the specified mapId. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the mapId and List of mappingSpecifications is mandatory,all the mappingSpecifications will get inserted in to the particular mapId.- Parameters:
mapId- intmmMapSpecRowObjJsonArray- JSON StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping specification is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmMapSpecRowObjJsonArray' JSON :
[
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 0,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 0,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
}
] - Since:
- 6.2
-
addMappingSpecificationAs
Inserts a single row of mappingSpecification for the specified mapId, mappingSpecificationRow. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intmmMapSpecRowObjJson- JSONoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping specification row is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmMapSpecRowObjJson' for this:
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 0,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 0,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
} - Since:
- 6.2
-
getMappingSpecificationsAs
Returns the List of Mapping Specifications for the specified mappingId. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying the mappingId is mandatory, based on which it returns all the individual maps present in that particular mapping.- Parameters:
mappingId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - List of MappingSpecifications in the form of JSON or XML
- Since:
- 6.2
-
deleteMappingSpecificationsAs
Deletes all mappingSpecification rows for the specified mappingId. Specifying the maapingId is mandatory.outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping specification is deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 6.2
-
deleteMappingSpecificationAs
Deletes mappingSpecification for the specified mappingSequenceId. Specifying the mappingSequenceId is mandatory.It deletes a particular mappingSpecification row of the mapping based on the mappingSequenceId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingSequenceId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping specification row is deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 6.2
-
baselineProjectAs
public String baselineProjectAs(int projectId, String versionLabel, String changeDescription, String outputFormat) Appends the baseline to the project for the specified projectId.
Specifying the ProjectId , Version Label and Change Description are mandatory. Adds baseline to the project basing the type of versionLabel and specification of the changeDescription which is mandatory.
outputFormat can be either Json or XML. If outputFormat is not specified, by default the method will return the Json String.- Parameters:
projectId- intversionLabel- StringchangeDescription- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Project Baseline is created successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 6.2
-
versionMappingAs
Appends version to the mapping for the specified MappingObject in JSON.
Appends a new version to the mappings,specifying the changed description is mandatory along with the other details of Mapping Object.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mmMappingObjJson- String - JSONoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Map Version is created successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mmMappingObjJson' JSON :
{
"mappingName": "",
"mappingDescription": "",
"changedDescription": "",
"projectId": 0,
"mappingId": -1,
"mappingSubStateName": "",
"publishNotes": "",
"subjectId": 0,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"userDefined13": "",
"mappingSpecifications": null,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"targetUpdateStrategy": "",
"userDefined18": "",
"actualETLEffort": 0,
"userDefined19": "",
"testDisposition": "",
"versionLabel": "",
"plannedETLEffortUnits": "",
"plannedETLEffort": 0,
"userDefined8": "",
"userDefined20": "",
"userDefined9": "",
"userDefined21": "",
"userDefined6": "",
"userDefined22": "",
"userDefined7": "",
"userDefined23": "",
"userDefined4": "",
"plannedMappingEffortUnits": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"userDefined1": "",
"mappingSubStateId": 0,
"mappingStateId": 0,
"actualETLEffortUnits": "",
"userDefined24": "",
"userDefined25": "",
"plannedMappingEffort": 0,
"userDefined26": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"actualDevelopLevelOfEffort": "",
"actualNotes": "",
"userDefined30": "",
"userDefined31": "",
"testingNotes": "",
"actualMappingEffort": 0,
"userDefined32": "",
"userDefined33": "",
"sourceExtractQuery": "",
"userDefined34": "",
"targetUpgateStrategyNotes": "",
"plannedDevelopmentLevelOfEffort": "",
"sourceExtractDescription": "",
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"mappingStateName": "",
"userDefined40": "",
"userDefined41": "",
"plannedNotes": "",
"userDefined42": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"mappingDocuments": null,
"mappingSpecVersion": 0,
"effectiveDate": null
} - Since:
- 6.2
-
getProjects
Returns the projects and its Details according to the specified Depth.
Specifying the depth is mandatory. Depth has values NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.
NAMES - Returns the names of the Projects.
NAMES_IDS - Returns the names and projectIds.
DETAILS - Returns the projectDetails.
DETAILS_DOCUMENTS - Returns the projectDetails and projectDocuments.
DETAILS_PROJECT_RESOURCES - Returns the projectDetails and projectResources.
ALL - Returns the projectDetails, projectDocuments and projectResources.- Parameters:
depth- Node Object - valid depth types are NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.- Returns:
- List of project Objects.
- Throws:
Exception
-
uploadMapping
Uploads the mappingSpecifications on the specified mapId of importFileType, importType specified in MappingImportHelper Object.
Specifying the mapId, importFileType, importType,filePath and filePathType are mandatory.
The supported values for the filePathType are ABSOLUTE, RELATIVE.
Valid importFileType is only MAPPINGMANAGER_EXCEL and importType can be APPEND_TO_EXISTING or DELETE_AND_RELOAD.- Parameters:
mapId- intmappingImportHelper- MappingImportHelper Object- Returns:
- RequestStatus Object
-
uploadMapping
public RequestStatus uploadMapping(int nodeId, Node.NodeType nodeType, MappingImportHelper mappingImportHelper) Uploads the mappingSpecifications on the specified nodeId, nodeType of importFileType, importType specified in MappingImportHelper Object.
Specifying the nodeId, nodeType, importFileType, importType, filePath and filePathType are mandatory.
Valid importFileTypes are MAPPINGMANAGER_LEGACY_EXCEL, MAPPINGMANAGER_XML, INFORMATICA, DATASTAGE, SSIS_2008 and importType can be APPEND_TO_EXISTING or DELETE_AND_RELOAD.
The supported values for the filePathType are ABSOLUTE, RELATIVE.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECT.mappingImportHelper- MappingImportHelper oBJECT.- Returns:
- RequestStatus Object
-
exportAll
public RequestStatus exportAll(int nodeId, Node.NodeType nodeType, APIConstants.SelectionCriteria selectionCriteria, APIConstants.ExportOption exportOption, boolean includePseudoCode, boolean visibleColumns) Mapping Specifications are exported to excel for the specified nodeId. nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
All the mappings of the specified projectId or SubjectId are exported to excel. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE. Specifying nodeId, nodeType and exportOption are Mandatory.
selectionCriteria has values ALL, ACTIVE or PASSIVE, By default selectionCriteria takes the value ACTIVE.
If selectionCriteria value is ALL it exports both ACTIVE and PASSIVE mappings.
If selectionCriteria value is ACTIVE it exports only ACTIVE mappings.
If selectionCriteria value is PASSIVE it exports only PASSIVE mappings.
exportOption has values ExportintMultipleSheet, ExportAll or ExportintoSingleSheet.
If exportOption value is ExportintMultipleSheet it refers to exporting to single workbook with multiple excelSheets..
If exportOption value is ExportAll it refers to exporting to individual excel Files.
If exportOption value is ExportintoSingleSheet it refers to exporting to a single excel Sheet.
Visible columns has a value either true or false.
If the Visible Columns is True, only the visible columns of mapping specification grid are exported.
If the Visible Columns is False, then all the columns both visible and hidden from Mapping specification grid are exported to excel.
If the value of Visible Columns is not specified, by default it takes the value False.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid types are MM_PROJECT, MM_SUBJECTselectionCriteria- String - valid types are ALL, ACTIVE, PASSIVE.exportOption- String - valid Types are ExportintMultipleSheet, ExportAll, ExportintoSingleSheet.includePseudoCode- BooleanvisibleColumns- Boolean- Returns:
- RequestStatus Object
- Since:
- 7.0
-
exportMappingToExcel
public RequestStatus exportMappingToExcel(int mapId, boolean visibleColumns, boolean includePseudocode) Mapping Specification is exported to excel for the specified mapId. Specifying the mapId is mandatory.
i.e all the mapping specification details such as target details and source details are exported to excel. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE.
Visible columns has a value either true or false.
If the Visible Columns is True, only the visible columns of mapping specification grid are exported.
If the Visible Columns is False, then all the columns both visible and hidden from Mapping specification grid are exported to excel.
If the value of Visible Columns is not specified, by default it takes the value False.- Parameters:
mapId- intvisibleColumns- booleanincludePseudocode- boolean- Returns:
- RequestStatus Object
- Since:
- 7.0
-
exportMappingToExcel
public RequestStatus exportMappingToExcel(int nodeId, Node.NodeType nodeType, String mapName, boolean visibleColumns, boolean includePseudocode) Mapping Specification is exported to excel for the specified mapName. Specifying the mapName,nodeType, nodeId are mandatory.
i.e all the mapping specification details such as target details and source details are exported to excel. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE.
Visible columns has a value either true or false.
If the Visible Columns is True, only the visible columns of mapping specification grid are exported.
If the Visible Columns is False, then all the columns both visible and hidden from Mapping specification grid are exported to excel.
If the value of Visible Columns is not specified, by default it takes the value False.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringvisibleColumns- booleanincludePseudocode- boolean- Returns:
- RequestStatus Object
- Since:
- 7.0
-
exportMappingXml
public RequestStatus exportMappingXml(int nodeId, Node.NodeType nodeType, APIConstants.SelectionCriteria selectionCriteria) Mapping Specifications are exported to XML for the specified nodeId. Specifying the nodeId, nodeType are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
All the mappings of the specified projectId or SubjectId are exported to XML. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE.
selectionCriteria has values ALL, ACTIVE or PASSIVE, By default selectionCriteria takes the value ACTIVE.
If selectionCriteria value is ALL it exports both ACTIVE and PASSIVE mappings.
If selectionCriteria value is ACTIVE it exports only ACTIVE mappings.
If selectionCriteria value is PASSIVE it exports only PASSIVE mappings.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria- String - APIConstants Object valid types are ALL, ACTIVE, PASSIVE.- Returns:
- RequestStatus Object
- Since:
- 7.0
-
getMapping
public Mapping getMapping(int nodeId, Node.NodeType nodeType, String mapName, float versionNo) throws Exception Returns all the information relating to the specified mapName, such as mappingDescription, mappingSpecVersion, mappingStatus,
mappingPlannedDevelopmentEffort, actualEffort,testingNotes, versionLabel, userDefined Fields, AuditFields etc...
Specifying the mapName, nodeId, nodeType, versionNo are mandatory.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType, nodeId would be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringversionNo- float- Returns:
- Mapping Object
- Throws:
Exception- Since:
- 7.0
-
getMappings
public ArrayList<Mapping> getMappings(List<Integer> mapIds, boolean fillSpecifications, boolean fillDocuments) throws Exception Returns List of Mappings for the specified List of mapIds. fillSpecifications and fillDocuments has values true or false. Specifying mapIds is mandatory.
If fillSpecifications and fillDocuments has value true, it returns the list of mappings along with mapping specification details and Documents associated with those mappings.
If fillSpecifications and fillDocuments has value false, it returns the list of mappings and details associated with those mappings. In this it does not return mapping specification details and Documents associated with those mappings.- Parameters:
mapIds- ListfillSpecifications- booleanfillDocuments- boolean- Returns:
- ArrayList
- Throws:
Exception- Since:
- 7.0
-
cloneMapping
public RequestStatus cloneMapping(int srcMapId, boolean createNewVersion, String newMapName, int tgtNodeId, Node.NodeType tgtnodeType) Clone Mapping creates another copy of the map. i.e it copies the map specified at srcMapId and creates another copy at the specified tgtNodeId.
Specifying srcMapId, tgtnodeType, tgtNodeId are mandatory. createNewVersion has the values as true or false.
If createNewVersion has value False, then specifying newMapName is mandatory.
Target nodeType can be MM_PROJECT, MM_SUBJECT, MM_MAPPING. Depending upon the tgtnodeType, tgtNodeId would be either projectId, subjectId or mapId.- Parameters:
srcMapId- intcreateNewVersion- booleannewMapName- StringtgtNodeId- inttgtnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECT- Returns:
- RequestStatus Object
- Since:
- 7.0
-
cloneMapping
public RequestStatus cloneMapping(int srcNodeId, Node.NodeType srcnodeType, String srcMapName, boolean createNewVersion, String newMapName, int tgtNodeId, Node.NodeType tgtnodeType) Clone Mapping creates another copy of the map. i.e it copies the map specified at srcNodeId with srcMapName and creates another copy at the specified tgtNodeId.
Specifying srcMapName, tgtnodeType, tgtNodeId are mandatory. createNewVersion has the values as true or false.
If createNewVersion has value False, then specifying newMapName is mandatory. nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType ,nodeId would be either projectId, subjectId or mapId.- Parameters:
srcNodeId- intsrcnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName- StringcreateNewVersion- booleannewMapName- StringtgtNodeId- inttgtnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECT- Returns:
- RequestStatus Object
- Since:
- 7.0
-
mergeMapping
public RequestStatus mergeMapping(int srcNodeId, Node.NodeType srcNodeType, String srcMapName, int tgtNodeId, Node.NodeType tgtNodeType, String tgtMapName, boolean createNewVersion, String changeDescription) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcNodeId with srcMapName and merges with the map specified at tgtNodeId with the name tgtMapName.
Specifying the srcNodeId, tgtNodeId, srcMapName, tgtMapName are Mandatory.
createNewVersion has value as either true or false. If createNewVersion has value true, it creates a new version at tgtNodeId, otherwise it overwrites the mapping. Specifying the change description is mandatory.
nodeType can be MM_PROJECT, MM_SUBJECT, MM_MAPPING.Depending upon the nodeType ,nodeId would be either projectId, subjectId or mapId.- Parameters:
srcNodeId- intsrcNodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName- StringtgtNodeId- inttgtNodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTtgtMapName- StringcreateNewVersion- BooleanchangeDescription- String- Returns:
- RequestStatus Object
- Since:
- 7.0
-
mergeMapping
public RequestStatus mergeMapping(int srcMapId, int tgtMapId, boolean createNewVersion, String changeDescription) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcMapId and merges with the map specified at tgtMapId.Specifying srcMapId and tgtMapId are mandatory.
createNewVersion has value as either true or false. If createNewVersion has value true, it creates a new version at tgtMapId, otherwise it overwrites the mapping. Specifying the change description is mandatory.- Parameters:
srcMapId- inttgtMapId- intcreateNewVersion- BooleanchangeDescription- String- Returns:
- RequestStatus Object
- Since:
- 7.0
-
moveMapping
public RequestStatus moveMapping(int srcMapId, int tgtNodeId, Node.NodeType tgtnodeType, boolean replaceIfExists, String newMapName) Move Mapping moves the map from srcMapId to the specified tgtNodeId. Specifying the srcMapId, tgtNodeId are mandatory.
replaceIfExists has values true or false.If replaceIfExists has value False, it moves the mapping with the newMapName to tgtNodeId.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType ,nodeId would be either projectId or subjectId.- Parameters:
srcMapId- inttgtNodeId- inttgtnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTreplaceIfExists- booleannewMapName- String- Returns:
- RequestStatus Object
- Since:
- 7.0
-
moveMapping
public RequestStatus moveMapping(int srcNodeId, Node.NodeType srcNodeType, String srcMapName, int tgtNodeId, Node.NodeType tgtnodeType, boolean replaceIfExists, String newMapName) Move Mapping moves the map from srcNodeId to the specified tgtNodeId. Specifying the srcNodeId, srcNodeType, tgtNodeId, tgtnodeType are mandatory.
replaceIfExists has values true or false.If replaceIfExists has value False, it moves the mapping with the newMapName to tgtNodeId.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType ,nodeId would be either projectId or subjectId .- Parameters:
srcNodeId- intsrcNodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName- StringtgtNodeId- inttgtnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTreplaceIfExists- booleannewMapName- String- Returns:
- RequestStatus Object
- Since:
- 7.0
-
publishMapping
public RequestStatus publishMapping(int mapId, Date effectiveDate, String changeDescription, String publishNotes) Mapping is published for the specified mapId. specifying the mapId, effectiveDate, changeDescription, publishNotes are mandatory.- Parameters:
mapId- inteffectiveDate- DatechangeDescription- StringpublishNotes- String- Returns:
- RequestStatus Object
- Since:
- 7.0
-
publishMapping
public RequestStatus publishMapping(int nodeId, Node.NodeType nodeType, String mapName, Date effectiveDate, String changeDescription, String publishNotes) Mapping is published for the specified mapName.specifying the mapName, effectiveDate, changeDescription, publishNotes are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringeffectiveDate- DatechangeDescription- StringpublishNotes- String- Returns:
- RequestStatus Object
- Since:
- 7.0
-
unPublishMap
Mapping is unpublished for the specified mapId. Specifying the mapId is mandatory.
Once the map is unpublished, it will be removed from published mappings workspace and the map will be a normal map in projects Tree.- Parameters:
mapId- int- Returns:
- RequestStatus Object
- Since:
- 7.0
-
unPublishMap
public RequestStatus unPublishMap(int nodeId, Node.NodeType nodeType, String mapName, float versionNo) Mapping is unpublished for the specified nodeId.Specifying the nodeId, nodeType are mandatory. Incase when a particular map is published many times, it creates multiple versions.
In that case, to delete a particular version, specifying mapName and versionNo are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringversionNo- float- Returns:
- RequestStatus Object
- Since:
- 7.0
-
setMappingLock
mappingLock can be either set to lock or unlock i.e to either true or false for the specified mapId. specifying the mapId, lockStatus are mandatory.- Parameters:
mapId- intlockStatus- boolean- Returns:
- RequestStatus Object
- Since:
- 7.0
-
setMappingLock
public RequestStatus setMappingLock(int nodeId, Node.NodeType nodeType, String mapName, boolean lockStatus) mappingLock can be either set to lock or unlock i.e to either true or false for the specified mapName. specifying the mapName, nodeId, nodeType are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringlockStatus- boolean- Returns:
- RequestStatus Object
- Since:
- 7.0
-
getMappingSpecifications
public List<MappingSpecificationRow> getMappingSpecifications(List<Integer> mappingSequenceIds) throws Exception Returns the List of MappingSpecification Rows for the specified List of mapSequenceIds.
Mapping Specifications includes all source details and target details.Specifying the mapSequenceIds are mandatory.- Parameters:
mappingSequenceIds- List- Returns:
- List - MappingSpecificationRow
- Throws:
Exception- Since:
- 7.0
-
updateMappingSpecification
Mapping Specification is updated as the specified mappingSpecificationRow. Specifying mappingId, mappingSequenceId are modified.- Parameters:
mappingSpecificationRow- MappingSpecificationRow Object- Returns:
- RequestStatus Object
- Since:
- 7.0
-
updateMappingSpecifications
public RequestStatus updateMappingSpecifications(List<MappingSpecificationRow> mappingSpecificationRows) Mapping Specifications are updated as specified in List of mappingSpecificationRows. Specifying mappingIds, mappingSequenceIds are modified.- Parameters:
mappingSpecificationRows- List- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMappingSpecifications
Deletes the mappingSpecifications for the specified List of mappingSequenceIds.Specifying the mappingSequenceIds are mandatory.- Parameters:
mappingSequenceIds- List- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMappingSpecificationRow
Deletes the mappingSpecification for the specified mappingSpecificationRow Object.
Specifying the mappingSequenceId are mandatory.- Parameters:
mappingSpecificationRow- Object- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMappingSpecificationRows
public RequestStatus deleteMappingSpecificationRows(List<MappingSpecificationRow> mappingSpecificationRows) Deletes the mappingSpecifications for the specified List of mappingSpecificationRows.
Specifying the mappingSequenceIds are mandatory.- Parameters:
mappingSpecificationRows- Object- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMapping
public RequestStatus deleteMapping(int mapId, APIConstants.VersionMode versionMode, float versionNo) Deletes the mapping of the specified mapId, versionMode. Specifying the mapId, versionMode are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.
ALL_VERSIONS - Deletes all mappings.
CURRENT_VERSION - Deletes the present/current version.
SPECIFIC_VERSION - Deletes a particular version.
If the versionMode is SPECIFIC_VERSION , specifying the versionNo is mandatory.- Parameters:
mapId- intversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- Float- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMappings
public RequestStatus deleteMappings(List<Integer> mappingIds, APIConstants.VersionMode versionMode, float versionNo) Deletes the mappings of the specified mappingIds. Specifying the mappingIds, versionMode are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version, SPECIFIC_VERSION - Deletes a particular version.- Parameters:
mappingIds- List - should be activeversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- float- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMapping
public RequestStatus deleteMapping(int nodeId, Node.NodeType nodeType, String mapName, APIConstants.VersionMode versionMode, float versionNo) Deletes the map for the specified mapName of the given nodeType and nodeId. specifying the mapName, nodeType, nodeId are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version. SPECIFIC_VERSION - Deletes a particular version.
If the versionMode is SPECIFIC_VERSION , specifying the versionNo is mandatory.- Parameters:
nodeId- intnodeType- Node Object - valid Types - MM_PROJECT, MM_SUBJECTmapName- StringversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- Float- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMappings
public RequestStatus deleteMappings(int nodeId, Node.NodeType nodeType, List<String> mapNames, APIConstants.VersionMode versionMode, float versionNo) Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId. Specifying the mapNames, nodeType, nodeId, versionMode are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version, SPECIFIC_VERSION - Deletes a particular version.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Object - valid Types - MM_PROJECT, MM_SUBJECTmapNames- ListversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- float- Returns:
- RequestStatus Object
- Since:
- 7.0
-
deleteMappings
public RequestStatus deleteMappings(int nodeId, Node.NodeType nodeType, APIConstants.VersionMode versionMode, float versionNo) Deletes the mappings of the given nodeType and nodeId. specifying the nodeType, nodeId are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version, SPECIFIC_VERSION - Deletes a particular version.- Parameters:
nodeId- intnodeType- Node Object - valid Types are MM_PROJECT, MM_SUBJECTversionMode- APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo-- Returns:
- RequestStatus Object
- Since:
- 7.0
-
addMappingDocument
MappingDocument is added for the specified mapId. specifying the mapId, documentName, documentObject and filePathType are mandatory in the document object. The supported values for the filePathType are ABSOLUTE, RELATIVE.- Parameters:
mapId- intdocument- Document- Returns:
- RequestStatus Object
- Since:
- 7.0
-
addMappingDocument
public RequestStatus addMappingDocument(int nodeId, Node.NodeType nodeType, String mapName, Document document) MappingDocument is added for the specified mapName. specifying the mapName, documentName, documentObject and filePathType are mandatory. The supported values for the filePathType are ABSOLUTE, RELATIVE.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.- Parameters:
nodeId- intnodeType- Node Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- Stringdocument- Document- Returns:
- RequestStatus Object
- Since:
- 7.0
-
exportMappingToExcelAs
public String exportMappingToExcelAs(int mapId, boolean visibleColumns, boolean includePseudocode, String outputFormat) Mapping Specification is exported to excel for the specified mapId.Specifying the mapId is mandatory.
i.e all the mapping specification details such as target details and source details are exported to excel. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE.
Visible columns has a value either true or false.
If the Visible Columns is True only the visible columns of mapping specification grid are exported.
If the Visible Columns is False, then all the columns both visible and hidden from Mapping specification grid are exported to excel.
If the value of Visible Columns is not specified, by default it takes the value False.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intvisibleColumns- booleanincludePseudocode- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If exportMappingToExcelAs is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
exportMappingToExcelAs
public String exportMappingToExcelAs(int nodeId, String nodeType, String mapName, boolean visibleColumns, boolean includePseudocode, String outputFormat) Mapping Specification is exported to excel for the specified mapName. Specifying the mapName,nodeType, nodeId are mandatory.
i.e all the mapping specification details such as target details and source details are exported to excel. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE.
Visible columns has a value either true or false.
If the Visible Columns is True only the visible columns of mapping specification grid are exported.
If the Visible Columns is False, then all the columns both visible and hidden from Mapping specification grid are exported to excel.
If the value of Visible Columns is not specified, by default it takes the value False.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringvisibleColumns- booleanincludePseudocode- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If exportMappingToExcelAs is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
exportAllAs
public String exportAllAs(int nodeId, String nodeType, String selectionCriteria, String exportOption, boolean includePseudoCode, boolean visibleColumns, String outputFormat) Mapping Specifications are exported to excel for the specified nodeId. nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
All the mappings of the specified projectId or SubjectId are exported to excel. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE. Specifying nodeId, nodeType and exportOption are Mandatory.
selectionCriteria has values ALL, ACTIVE or PASSIVE, By default selectionCriteria takes the value ACTIVE.
If selectionCriteria value is ALL it exports both ACTIVE and PASSIVE mappings.
If selectionCriteria value is ACTIVE it exports only ACTIVE mappings.
If selectionCriteria value is PASSIVE it exports only PASSIVE mappings.
exportOption has values ExportintMultipleSheet, ExportAll or ExportintoSingleSheet.
If exportOption value is ExportintMultipleSheet it refers to exporting to single workbook with multiple excelSheets..
If exportOption value is ExportAll it refers to exporting to individual excel Files.
If exportOption value is ExportintoSingleSheet it refers to exporting to a single excel Sheet.
Visible columns has a value either true or false.
If the Visible Columns is True only the visible columns of mapping specification grid are exported.
If the Visible Columns is False, then all the columns both visible and hidden from Mapping specification grid are exported to excel.
If the value of Visible Columns is not specified, by default it takes the value False.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria- String - valid types are ALL, ACTIVE, PASSIVE.exportOption- String - valid types are ExportintMultipleSheet, ExportAll, ExportintoSingleSheet.includePseudoCode- BooleanvisibleColumns- BooleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If exportAllAs is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
exportMappingXmlAs
public String exportMappingXmlAs(int nodeId, String nodeType, String selectionCriteria, String outputFormat) Mapping Specifications are exported to XML for the specified nodeId. Specifying the nodeId, nodeType are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
All the mappings of the specified projectId or SubjectId are exported to XML. The exported filePath will be available in the userObject of requestStatus object and and the filePath will be RELATIVE.
selectionCriteria has values ALL, ACTIVE or PASSIVE, By default selectionCriteria takes the value ACTIVE.
If selectionCriteria value is ALL it exports both ACTIVE and PASSIVE mappings.
If selectionCriteria value is ACTIVE it exports only ACTIVE mappings.
If selectionCriteria value is PASSIVE it exports only PASSIVE mappings.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria- String - APIConstants Object valid types are ALL, ACTIVE, PASSIVE.outputFormat- String - Valid values: JSON or XML- Returns:
- String - If exportMappingXmlAs is successful,it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
getMappingAs
public String getMappingAs(int nodeId, String nodeType, String mapName, float versionNo, String outputFormat) Returns all the information relating to the specified mapName, such as mappingDescription, mappingSpecVersion, mappingStatus,
mappingPlannedDevelopmentEffort, actualEffort,testingNotes, versionLabel, userDefined Fields, AuditFields etc...
Specifying the mapName, nodeId, nodeTyp and versionNo are mandatory.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType, nodeId would be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringversionNo- floatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping object is returned successfully, it returns success message otherwise returns failure message.
- Since:
- 7.0
-
getMappingsAs
public String getMappingsAs(String MapIdsJsonArray, boolean fillSpecifications, boolean fillDocuments, String outputFormat) Returns List of Mappings for the specified List of mapIds. fillSpecifications and fillDocuments have values true or false. Specifying the mapIds is mandatory.
If fillSpecifications and fillDocuments have value true, it returns the list of mappings along with mapping specification details and Documents associated with those mappings.
If fillSpecifications and fillDocuments have value false, it returns the list of mappings and details associated with those mappings. In this it does not return mapping specification details and Documents associated with those mappings.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
MapIdsJsonArray- String - ListfillSpecifications- BooleanfillDocuments- BooleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mappings are returned successfully, it returns success message otherwise returns failure message.
- Since:
- 7.0
-
cloneMappingAs
public String cloneMappingAs(int srcMapId, boolean createNewVersion, String newMapName, int tgtNodeId, String tgtnodeType, String outputFormat) Clone Mapping creates another copy of the map. i.e it copies the map specified as srcMapId and creates another copy at the specified tgtNodeId.
Specifying srcMapId, tgtnodeType, tgtNodeId are mandatory. createNewVersion has the values as true or false.
If createNewVersion has value True, then specifying newMapName is mandatory.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType ,nodeId would be either projectId, subjectId or mapId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
srcMapId- intcreateNewVersion- BooleannewMapName- StringtgtNodeId- inttgtnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECToutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Clone Mapping is created successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
cloneMappingAs
public String cloneMappingAs(int srcNodeId, String srcnodeType, String srcMapName, boolean createNewVersion, String newMapName, int tgtNodeId, String tgtnodeType, String outputFormat) Clone Mapping creates another copy of the map. i.e it copies the map specified at srcNodeId with srcMapName and creates another copy at the specified tgtNodeId.
Specifying srcMapName, tgtnodeType, tgtNodeId are mandatory. createNewVersion has the values as true or false.
If createNewVersion has value True, then specifying newMapName is mandatory. nodeType can be MM_PROJECT, MM_SUBJECT. Depending upon the nodeType ,nodeId would be either projectId, subjectId or mapId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
srcNodeId- intsrcnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName- StringcreateNewVersion- BooleannewMapName- StringtgtNodeId- inttgtnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECToutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Clone Mapping is created successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
mergeMappingAs
public String mergeMappingAs(int srcMapId, int tgtMapId, boolean createNewVersion, String changeDescription, String outputFormat) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcMapId and merges with the map specified at tgtMapId.Specifying srcMapId and tgtMapId are mandatory.
createNewVersion has value as either true or false. If createNewVersion has value true, it creates a new version at tgtMapId, otherwise it overwrites the mapping. Specifying the change description is mandatory.
OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
srcMapId- inttgtMapId- intcreateNewVersion- BooleanchangeDescription- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Merge Mapping is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
mergeMappingAs
public String mergeMappingAs(int srcNodeId, String srcNodeType, String srcMapName, int tgtNodeId, String tgtNodeType, String tgtMapName, boolean createNewVersion, String changeDescription, String outputFormat) Merge Mapping combines the mapping specifications of one map in to the other map.I.e it copies the map specified at srcNodeId with srcMapName and merges with the map specified at tgtNodeId with the name tgtMapName.
Specifying the srcNodeId, tgtNodeId, srcMapName, tgtMapName are Mandatory.
createNewVersion has value as either true or false. If createNewVersion has value true, it creates a new version at tgtNodeId, otherwise it overwrites the mapping. Specifying the change description is mandatory.
nodeType can be MM_PROJECT, MM_SUBJECT, MM_MAPPING.Depending upon the nodeType ,nodeId would be either projectId, subjectId or mapId.
OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
srcNodeId- intsrcNodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName- StringtgtNodeId- inttgtNodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTtgtMapName- StringcreateNewVersion- BooleanchangeDescription- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Merge Mapping is done successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
moveMappingAs
public String moveMappingAs(int srcMapId, int tgtNodeId, String tgtnodeType, boolean replaceIfExists, String newMapName, String outputFormat) Move Mapping moves the map from srcMapId to the specified tgtNodeId. Specifying the srcMapId, tgtNodeId are mandatory.
replaceIfExists has values true or false.If replaceIfExists has value false, it moves the mapping with the newMapName to tgtNodeId.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType ,nodeId would be either projectId or subjectId .
OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
srcMapId- inttgtnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTtgtNodeId- intreplaceIfExists- booleannewMapName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If moveMappingAs is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
moveMappingAs
public String moveMappingAs(int srcNodeId, String srcNodeType, String srcMapName, int tgtNodeId, String tgtnodeType, boolean replaceIfExists, String newMapName, String outputFormat) throws com.icc.exceptions.DaoException Move Mapping moves the map from srcNodeId to the specified tgtNodeId. Specifying the srcNodeId, srcNodeType, tgtnodeType, tgtNodeId are mandatory.
replaceIfExists has values true or false.If replaceIfExists has value False, it moves the mapping with the newMapName to tgtNodeId.
nodeType can be MM_PROJECT, MM_SUBJECT.Depending upon the nodeType ,nodeId would be either projectId or subjectId .
OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
srcNodeId- intsrcNodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName- StringtgtNodeId- inttgtnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTreplaceIfExists- BooleannewMapName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If moveMappingAs is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Throws:
com.icc.exceptions.DaoException- Since:
- 7.0
-
publishMappingAs
public String publishMappingAs(int mapId, Date effectiveDate, String changeDescription, String publishNotes, String outputFormat) Mapping is published for the specified mapId.specifying the mapId, effectiveDate, changeDescription, publishNotes are mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- inteffectiveDate- DatechangeDescription- StringpublishNotes- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If publish Mapping is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
publishMappingAs
public String publishMappingAs(int nodeId, String nodeType, String mapName, Date effectiveDate, String changeDescription, String publishNotes, String outputFormat) Mapping is published for the specified mapName.specifying the mapName, effectiveDate, changeDescription, publishNotes are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringeffectiveDate- DatechangeDescription- StringpublishNotes- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If publish Mapping is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
unPublishMapAs
Mapping is unpublished for the specified mapId.Specifying the mapId is mandatory.
Once the map is unpublished, it will be removed from published mappings workspace and the map will be a normal map in projects Tree. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping is unPublished successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
unPublishMapAs
public String unPublishMapAs(int nodeId, String nodeType, String mapName, float versionNo, String outputFormat) Mapping is unpublished for the specified nodeId.Specifying the nodeId, nodeType are mandatory. Incase when a particular map is published many times, it creates multiple versions.
In that case, to delete a particular version, specifying mapName and versionNo are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTnodeId- intmapName- StringversionNo- floatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping is unPublished successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
setMappingLockAs
mappingLock can be either set to lock or unlock for the specified mapId. specifying the mapId, lockStatus are mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intlockStatus- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If MappingLock is set successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
setMappingLockAs
public String setMappingLockAs(int nodeId, String nodeType, String mapName, boolean lockStatus, String outputFormat) mappingLock can be either set to lock or unlock for the specified mapName. specifying the mapName, nodeId, nodeType are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringlockStatus- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If MappingLock is set successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
getMappingSpecificationsAs
Returns the List of MappingSpecification Rows for the specified List of mapSequenceIds.
Mapping Specifications includes all source details and target details. Specifying the mapSequenceIds are mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapSeqIdsJsonArray- String - List of IdsoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If MappingSpecifications are returned successfully, it returns success message otherwise returns failure message.
- Since:
- 7.0
-
updateMappingSpecificationAs
public String updateMappingSpecificationAs(String mappingSpecificationRowJsonObj, String outputFormat) Mapping Specification is updated with the specified mappingSpecificationRow object. Specifying mappingId, mappingSequenceId are modified.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingSpecificationRowJsonObj- String - mappingSpecificationRow ObjectoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If MappingSpecification is updated successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappingSpecificationRowObjJson' JSON :
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 0,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 0,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
} - Since:
- 7.0
-
updateMappingSpecificationsAs
public String updateMappingSpecificationsAs(String mappingSpecificationRowJsonArray, String outputFormat) Mapping Specifications are updated as specified in List of mappingSpecificationRows.Specifying mappingIds, mappingSequenceIds are modified.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingSpecificationRowJsonArray- String - mappingSpecificationRow ObjectoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If MappingSpecifications are updated successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappingSpecificationRowJsonArray' JSON :
[
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 0,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 0,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
},
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 0,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 0,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
}
] - Since:
- 7.0
-
deleteMappingSpecificationsAs
Deletes the mappingSpecifications for the specified List of mapSequenceIds. Specifying the mappingSequenceIds is mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapSeqIdsJsonArray- String - List of Ids.outputFormat- String - Valid values: JSON or XML- Returns:
- String - If MappingSpecifications are deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
deleteMappingsAs
public String deleteMappingsAs(String mappingIdsJsonArray, String versionMode, float versionNo, String outputFormat) Deletes the mappings for the specified mappingIds. Specifying the mappingIds is mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version, SPECIFIC_VERSION - Deletes a particular version.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingIdsJsonArray- String - List of mappingIdsversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- floatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mappings are deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
deleteMappingAs
public String deleteMappingAs(int nodeId, String nodeType, String mapName, String versionMode, float versionNo, String outputFormat) Deletes the map for the specified mapName of the given nodeType and nodeId. specifying the mapName, nodeType, nodeId are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version. SPECIFIC_VERSION - Deletes a particular version.
If the versionMode is SPECIFIC_VERSION , specifying the versionNo is mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- StringversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- FloatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping is deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
deleteMappingsAs
public String deleteMappingsAs(int nodeId, String nodeType, String versionMode, float versionNo, String outputFormat) Deletes the mappings of the given nodeType and nodeId. specifying the nodeType, nodeId are mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION. ALL_VERSIONS - Deletes all mappings, CURRENT_VERSION - Deletes the present/current version. SPECIFIC_VERSION - Deletes a particular version.
If the versionMode is SPECIFIC_VERSION , specifying the versionNo is mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo-outputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mappings are deleted successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
addMappingDocumentAs
MappingDocument is added for the specified mapId. specifying the mapId, documentName and either of documentObject or documentLink and filePathType are mandatory. The supported values for the filePathType are ABSOLUTE, RELATIVE.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intdocument- String - DocumentoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping Document is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'document' JSON :
{
"documentIntendedPurpose": "",
"userData": null,
"documentReferenceNumber": "",
"documentType": "",
"documentName": "",
"documentApprovedBy": "",
"documentObject": "",
"approvalRequired": false,
"documentOwner": "",
"documentLink": "",
"filePathType" : "", "documentId": 0,
"documentReference": "",
"documentStatus": "",
"documentApprovedDate": 1460701213000
} - Since:
- 7.0
-
addMappingDocumentAs
public String addMappingDocumentAs(int nodeId, String nodeType, String mapName, String document, String outputFormat) MappingDocument is added for the specified mapName. specifying the mapName, documentName and either of the or documentObject or documentLink and filePathType are mandatory. The supported values for the filePathType are ABSOLUTE, RELATIVE.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName- Stringdocument- String - DocumentoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mapping Document is added successfully, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'document' JSON :
{
"documentIntendedPurpose": "",
"userData": null,
"documentReferenceNumber": "",
"documentType": "",
"documentName": "",
"documentApprovedBy": "",
"documentObject": "",
"approvalRequired": false,
"documentOwner": "",
"documentLink": "",
"filePathType":"",
"documentId": 0,
"documentReference": "",
"documentStatus": "",
"documentApprovedDate": 1460701213000
} - Since:
- 7.0
-
getProjectsAs
Returns the projects and its Details according to the specified Depth.
Specifying the depth is mandatory. Depth has values NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.
NAMES - Returns the names of the Projects.
NAMES_IDS - Returns the names and projectIds.
DETAILS - Returns the projectDetails.
DETAILS_DOCUMENTS - Returns the projectDetails and projectDocuments.
DETAILS_PROJECT_RESOURCES - Returns the projectDetails and projectResources.
ALL - Returns the projectDetails, projectDocuments and projectResources.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
depth- Node Object - valid depth types are NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.outputFormat- String - Valid values: JSON or XML- Returns:
- String - If projectDetails are returned successfully,it returns success message otherwise returns failure message.
- Since:
- 7.0
-
uploadMappingAs
Uploads the mappingSpecifications on the specified mapId and of the importFileType, importType specified in MappingImportHelper Object.
Specifying the mapId, importFileType, importType, filePath and filePathType are mandatory.
Valid importFileType is only MAPPINGMANAGER_EXCEL and importType can be APPEND_TO_EXISTING or DELETE_AND_RELOAD. The supported values for the filePathType are ABSOLUTE, RELATIVE.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intmappingImportHelperObjJson- mappingImportHelper ObjectoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If uploadMapping is successful, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappingImportHelperJsonObj' JSON :
{
"filePath": "",
"filePathType" : "", "importFileType": "",
"importType": "",
"mailComments": null,
"headerString": "",
"treatFirstRowAsHeader": false
} - Since:
- 7.0
-
uploadMappingAs
public String uploadMappingAs(int nodeId, String nodeType, String mappingImportHelperObjJson, String outputFormat) Uploads the mappingSpecifications on the specified nodeId, nodeType and of the importFileType, importType specified in MappingImportHelper Object.
Specifying the nodeId, nodeType, importFileType, importType, filePath, filePathType are mandatory. The supported values for the filePathType are ABSOLUTE, RELATIVE.
Valid importFileTypes are MAPPINGMANAGER_LEGACY_EXCEL, MAPPINGMANAGER_XML, INFORMATICA, DATASTAGE, SSIS_2008 and importType can be APPEND_TO_EXISTING or DELETE_AND_RELOAD.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmappingImportHelperObjJson- mappingImportHelper ObjectoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If uploadMapping is successful, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappingImportHelperJsonObj' JSON :
{
"filePath": "",
"filePathType" : "", "importFileType": "",
"importType": "",
"mailComments": null,
"headerString": "",
"treatFirstRowAsHeader": false
} - Since:
- 7.0
-
deleteMappingSpecificationRowAs
public String deleteMappingSpecificationRowAs(String mappingSpecificationRowJsonObj, String outputFormat) Deletes the mappingSpecificationRow for the specified mappingSpecificationRow Object.
Specifying the mappingSequenceId and mapId are mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingSpecificationRowJsonObj- String - mappingSpecificationRow ObjectoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If deletion of mappingSpecificationRow is successful, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappingSpecificationRowJsonObj' JSON :
{
"mappingId":0,
"mappingSequenceId":0 } - Since:
- 7.0
-
deleteMappingSpecificationRowsAs
public String deleteMappingSpecificationRowsAs(String mappingSpecificationRowsJsonArray, String outputFormat) Deletes the mappingSpecifications for the specified List of mappingSpecificationRows.
Specifying the mappingSequenceIds and mapId are mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mappingSpecificationRowsJsonArray- String - mappingSpecificationRows ListoutputFormat- String deleteMappingSpecificationRowAs- Returns:
- String - If deletion of mappingSpecificationRows are successful, it will return RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappingSpecificationRowsJsonArray' JSON :
[{
"mappingId":0,
"mappingSequenceId":0 },
{
"mappingId":0,
"mappingSequenceId":0 }] - Since:
- 7.0
-
deleteMappingsAs
public String deleteMappingsAs(int nodeId, String nodeType, String mapNamesJsonArray, String versionMode, float versionNo, String outputFormat) Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId.
Specifying the mapNames, nodeType, nodeId, versionMode are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.
ALL_VERSIONS - Deletes all mappings.
CURRENT_VERSION - Deletes the present/current version.
SPECIFIC_VERSION - Deletes a particular version.
If the versionMode is SPECIFIC_VERSION , specifying the versionNo is mandatory.
nodeType can be either MM_PROJECT, MM_SUBJECT. Depending upon the nodeType, nodeId will be either projectId or subjectId.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
nodeId- intnodeType- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECT.mapNamesJsonArray- String - List of mapNamesversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- floatoutputFormat- String deleteMappingSpecificationRowAs- Returns:
- String - If deletion of mappings is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
deleteMappingAs
Deletes the mapping of the specified mapId and versionMode. Specifying the mapId, versionMode are mandatory.
VersionMode has values ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.
ALL_VERSIONS - Deletes all mappings.
CURRENT_VERSION - Deletes the present/current version.
SPECIFIC_VERSION - Deletes a particular version.
If the versionMode is SPECIFIC_VERSION , specifying the versionNo is mandatory.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapId- intversionMode- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo- floatoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If deletion of mapping is successful, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 7.0
-
createSubject
Creates Subject for the specified ProjectId, ParentSubjectId and SubjectName. Specifying ProjectId, SubjectName are Mandatory. If Subject details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
projectId- intparentSubjectId- intsubjectName- String- Returns:
- RequestStatus object
- Since:
- 8.1
-
createSubject
public RequestStatus createSubject(int projectId, int parentSubjectId, String subjectName, String subjectDescription) Creates Subject for the specified ProjectId, ParentSubjectId, SubjectName and Subject Description. Specifying ProjectId, Subject Name are Mandatory. If Subject details are added successfully, RequestStatus.isRequestSuccess() will return true otherwise false.- Parameters:
projectId- intparentSubjectId- intsubjectName- StringsubjectDescription- String- Returns:
- RequestStatus object
- Since:
- 8.1
-
createSubjectAs
public String createSubjectAs(int projectId, int parentSubjectId, String subjectName, String outputFormat) Creates Subject for the specified ProjectId, ParentSubjectId and subjectName in JSON. outputFormat can be JSON or XML.
Specifying projectId,subjectName are Mandatory to create a subject.- Parameters:
projectId- intparentSubjectId- intsubjectName- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Subject is added successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 8.1
-
createSubjectAs
public String createSubjectAs(int projectId, int parentSubjectId, String subjectName, String subjectDescription, String outputFormat) Creates Subject for the specified ProjectId, ParentSubjectId, SubjectName and SubjectDescription in JSON. outputFormat can be JSON or XML.
Specifying projectId , subjectName are Mandatory to create a subject.- Parameters:
projectId- intparentSubjectId- intsubjectName- StringsubjectDescription- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Subject is added successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 8.1
-
publishMappings
public RequestStatus publishMappings(List<Integer> mapIds, Date effectiveDate, String changeDescription, String publishNotes) Mappings will be published for the specified mapIds. specifying the mapIds, effectiveDate, changeDescription, publishNotes are mandatory.- Parameters:
mapIds-effectiveDate-changeDescription-publishNotes-- Returns:
- RequestStatus Object
- Since:
- 8.3
-
publishMappingsAs
public String publishMappingsAs(String mapIdsJsonArray, Date effectiveDate, String changeDescription, String publishNotes, String outputFormat) Mappings will be published for the specified mapIds in the JSON.
specifying the mapIds, effectiveDate, changed description and publish notes are mandatory along with the other details.
outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapIdsJsonArray-effectiveDate-changeDescription-publishNotes-outputFormat- - Valid values: JSON or XML- Returns:
- String - If Mappings are published successfully, it will return RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 8.3
-
createMappingsAs
Creates Mappings for the specified mapping objects,addSpecifications and outputFormat. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying projectId and mappingName are mandatory. If the value of addSpecifications is true, mappings gets created with all the specification details provided.If the value of addSpecifications is false only empty mappings with out any specifications gets created.- Parameters:
mappings- StringaddSpecifications- booleanoutputFormat- String - Valid values: JSON or XML- Returns:
- String - If Mappings are added successfully, it will return
RequestStatus Object consisting of Request success flag, status message
and userObject etc... in the form of JSON or XML String.
Sample 'mappings' JSON :
[
{
"projectId": 0,
"mappingName": "",
"mappingId": 0,
"mappingSubStateName": null,
"publishNotes": null,
"subjectId": -1,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"userDefined13": "",
"mappingSpecifications": [
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 1,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 1,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
}
],
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"targetUpdateStrategy": "",
"userDefined18": "",
"actualETLEffort": 0,
"userDefined19": "",
"testDisposition": " ",
"versionLabel": "",
"plannedETLEffortUnits": "",
"plannedETLEffort": 0,
"userDefined8": "",
"userDefined20": "",
"userDefined9": "",
"userDefined21": "",
"userDefined6": "",
"userDefined22": "",
"userDefined7": "",
"userDefined23": "",
"userDefined4": "",
"plannedMappingEffortUnits": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"userDefined1": "",
"mappingSubStateId": 0,
"mappingStateId": 0,
"changedDescription": "",
"actualETLEffortUnits": "",
"userDefined24": "",
"userDefined25": "",
"plannedMappingEffort": 0,
"userDefined26": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"actualDevelopLevelOfEffort": null,
"actualNotes": "",
"userDefined30": "",
"userDefined31": "",
"testingNotes": "",
"actualMappingEffort": 0,
"userDefined32": "",
"userDefined33": "",
"sourceExtractQuery": "",
"userDefined34": "",
"targetUpgateStrategyNotes": "",
"plannedDevelopmentLevelOfEffort": null,
"sourceExtractDescription": "",
"userDefined35": "",
"mappingDescription": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"mappingStateName": null,
"userDefined40": "",
"userDefined41": "",
"plannedNotes": "",
"userDefined42": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"mappingDocuments": null,
"mappingSpecVersion": 0,
"effectiveDate": null
},
{
"projectId": 0,
"mappingName": "",
"mappingId": 0,
"mappingSubStateName": null,
"publishNotes": null,
"subjectId": -1,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"userDefined13": "",
"mappingSpecifications": [
{
"sourceColumnIdentityFlag": false,
"targetSystemEnvironmentName": "",
"targetBusinessKeyFlag": false,
"targetColumnClass": "",
"userDefined46": "",
"userDefined47": "",
"userDefined48": "",
"userDefined49": "",
"userDefined50": "",
"sourcePrimaryKeyFlag": false,
"targetColumnScale": "",
"targetColumnAlias": "",
"sourceSDIFlag": false,
"targetSDIFlag": false,
"sourceTableClass": "",
"sourceColumnAlias": "",
"sourceColumnScale": "",
"extendedBusinessRule": "",
"rowOrder": 1,
"userDefined8": "",
"sourceColumnDefinition": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"businessRule": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"targetLogicalColumnName": "",
"userDefined1": "",
"sourceColumnDatatype": "",
"sourceSDIDescription": "",
"targetColumnDefinition": "",
"sourceSystemEnvironmentName": "",
"targetSystemName": "",
"targetColumnComments": "",
"userDefined24": "",
"userDefined25": "",
"userDefined26": "",
"mappingSpecificationRowComments": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"targetColumnPrecision": "",
"csmmappingReference": "",
"targetNaturalKeyFlag": false,
"userDefined30": "",
"userDefined31": "",
"sourceTableAlias": "",
"userDefined32": "",
"userDefined33": "",
"userDefined34": "",
"targetTableName": "",
"sourceMinimumValue": "",
"sourcePercentNullValue": "",
"sourceSystemId": -1,
"userDefined35": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"sourceLogicalColumnName": "",
"sourceColumnPrecision": "",
"sourceMaximumValue": "",
"userDefined40": "",
"userDefined41": "",
"userDefined42": "",
"pseudocode": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"targetTableAlias": "",
"baseSourceSystemName": "",
"sourceTableName": "",
"mappingSequenceId": 0,
"userDefined10": "",
"userDefined11": "",
"baseSourceSystemEnvironmentName": "",
"userDefined12": "",
"targetPrimaryKeyFlag": false,
"lookupColumn": "",
"sourceColumnLength": "",
"sourceBusinessKeyFlag": false,
"userDefined13": "",
"sourceNaturalKeyFlag": false,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"userDefined17": "",
"targetColumnNullableFlag": false,
"userDefined18": "",
"userDefined19": "",
"lookupOn": "",
"sourceColumnDBDefaultValue": "",
"targetColumnLength": "",
"userDefined20": "",
"sourceColumnComments": "",
"userDefined21": "",
"userDefined22": "",
"userDefined23": "",
"sourceSystemName": "",
"targetSystemId": -1,
"targetSDIDescription": "",
"targetTableClass": "",
"mappingId": 1,
"specificationArtifacts": "",
"transformationLookupCondition": "",
"sourceColumnNullableFlag": false,
"targetColumnName": "",
"sourceColumnClass": "",
"targetColumnETLDefaultValue": "",
"baseTargetSystemEnvironmentName": "",
"baseTargetSystemName": "",
"targetXPath": "",
"sourceColumnName": "",
"sourceXPath": "",
"columnMappingCompleteFlag": false,
"rdmReferenceTable": "",
"targetColumnDatatype": "",
"sourceTableType" : "",
"targetTableType" : "",
"sourceEntityUID" : "",
"targetEntityUID" : "",
"sourceEnvBusinessEntityType": "",
"sourceTableBusinessEntityType": "",
"targetEnvBusinessEntityType": "",
"targetTableBusinessEntityType": ""
}
],
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"targetUpdateStrategy": "",
"userDefined18": "",
"actualETLEffort": 0,
"userDefined19": "",
"testDisposition": " ",
"versionLabel": "",
"plannedETLEffortUnits": "",
"plannedETLEffort": 0,
"userDefined8": "",
"userDefined20": "",
"userDefined9": "",
"userDefined21": "",
"userDefined6": "",
"userDefined22": "",
"userDefined7": "",
"userDefined23": "",
"userDefined4": "",
"plannedMappingEffortUnits": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"userDefined1": "",
"mappingSubStateId": 0,
"mappingStateId": 0,
"changedDescription": "",
"actualETLEffortUnits": "",
"userDefined24": "",
"userDefined25": "",
"plannedMappingEffort": 0,
"userDefined26": "",
"userDefined27": "",
"userDefined28": "",
"userDefined29": "",
"actualDevelopLevelOfEffort": null,
"actualNotes": "",
"userDefined30": "",
"userDefined31": "",
"testingNotes": "",
"actualMappingEffort": 0,
"userDefined32": "",
"userDefined33": "",
"sourceExtractQuery": "",
"userDefined34": "",
"targetUpgateStrategyNotes": "",
"plannedDevelopmentLevelOfEffort": null,
"sourceExtractDescription": "",
"userDefined35": "",
"mappingDescription": "",
"userDefined36": "",
"userDefined37": "",
"userDefined38": "",
"userDefined39": "",
"mappingStateName": null,
"userDefined40": "",
"userDefined41": "",
"plannedNotes": "",
"userDefined42": "",
"userDefined43": "",
"userDefined44": "",
"userDefined45": "",
"mappingDocuments": null,
"mappingSpecVersion": 0,
"effectiveDate": null
}
] - Since:
- 10.2
-
createMappingsWithFillOptions
Creates Mappings for the specified mapping objects and fillOptions. OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.
Specifying projectId and mappingName are mandatory in each mapping object.
Here fillOptions can be Integer values of eitherAPIConstants.MMFillOptions.MAPPING_SPECIFICATIONSorAPIConstants.MMFillOptions.MAPPING_DOCUMENTSorAPIConstants.MMFillOptions.MAPPING_EXTENDED_PROPERTIESfor example: If you want to add mappings along with mapping specifications and documents you need to pass the fillOptions parameter value as 3 (MAPPING_SPECIFICATIONS(1) + MAPPING_DOCUMENTS(2)).- Parameters:
mappings- StringfillOptions- intoutputFormat- String- Returns:
- String
- Since:
- 13.0
-
getSubject
Returns Subject object for the specified projectId and subjectHierarchy. Specifying the projectId and subjectHierarchy are mandatory based on which it returns all the details of subject.
It returns all the details pertaining to the subject such as subjectId, subjectName, subjectDescription and auditHistory.- Parameters:
projectId- intsubjectHierarchy- String - Example for subjectHierarchy input parameter : s1/s2/s3- Returns:
- Subject object in the form of JSON or XML String
- Throws:
Exception- Since:
- 12.1
-
getSubject
Returns Subject object for the specified projectName and subjectHierarchy. Specifying the projectName and subjectHierarchy are mandatory based on which it returns all the details of subject.
It returns all the details pertaining to the subject such as subjectId, subjectName, subjectDescription and auditHistory.- Parameters:
projectName- StringsubjectHierarchy- String - Example for subjectHierarchy input parameter : s1/s2/s3- Returns:
- - Subject object in the form of JSON or XML String
- Throws:
Exception- Since:
- 12.1
-
getSubjectid
- Throws:
Exception
-
getSubjectAs
public String getSubjectAs(int projectId, String subjectHierarchy, String outputFormat) throws Exception Returns Subject object for the specified projectId and subjectHierarchy. Specifying the projectId and subjectHierarchy are mandatory based on which it returns all the details of subject.
It returns all the details pertaining to the subject such as subjectId, subjectName, subjectDescription and auditHistory.
OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON string.- Parameters:
projectId- intsubjectHierarchy- String - Example for subjectHierarchy input parameter : s1/s2/s3outputFormat- String - Valid values: JSON or XML- Returns:
- String - RequestStatus object in the form of JSON or XML string
- Throws:
Exception- Since:
- 12.1
-
getSubjectAs
public String getSubjectAs(String projectName, String subjectHierarchy, String outputFormat) throws Exception Returns Subject object for the specified projectName and subjectHierarchy. Specifying the projectName and subjectHierarchy are mandatory based on which it returns all the details of subject.
It returns all the details pertaining to the subject such as subjectId, subjectName, subjectDescription and auditHistory.
OutputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON string.- Parameters:
projectName- StringsubjectHierarchy- String - Example for subjectHierarchy input parameter : s1/s2/s3outputFormat- String - Valid values: JSON or XML- Returns:
- String - RequestStatus object in the form of JSON or XML string
- Throws:
Exception- Since:
- 12.1
-
syncMetadata
This function is used to sync the source and target metadata information in mapping specifications for the specified mappingIds. Specifying the list of mappingIds is mandatory.- Parameters:
mappingIds- List- Returns:
- RequestStatus Object.
- Since:
- 14.0
-
syncMetadataAs
This function is used to sync the source and target metadata information in mapping specifications for the specified mapIds. Specifying the mapIdsJsonArray is mandatory.
Specification of the outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
mapIdsJsonArray- StringoutputFormat- String- Returns:
- String - RequestStatus object in the form of JSON or XML string.
- Since:
- 14.0
-