public class MappingManagerUtil
extends BaseUtil
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.
Constructor and Description |
---|
MappingManagerUtil(java.lang.String token) |
MappingManagerUtil(java.lang.String tokenType,
java.lang.String token) |
Modifier and Type | Method and Description |
---|---|
RequestStatus |
addMappingDocument(int mapId,
Document document)
MappingDocument is added for the specified mapId.
|
RequestStatus |
addMappingDocument(int nodeId,
Node.NodeType nodeType,
java.lang.String mapName,
Document document)
MappingDocument is added for the specified mapName.
|
java.lang.String |
addMappingDocumentAs(int mapId,
java.lang.String document,
java.lang.String outputFormat)
MappingDocument is added for the specified mapId.
|
java.lang.String |
addMappingDocumentAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
java.lang.String document,
java.lang.String outputFormat)
MappingDocument is added for the specified mapName.
|
RequestStatus |
addMappingSpecification(int mapId,
MappingSpecificationRow mappingSpecificationRow)
Inserts a single row of mappingSpecification for the specified mapId,mappingSpecificationRow.
|
java.lang.String |
addMappingSpecificationAs(int mapId,
java.lang.String mmMapSpecRowObjJson,
java.lang.String outputFormat)
Inserts a single row of mappingSpecification for the specified mapId, mappingSpecificationRow.
|
RequestStatus |
addMappingSpecifications(int mapId,
java.util.ArrayList<MappingSpecificationRow> mappingSpecification)
Inserts List of mappingSpecifications into the specified mapId.
|
java.lang.String |
addMappingSpecificationsAs(int mapId,
java.lang.String mmMapSpecRowObjJsonArray,
java.lang.String outputFormat)
Inserts List of mappingSpecifications into the specified mapId.
|
RequestStatus |
baselineProject(int projectId,
java.lang.String versionLabel,
java.lang.String changeDescription)
Appends the baseline to the project for the specified projectId.
|
java.lang.String |
baselineProjectAs(int projectId,
java.lang.String versionLabel,
java.lang.String changeDescription,
java.lang.String outputFormat)
Appends the baseline to the project for the specified projectId.
|
RequestStatus |
cloneMapping(int srcMapId,
boolean createNewVersion,
java.lang.String newMapName,
int tgtNodeId,
Node.NodeType tgtnodeType)
Clone Mapping creates another copy of the map.
|
RequestStatus |
cloneMapping(int srcNodeId,
Node.NodeType srcnodeType,
java.lang.String srcMapName,
boolean createNewVersion,
java.lang.String newMapName,
int tgtNodeId,
Node.NodeType tgtnodeType)
Clone Mapping creates another copy of the map.
|
java.lang.String |
cloneMappingAs(int srcMapId,
boolean createNewVersion,
java.lang.String newMapName,
int tgtNodeId,
java.lang.String tgtnodeType,
java.lang.String outputFormat)
Clone Mapping creates another copy of the map.
|
java.lang.String |
cloneMappingAs(int srcNodeId,
java.lang.String srcnodeType,
java.lang.String srcMapName,
boolean createNewVersion,
java.lang.String newMapName,
int tgtNodeId,
java.lang.String tgtnodeType,
java.lang.String outputFormat)
Clone Mapping creates another copy of the map.
|
RequestStatus |
createMapping(Mapping mapping)
Creates Mapping With the specified Mapping Object.
|
RequestStatus |
createMapping(Mapping mapping,
boolean addSpecifications)
Creates Mapping with the specified mapping object and addSpecifications.
|
java.lang.String |
createMappingAs(java.lang.String mmMappingObjJson,
boolean addSpecifications,
java.lang.String outputFormat)
Creates Mapping for the specified mappingObject in the JSON and addSpecifications.
|
java.lang.String |
createMappingAs(java.lang.String mmMappingObjJson,
java.lang.String outputFormat)
Creates Mapping for the specified MappingObject in JSON.
|
RequestStatus |
createProject(Project project)
Creates a project for the specified Project Object.
|
java.lang.String |
createProjectAs(java.lang.String mmProjectObjJson,
java.lang.String outputFormat)
Creates a project for the specified Project Object in JSON.
|
RequestStatus |
createSubject(int projectId,
int parentSubjectId,
java.lang.String subjectName)
Creates Subject for the specified ProjectId, ParentSubjectId and
SubjectName.
|
RequestStatus |
createSubject(int projectId,
int parentSubjectId,
java.lang.String subjectName,
java.lang.String subjectDescription)
Creates Subject for the specified ProjectId, ParentSubjectId, SubjectName
and Subject Description.
|
RequestStatus |
createSubject(Subject subject)
Creates Subject for the specified Subject Object.
|
java.lang.String |
createSubjectAs(int projectId,
int parentSubjectId,
java.lang.String subjectName,
java.lang.String outputFormat)
Creates Subject for the specified ProjectId, ParentSubjectId and
subjectName in JSON.
|
java.lang.String |
createSubjectAs(int projectId,
int parentSubjectId,
java.lang.String subjectName,
java.lang.String subjectDescription,
java.lang.String outputFormat)
Creates Subject for the specified ProjectId, ParentSubjectId, SubjectName
and SubjectDescription in JSON.
|
java.lang.String |
createSubjectAs(java.lang.String mmSubjectObjJson,
java.lang.String outputFormat)
Creates Subject for the specified SubjectObject in JSON.
|
RequestStatus |
deleteMapping(int mappingId)
Removes Mapping for the specified mappingId.
|
RequestStatus |
deleteMapping(int mapId,
APIConstants.VersionMode versionMode,
float versionNo)
Deletes the mapping of the specified mapId, versionMode.
|
RequestStatus |
deleteMapping(int nodeId,
Node.NodeType nodeType,
java.lang.String mapName,
APIConstants.VersionMode versionMode,
float versionNo)
Deletes the map for the specified mapName of the given nodeType and nodeId.
|
java.lang.String |
deleteMappingAs(int mappingId,
java.lang.String outputFormat)
Deletes Mapping for the specified mappingId.
|
java.lang.String |
deleteMappingAs(int mapId,
java.lang.String versionMode,
float versionNo,
java.lang.String outputFormat)
Deletes the mapping of the specified mapId and versionMode.
|
java.lang.String |
deleteMappingAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
java.lang.String versionMode,
float versionNo,
java.lang.String outputFormat)
Deletes the map for the specified mapName of the given nodeType and nodeId.
|
RequestStatus |
deleteMappings(int nodeId,
Node.NodeType nodeType,
APIConstants.VersionMode versionMode,
float versionNo)
Deletes the mappings of the given nodeType and nodeId.
|
RequestStatus |
deleteMappings(int nodeId,
Node.NodeType nodeType,
java.util.List<java.lang.String> mapNames,
APIConstants.VersionMode versionMode,
float versionNo)
Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId.
|
RequestStatus |
deleteMappings(java.util.List<java.lang.Integer> mappingIds,
APIConstants.VersionMode versionMode,
float versionNo)
Deletes the mappings of the specified mappingIds.
|
java.lang.String |
deleteMappingsAs(int nodeId,
java.lang.String nodeType,
java.lang.String versionMode,
float versionNo,
java.lang.String outputFormat)
Deletes the mappings of the given nodeType and nodeId.
|
java.lang.String |
deleteMappingsAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapNamesJsonArray,
java.lang.String versionMode,
float versionNo,
java.lang.String outputFormat)
Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId.
|
java.lang.String |
deleteMappingsAs(java.lang.String mappingIdsJsonArray,
java.lang.String versionMode,
float versionNo,
java.lang.String outputFormat)
Deletes the mappings for the specified mappingIds.
|
RequestStatus |
deleteMappingSpecification(int mappingSequenceId)
Removes mappingSpecification for the specified mappingSequenceId.
|
java.lang.String |
deleteMappingSpecificationAs(int mappingSequenceId,
java.lang.String outputFormat)
Deletes mappingSpecification for the specified mappingSequenceId.
|
RequestStatus |
deleteMappingSpecificationRow(MappingSpecificationRow mappingSpecificationRow)
Deletes the mappingSpecification for the specified mappingSpecificationRow Object.
|
java.lang.String |
deleteMappingSpecificationRowAs(java.lang.String mappingSpecificationRowJsonObj,
java.lang.String outputFormat)
Deletes the mappingSpecificationRow for the specified mappingSpecificationRow Object.
|
RequestStatus |
deleteMappingSpecificationRows(java.util.List<MappingSpecificationRow> mappingSpecificationRows)
Deletes the mappingSpecifications for the specified List of mappingSpecificationRows.
|
java.lang.String |
deleteMappingSpecificationRowsAs(java.lang.String mappingSpecificationRowsJsonArray,
java.lang.String outputFormat)
Deletes the mappingSpecifications for the specified List of mappingSpecificationRows.
|
RequestStatus |
deleteMappingSpecifications(int mappingId)
Removes all mappingSpecification rows for the specified mappingId.
|
RequestStatus |
deleteMappingSpecifications(java.util.List<java.lang.Integer> mappingSequenceIds)
Deletes the mappingSpecifications for the specified List of mappingSequenceIds.Specifying the mappingSequenceIds are mandatory.
|
java.lang.String |
deleteMappingSpecificationsAs(int mappingId,
java.lang.String outputFormat)
Deletes all mappingSpecification rows for the specified mappingId.
|
java.lang.String |
deleteMappingSpecificationsAs(java.lang.String mapSeqIdsJsonArray,
java.lang.String outputFormat)
Deletes the mappingSpecifications for the specified List of mapSequenceIds.
|
RequestStatus |
deleteProject(int projectId)
Deletes the project with the specified projectId.
|
java.lang.String |
deleteProjectAs(int projectId,
java.lang.String outputFormat)
Deletes a project of the specified projectId.
|
RequestStatus |
deleteSubject(int subjectId)
Removes the subject of the specified subjectId.
|
java.lang.String |
deleteSubjectAs(int subjectId,
java.lang.String outputFormat)
Deletes the subject for the specified subjectId.
|
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.
|
java.lang.String |
exportAllAs(int nodeId,
java.lang.String nodeType,
java.lang.String selectionCriteria,
java.lang.String exportOption,
boolean includePseudoCode,
boolean visibleColumns,
java.lang.String outputFormat)
Mapping Specifications are exported to excel for the specified nodeId.
|
RequestStatus |
exportMappingToExcel(int mapId,
boolean visibleColumns,
boolean includePseudocode)
Mapping Specification is exported to excel for the specified mapId.
|
RequestStatus |
exportMappingToExcel(int nodeId,
Node.NodeType nodeType,
java.lang.String mapName,
boolean visibleColumns,
boolean includePseudocode)
Mapping Specification is exported to excel for the specified mapName.
|
java.lang.String |
exportMappingToExcelAs(int mapId,
boolean visibleColumns,
boolean includePseudocode,
java.lang.String outputFormat)
Mapping Specification is exported to excel for the specified mapId.Specifying the mapId is mandatory.
|
java.lang.String |
exportMappingToExcelAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
boolean visibleColumns,
boolean includePseudocode,
java.lang.String outputFormat)
Mapping Specification is exported to excel for the specified mapName.
|
RequestStatus |
exportMappingXml(int nodeId,
Node.NodeType nodeType,
APIConstants.SelectionCriteria selectionCriteria)
Mapping Specifications are exported to XML for the specified nodeId.
|
java.lang.String |
exportMappingXmlAs(int nodeId,
java.lang.String nodeType,
java.lang.String selectionCriteria,
java.lang.String outputFormat)
Mapping Specifications are exported to XML for the specified nodeId.
|
Mapping |
getMapping(int mappingId)
Returns Mapping Object for the specified mappingId.
|
Mapping |
getMapping(int mappingId,
boolean fillSpecifications)
Returns Mapping Object for the specified mappingId and fillSpecifications.
|
Mapping |
getMapping(int mappingId,
boolean fillSpecifications,
boolean fillDocuments)
Returns Mapping Object for the specified mappingId, fillSpecifications and fillDocuments.
|
Mapping |
getMapping(int parentNodeId,
Node.NodeType nodeType,
java.lang.String mappingName)
Returns Mapping Object for the specified parentNodeId, mappingName and nodeType.
|
Mapping |
getMapping(int nodeId,
Node.NodeType nodeType,
java.lang.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... |
java.lang.String |
getMappingAs(int mappingId,
boolean fillSpecification,
boolean fillDocuments,
java.lang.String outputFormat)
Returns Mapping Object for the specified mappingId, fillSpecifications, fillDocuments in the JSON.
|
java.lang.String |
getMappingAs(int mappingId,
boolean fillSpecification,
java.lang.String outputFormat)
Returns Mapping Object for the specified mappingId, fillSpecification in the JSON.
|
java.lang.String |
getMappingAs(int mappingId,
java.lang.String outputFormat)
Returns Mapping Object for the specified mappingId in the specified outputFormat.
|
java.lang.String |
getMappingAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
float versionNo,
java.lang.String outputFormat)
Returns all the information relating to the specified mapName, such as
mappingDescription, mappingSpecVersion, mappingStatus,
mappingPlannedDevelopmentEffort, actualEffort,testingNotes, versionLabel, userDefined Fields, AuditFields etc... |
java.lang.String |
getMappingAs(int parentNodeId,
java.lang.String nodeType,
java.lang.String mappingName,
java.lang.String outputFormat)
Returns Mapping Object for the specified parentNodeId, mappingName, nodeType
in the JSON.
|
java.util.ArrayList<Document> |
getMappingDocuments(int mappingId)
Returns the List of Mapping Document objects for the specified mappingId.
|
java.lang.String |
getMappingDocumentsAs(int mappingId,
java.lang.String outputFormat)
Returns the List of Mapping Document objects for the specified mappingId.
|
int |
getMappingId(int parentNodeId,
java.lang.String mappingName,
Node.NodeType nodeType)
Returns the mappingId for the specified parentNodeId, mappingName, nodeType.
|
int |
getMappingId(java.lang.String projectName,
java.lang.String mappingName)
Returns the mappingId for the specified mappingName and projectName.
|
java.lang.String |
getMappingIdAs(int parentNodeId,
java.lang.String nodeType,
java.lang.String mappingName,
java.lang.String outputFormat)
Returns the mappingId for the specified parentNodeId, mappingName,
nodeType in the JSON.
|
java.lang.String |
getMappingIdAs(java.lang.String projectName,
java.lang.String mappingName,
java.lang.String outputFormat)
Returns the mappingId for the specified mappingName and projectName in the
JSON.
|
java.util.ArrayList<Mapping> |
getMappings(int parentNodeId,
Node.NodeType nodeType)
Returns the List of Mappings for the specified parentNodeId, nodeType.
|
java.util.ArrayList<Mapping> |
getMappings(java.util.List<java.lang.Integer> mapIds,
boolean fillSpecifications,
boolean fillDocuments)
Returns List of Mappings for the specified List of mapIds.
|
java.lang.String |
getMappingsAs(int parentNodeId,
java.lang.String nodeType,
java.lang.String outputFormat)
Returns List of Mappings for the specified parentNodeId, nodeType.
|
java.lang.String |
getMappingsAs(java.lang.String MapIdsJsonArray,
boolean fillSpecifications,
boolean fillDocuments,
java.lang.String outputFormat)
Returns List of Mappings for the specified List of mapIds.
|
java.util.ArrayList<Mapping> |
getMappingsInProject(int projectId,
boolean fillSpecifications,
boolean fillDocuments)
Returns List of Mappings for the specified projectId, fillSpecifications and fillDocuments.
|
java.util.ArrayList<Mapping> |
getMappingsInProject(java.lang.String projectName,
boolean fillSpecifications,
boolean fillDocuments)
Returns List of mappings for the specified projectName, fillSpecifications, fillDocuments.
|
java.lang.String |
getMappingsInProjectAs(int projectId,
boolean fillSpecifications,
boolean fillDocuments,
java.lang.String outputFormat)
Returns List of Mappings for the specified projectId, fillSpecifications,
fillDocuments in the JSON.
|
java.lang.String |
getMappingsInProjectAs(java.lang.String projectName,
boolean fillSpecifications,
boolean fillDocuments,
java.lang.String outputFormat)
Returns List of mappings for the specified project Name, fillSpecifications,
fillDocuments.
|
java.util.ArrayList<Mapping> |
getMappingsInSubject(int subjectId,
boolean fillSpecifications,
boolean fillDocuments)
Returns List of mappings for the specified for a given subject Id,
fillSpecifications, fillDocuments.
|
java.util.ArrayList<Mapping> |
getMappingsInSubject(java.lang.String subjectName,
boolean fillSpecifications,
boolean fillDocuments)
Returns List of all mappings from all projects containing the subject name at any level, fillSpecifications and fillDocuments.
|
java.lang.String |
getMappingsInSubjectAs(int subjectId,
boolean fillSpecifications,
boolean fillDocuments,
java.lang.String outputFormat)
Returns List of mappings for the specified subject Id, fillSpecifications, fillDocuments in the JSON.
|
java.lang.String |
getMappingsInSubjectAs(java.lang.String subjectName,
boolean fillSpecifications,
boolean fillDocuments,
java.lang.String outputFormat)
Returns List of mappings for the specified subject Name, fillSpecifications, fillDocuments in the JSON.
|
java.util.ArrayList<MappingSpecificationRow> |
getMappingSpecifications(int mappingId)
Returns the List of Mapping Specifications for the specified mappingId.
|
java.util.List<MappingSpecificationRow> |
getMappingSpecifications(java.util.List<java.lang.Integer> mappingSequenceIds)
Returns the List of MappingSpecification Rows for the specified List of mapSequenceIds.
|
java.lang.String |
getMappingSpecificationsAs(int mappingId,
java.lang.String outputFormat)
Returns the List of Mapping Specifications for the specified mappingId.
|
java.lang.String |
getMappingSpecificationsAs(java.lang.String mapSeqIdsJsonArray,
java.lang.String outputFormat)
Returns the List of MappingSpecification Rows for the specified List of mapSequenceIds.
|
Project |
getProject(int projectId)
Returns the Project object for the specified project Id.Specifying the projectId is mandatory.
|
Project |
getProject(java.lang.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. |
java.lang.String |
getProjectAs(int projectId,
java.lang.String outputFormat)
Returns the Project object for the specified projectId in the specified outputFormat.
|
java.lang.String |
getProjectAs(java.lang.String projectName,
java.lang.String outputFormat)
Returns the Project object for the specified project Name in the specified outputFormat.
|
java.util.ArrayList<Document> |
getProjectDocuments(int projectId)
Returns the List of project documents for the specified projectId.
|
java.lang.String |
getProjectDocumentsAs(int projectId,
java.lang.String outputFormat)
Returns the List of project Documents for the specified projectId in the specified outputFormat.
|
int |
getProjectId(java.lang.String projectName)
Returns the projectId for the specified projectName.
|
java.lang.String |
getProjectIdAs(java.lang.String projectName,
java.lang.String outputFormat)
Returns the projectId for the specified projectName in the specified outputFormat.
|
java.util.List<Project> |
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...
|
java.util.List<Project> |
getProjects(Node.Depth depth)
Returns the projects and its Details according to the specified Depth.
|
java.lang.String |
getProjectsAs(java.lang.String outputFormat)
Returns the List of all Projects where each project contains details like
projectName, projectDescription, projectDocuments etc...
|
java.lang.String |
getProjectsAs(java.lang.String depth,
java.lang.String outputFormat)
Returns the projects and its Details according to the specified Depth.
|
Subject |
getSubject(int subjectId)
Returns the Subject Object for the specified subjectId.Specifying subjectId is mandatory.
|
Subject |
getSubject(int projectId,
int parentSubjectId,
java.lang.String subjectName)
Returns Subject Object for the specified projectId, parentSubjectId,
subjectName.
|
java.lang.String |
getSubjectAs(int projectId,
int parentSubjectId,
java.lang.String subjectName,
java.lang.String outputFormat)
Returns SubjectObject for the specified projectId, parentSubjectId, subjectName in the specified outputFormat.
|
java.lang.String |
getSubjectAs(int subjectId,
java.lang.String outputFormat)
Returns SubjectObject for the specified subjectId in the specified outputFormat.
|
int |
getSubjectId(int parentNodeId,
Node.NodeType nodeType,
java.lang.String subjectName)
Returns the subjectId for the specified parentNodeId, subjectName, nodeType.
|
int |
getSubjectId(java.lang.String projectName,
java.lang.String subjectName)
Returns subjectId for the specified projectName and SubjectName.
|
java.lang.String |
getSubjectIdAs(int parentNodeId,
java.lang.String nodeType,
java.lang.String subjectName,
java.lang.String outputFormat)
Returns the subjectId for the specified parentNodeId, subjectName, nodeType.
|
java.lang.String |
getSubjectIdAs(java.lang.String projectName,
java.lang.String subjectName,
java.lang.String outputFormat)
Returns subjectId for the specified projectName, SubjectName.
|
java.util.List<Subject> |
getSubjects(int projectId)
Returns the List of subjects of the specified projectId.
|
java.util.List<Subject> |
getSubjects(java.lang.String projectName)
Returns the List of subjects for the specified projectName.
|
java.lang.String |
getSubjectsAs(int projectId,
java.lang.String outputFormat)
Returns the List of subjects for the specified projectId in the specified outputFormat.
|
java.lang.String |
getSubjectsAs(java.lang.String projectName,
java.lang.String outputFormat)
Returns the List of subjects for the specified projectName in the specified outputFormat.
|
RequestStatus |
mergeMapping(int srcMapId,
int tgtMapId,
boolean createNewVersion,
java.lang.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.
|
RequestStatus |
mergeMapping(int srcNodeId,
Node.NodeType srcNodeType,
java.lang.String srcMapName,
int tgtNodeId,
Node.NodeType tgtNodeType,
java.lang.String tgtMapName,
boolean createNewVersion,
java.lang.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.
|
java.lang.String |
mergeMappingAs(int srcMapId,
int tgtMapId,
boolean createNewVersion,
java.lang.String changeDescription,
java.lang.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.
|
java.lang.String |
mergeMappingAs(int srcNodeId,
java.lang.String srcNodeType,
java.lang.String srcMapName,
int tgtNodeId,
java.lang.String tgtNodeType,
java.lang.String tgtMapName,
boolean createNewVersion,
java.lang.String changeDescription,
java.lang.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.
|
RequestStatus |
moveMapping(int srcMapId,
int tgtNodeId,
Node.NodeType tgtnodeType,
boolean replaceIfExists,
java.lang.String newMapName)
Move Mapping moves the map from srcMapId to the specified tgtNodeId.
|
RequestStatus |
moveMapping(int srcNodeId,
Node.NodeType srcNodeType,
java.lang.String srcMapName,
int tgtNodeId,
Node.NodeType tgtnodeType,
boolean replaceIfExists,
java.lang.String newMapName)
Move Mapping moves the map from srcNodeId to the specified tgtNodeId.
|
java.lang.String |
moveMappingAs(int srcMapId,
int tgtNodeId,
java.lang.String tgtnodeType,
boolean replaceIfExists,
java.lang.String newMapName,
java.lang.String outputFormat)
Move Mapping moves the map from srcMapId to the specified tgtNodeId.
|
java.lang.String |
moveMappingAs(int srcNodeId,
java.lang.String srcNodeType,
java.lang.String srcMapName,
int tgtNodeId,
java.lang.String tgtnodeType,
boolean replaceIfExists,
java.lang.String newMapName,
java.lang.String outputFormat)
Move Mapping moves the map from srcNodeId to the specified tgtNodeId.
|
RequestStatus |
publishMapping(int mapId,
java.util.Date effectiveDate,
java.lang.String changeDescription,
java.lang.String publishNotes)
Mapping is published for the specified mapId.
|
RequestStatus |
publishMapping(int nodeId,
Node.NodeType nodeType,
java.lang.String mapName,
java.util.Date effectiveDate,
java.lang.String changeDescription,
java.lang.String publishNotes)
Mapping is published for the specified mapName.specifying the mapName,
effectiveDate, changeDescription, publishNotes are mandatory.
|
java.lang.String |
publishMappingAs(int mapId,
java.util.Date effectiveDate,
java.lang.String changeDescription,
java.lang.String publishNotes,
java.lang.String outputFormat)
Mapping is published for the specified mapId.specifying the mapId, effectiveDate,
changeDescription, publishNotes are mandatory.
|
java.lang.String |
publishMappingAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
java.util.Date effectiveDate,
java.lang.String changeDescription,
java.lang.String publishNotes,
java.lang.String outputFormat)
Mapping is published for the specified mapName.specifying the mapName,
effectiveDate, changeDescription, publishNotes are mandatory.
|
RequestStatus |
publishMappings(java.util.List<java.lang.Integer> mapIds,
java.util.Date effectiveDate,
java.lang.String changeDescription,
java.lang.String publishNotes)
Mappings will be published for the specified mapIds.
|
java.lang.String |
publishMappingsAs(java.lang.String mapIdsJsonArray,
java.util.Date effectiveDate,
java.lang.String changeDescription,
java.lang.String publishNotes,
java.lang.String outputFormat)
Mappings will be published for the specified mapIds in the JSON.
|
RequestStatus |
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.
|
RequestStatus |
setMappingLock(int nodeId,
Node.NodeType nodeType,
java.lang.String mapName,
boolean lockStatus)
mappingLock can be either set to lock or unlock i.e to either true or
false for the specified mapName.
|
java.lang.String |
setMappingLockAs(int mapId,
boolean lockStatus,
java.lang.String outputFormat)
mappingLock can be either set to lock or unlock
for the specified mapId.
|
java.lang.String |
setMappingLockAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
boolean lockStatus,
java.lang.String outputFormat)
mappingLock can be either set to lock or unlock
for the specified mapName.
|
RequestStatus |
unPublishMap(int mapId)
Mapping is unpublished for the specified mapId.
|
RequestStatus |
unPublishMap(int nodeId,
Node.NodeType nodeType,
java.lang.String mapName,
float versionNo)
Mapping is unpublished for the specified nodeId.Specifying the nodeId, nodeType are mandatory.
|
java.lang.String |
unPublishMapAs(int mapId,
java.lang.String outputFormat)
Mapping is unpublished for the specified mapId.Specifying the mapId is mandatory.
|
java.lang.String |
unPublishMapAs(int nodeId,
java.lang.String nodeType,
java.lang.String mapName,
float versionNo,
java.lang.String outputFormat)
Mapping is unpublished for the specified nodeId.Specifying the nodeId, nodeType are mandatory.
|
RequestStatus |
updateMapping(Mapping mapping)
Updates mapping for the specified Mapping Object.
|
java.lang.String |
updateMappingAs(java.lang.String mmMappingObjJson,
java.lang.String outputFormat)
Updates mapping for the specified MappingObject in JSON .
|
RequestStatus |
updateMappingSpecification(MappingSpecificationRow mappingSpecificationRow)
Mapping Specification is updated as the specified mappingSpecificationRow.
|
java.lang.String |
updateMappingSpecificationAs(java.lang.String mappingSpecificationRowJsonObj,
java.lang.String outputFormat)
Mapping Specification is updated with the specified mappingSpecificationRow object.
|
RequestStatus |
updateMappingSpecifications(java.util.List<MappingSpecificationRow> mappingSpecificationRows)
Mapping Specifications are updated as specified in List of mappingSpecificationRows.
|
java.lang.String |
updateMappingSpecificationsAs(java.lang.String mappingSpecificationRowJsonArray,
java.lang.String outputFormat)
Mapping Specifications are updated as specified in List of mappingSpecificationRows.Specifying mappingIds, mappingSequenceIds
are modified.
|
RequestStatus |
updateProject(Project project)
Updates the project with the specified Project Object.
|
java.lang.String |
updateProjectAs(java.lang.String mmProjectObjJson,
java.lang.String outputFormat)
Updates project for the specified Project Object in JSON .
|
RequestStatus |
updateSubject(Subject subject)
Updates Subject Details for the specified Subject Object.
|
java.lang.String |
updateSubjectAs(java.lang.String mmSubjectObjJson,
java.lang.String outputFormat)
Updates Subject Details for the specified SubjectObject in JSON.
|
RequestStatus |
uploadMapping(int mapId,
MappingImportHelper mappingImportHelper)
Uploads the mappingSpecifications on the specified mapId of importFileType, importType specified in MappingImportHelper Object.
|
RequestStatus |
uploadMapping(int nodeId,
Node.NodeType nodeType,
MappingImportHelper mappingImportHelper)
Uploads the mappingSpecifications on the specified nodeId, nodeType of importFileType, importType specified in MappingImportHelper Object.
|
java.lang.String |
uploadMappingAs(int mapId,
java.lang.String mappingImportHelperObjJson,
java.lang.String outputFormat)
Uploads the mappingSpecifications on the specified mapId and of the importFileType, importType specified in MappingImportHelper Object.
|
java.lang.String |
uploadMappingAs(int nodeId,
java.lang.String nodeType,
java.lang.String mappingImportHelperObjJson,
java.lang.String outputFormat)
Uploads the mappingSpecifications on the specified nodeId, nodeType and of the importFileType, importType specified in MappingImportHelper Object.
|
RequestStatus |
versionMapping(Mapping mapping)
Appends mapping version for the specified Mapping Object.
|
java.lang.String |
versionMappingAs(java.lang.String mmMappingObjJson,
java.lang.String outputFormat)
Appends version to the mapping for the specified MappingObject in JSON.
|
public MappingManagerUtil(java.lang.String token)
public MappingManagerUtil(java.lang.String tokenType, java.lang.String token)
public RequestStatus createProject(Project project)
project
- Objectpublic java.util.List<Project> getProjects() throws java.lang.Exception
java.lang.Exception
public Project getProject(java.lang.String projectName) throws java.lang.Exception
projectName
- Stringjava.lang.Exception
public Project getProject(int projectId) throws java.lang.Exception
projectId
- intjava.lang.Exception
public int getProjectId(java.lang.String projectName) throws java.lang.Exception
projectName
- Stringjava.lang.Exception
public java.util.ArrayList<Document> getProjectDocuments(int projectId) throws java.lang.Exception
projectId
- intjava.lang.Exception
public RequestStatus updateProject(Project project)
project
- ProjectObjectpublic RequestStatus deleteProject(int projectId)
projectId
- intpublic RequestStatus createMapping(Mapping mapping)
mapping
- MappingObjectpublic RequestStatus createMapping(Mapping mapping, boolean addSpecifications)
mapping
- MappingObjectaddSpecifications
- booleanpublic java.util.ArrayList<Mapping> getMappings(int parentNodeId, Node.NodeType nodeType) throws java.lang.Exception
parentNodeId
- intnodeType
- Node - valid types - MM_PROJECT, MM_SUBJECTjava.lang.Exception
public Mapping getMapping(int mappingId, boolean fillSpecifications, boolean fillDocuments) throws java.lang.Exception
mappingId
- intfillSpecifications
- booleanfillDocuments
- booleanjava.lang.Exception
public Mapping getMapping(int mappingId, boolean fillSpecifications) throws java.lang.Exception
mappingId
- intfillSpecifications
- booleanjava.lang.Exception
public Mapping getMapping(int mappingId) throws java.lang.Exception
mappingId
- intjava.lang.Exception
public Mapping getMapping(int parentNodeId, Node.NodeType nodeType, java.lang.String mappingName) throws java.lang.Exception
parentNodeId
- intmappingName
- StringnodeType
- NodeType - valid types - MM_PROJECT, MM_SUBJECTjava.lang.Exception
public int getMappingId(int parentNodeId, java.lang.String mappingName, Node.NodeType nodeType) throws java.lang.Exception
parentNodeId
- intmappingName
- StringnodeType
- Node - valid types - MM_PROJECT, MM_SUBJECTjava.lang.Exception
public int getMappingId(java.lang.String projectName, java.lang.String mappingName) throws java.lang.Exception
projectName
- StringmappingName
- Stringjava.lang.Exception
public java.util.ArrayList<Document> getMappingDocuments(int mappingId) throws java.lang.Exception
mappingId
- intjava.lang.Exception
public java.util.ArrayList<Mapping> getMappingsInProject(java.lang.String projectName, boolean fillSpecifications, boolean fillDocuments) throws java.lang.Exception
projectName
- StringfillSpecifications
- booleanfillDocuments
- booleanjava.lang.Exception
public java.util.ArrayList<Mapping> getMappingsInProject(int projectId, boolean fillSpecifications, boolean fillDocuments) throws java.lang.Exception
projectId
- intfillSpecifications
- booleanfillDocuments
- booleanjava.lang.Exception
public java.util.ArrayList<Mapping> getMappingsInSubject(java.lang.String subjectName, boolean fillSpecifications, boolean fillDocuments) throws java.lang.Exception
subjectName
- StringfillSpecifications
- booleanfillDocuments
- booleanjava.lang.Exception
public java.util.ArrayList<Mapping> getMappingsInSubject(int subjectId, boolean fillSpecifications, boolean fillDocuments) throws java.lang.Exception
subjectId
- intfillSpecifications
- booleanfillDocuments
- booleanjava.lang.Exception
public RequestStatus updateMapping(Mapping mapping)
mapping
- MappingObjectpublic RequestStatus deleteMapping(int mappingId)
mappingId
- intpublic RequestStatus addMappingSpecifications(int mapId, java.util.ArrayList<MappingSpecificationRow> mappingSpecification)
mapId
- intmappingSpecification
- Listpublic RequestStatus addMappingSpecification(int mapId, MappingSpecificationRow mappingSpecificationRow)
mapId
- intmappingSpecificationRow
- Objectpublic java.util.ArrayList<MappingSpecificationRow> getMappingSpecifications(int mappingId) throws java.lang.Exception
mappingId
- intjava.lang.Exception
public RequestStatus deleteMappingSpecifications(int mappingId)
mappingId
- intpublic RequestStatus deleteMappingSpecification(int mappingSequenceId)
mappingSequenceId
- intpublic RequestStatus createSubject(Subject subject)
subject
- Subjectpublic java.util.List<Subject> getSubjects(java.lang.String projectName) throws java.lang.Exception
projectName
- Stringjava.lang.Exception
public java.util.List<Subject> getSubjects(int projectId) throws java.lang.Exception
projectId
- intjava.lang.Exception
public Subject getSubject(int subjectId) throws java.lang.Exception
subjectId
- intjava.lang.Exception
public Subject getSubject(int projectId, int parentSubjectId, java.lang.String subjectName) throws java.lang.Exception
projectId
- intparentSubjectId
- intsubjectName
- Stringjava.lang.Exception
public int getSubjectId(java.lang.String projectName, java.lang.String subjectName) throws java.lang.Exception
projectName
- StringsubjectName
- Stringjava.lang.Exception
public int getSubjectId(int parentNodeId, Node.NodeType nodeType, java.lang.String subjectName) throws java.lang.Exception
parentNodeId
- intsubjectName
- StringnodeType
- Nodejava.lang.Exception
public RequestStatus updateSubject(Subject subject)
subject
- Subjectpublic RequestStatus deleteSubject(int subjectId)
subjectId
- intpublic RequestStatus versionMapping(Mapping mapping)
mapping
- Mappingpublic RequestStatus baselineProject(int projectId, java.lang.String versionLabel, java.lang.String changeDescription)
projectId
- intversionLabel
- StringchangeDescription
- Stringpublic java.lang.String createProjectAs(java.lang.String mmProjectObjJson, java.lang.String outputFormat)
mmProjectObjJson
- in JSON formatoutputFormat
- String - Valid values: JSON or XML
Sample 'mmProjectObjJson' JSON :
{
"projectDescription": "",
"projectName": "",
"projectCostCenter": "",
"projectOwnerFullName": "",
"childNodes": [],
"nodeType": "",
"projectBusinessSponsorFullName": "",
"projectDocuments": [],
"projectResources": [
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
},
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
}
],
"projectITSponsorFullName": "",
"nodeId": "",
"projectId": 0
}
public java.lang.String getProjectAs(int projectId, java.lang.String outputFormat)
projectId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getProjectAs(java.lang.String projectName, java.lang.String outputFormat)
projectName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getProjectIdAs(java.lang.String projectName, java.lang.String outputFormat)
projectName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getProjectsAs(java.lang.String outputFormat)
outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getProjectDocumentsAs(int projectId, java.lang.String outputFormat)
projectId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String updateProjectAs(java.lang.String mmProjectObjJson, java.lang.String outputFormat)
mmProjectObjJson
- mmProject Object - JSON formatoutputFormat
- String - Valid values: JSON or XML
Sample 'mmProjectObjJson' JSON :
{
"projectDescription": "",
"projectName": "",
"projectCostCenter": "",
"projectOwnerFullName": "",
"childNodes": [],
"nodeType": "",
"projectBusinessSponsorFullName": "",
"projectDocuments": [],
"projectResources": [
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
},
{
"resourceId": "",
"roleId": "",
"assignedRole": "",
"assignedResponsibilites": null
}
],
"projectITSponsorFullName": "",
"nodeId": "",
"projectId": 0
}
public java.lang.String deleteProjectAs(int projectId, java.lang.String outputFormat)
projectId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String createSubjectAs(java.lang.String mmSubjectObjJson, java.lang.String outputFormat)
mmSubjectObjJson
- mmSubject Object - JSON formatoutputFormat
- String - Valid values: JSON or XML
Sample 'mmSubjectObjJson' JSON :
{
"parentSubjectId": -1,
"subjectId": 0,
"userDefined10": "",
"subjectDescription": "",
"userDefined11": "",
"userDefined12": "",
"subjectName": "S1",
"subjectChangedDescription": "",
"childNodes": [],
"userDefined13": "",
"userDefined14": "",
"userDefined15": "",
"considerUserDefinedFlag": "",
"nodeType": "",
"userDefined8": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"projectId": 0,
"userDefined1": ""
}
public java.lang.String getSubjectAs(int projectId, int parentSubjectId, java.lang.String subjectName, java.lang.String outputFormat)
projectId
- intparentSubjectId
- intsubjectName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getSubjectAs(int subjectId, java.lang.String outputFormat)
subjectId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getSubjectsAs(java.lang.String projectName, java.lang.String outputFormat)
projectName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getSubjectIdAs(int parentNodeId, java.lang.String nodeType, java.lang.String subjectName, java.lang.String outputFormat)
parentNodeId
- intsubjectName
- StringnodeType
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getSubjectIdAs(java.lang.String projectName, java.lang.String subjectName, java.lang.String outputFormat)
projectName
- StringsubjectName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getSubjectsAs(int projectId, java.lang.String outputFormat)
projectId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String updateSubjectAs(java.lang.String mmSubjectObjJson, java.lang.String outputFormat)
mmSubjectObjJson
- mmSubject Object - JSON formatoutputFormat
- String - Valid values: JSON or XML
Sample 'mmSubjectObjJson' JSON :
{
"parentSubjectId": -1,
"subjectId": 0,
"userDefined10": "",
"subjectDescription": "",
"userDefined11": "",
"userDefined12": "",
"subjectName": "S1",
"subjectChangedDescription": "",
"childNodes": [],
"userDefined13": "",
"userDefined14": "",
"userDefined15": "",
"considerUserDefinedFlag": "",
"nodeType": "",
"userDefined8": "",
"userDefined9": "",
"userDefined6": "",
"userDefined7": "",
"userDefined4": "",
"userDefined5": "",
"userDefined2": "",
"userDefined3": "",
"nodeId": "",
"projectId": 0,
"userDefined1": ""
}
public java.lang.String deleteSubjectAs(int subjectId, java.lang.String outputFormat)
subjectId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String createMappingAs(java.lang.String mmMappingObjJson, java.lang.String outputFormat)
mmMappingObjJson
- in JSON formatoutputFormat
- String - Valid values: JSON or XML
Sample 'mmMappingObjJson' for this:
{
"mappingName": "",
"mappingDescription": "",
"projectId": 0,
"mappingSubStateName": "",
"publishNotes": "",
"subjectId": 0,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"childNodes": [],
"userDefined13": "",
"mappingSpecifications": null,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"nodeType": "",
"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
}
public java.lang.String createMappingAs(java.lang.String mmMappingObjJson, boolean addSpecifications, java.lang.String outputFormat)
mmMappingObjJson
- - JSON formataddSpecifications
- booleanoutputFormat
- String - Valid values: JSON or XML
Sample 'mmMappingObjJson' JSON :
{
"projectId": 0,
"mappingName": "",
"mappingId": 0,
"mappingSubStateName": null,
"publishNotes": null,
"subjectId": -1,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"childNodes": [],
"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": ""
}
],
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"nodeType": "",
"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
}
public java.lang.String getMappingAs(int mappingId, java.lang.String outputFormat)
mappingId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingAs(int mappingId, boolean fillSpecification, java.lang.String outputFormat)
mappingId
- intfillSpecification
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingAs(int mappingId, boolean fillSpecification, boolean fillDocuments, java.lang.String outputFormat)
mappingId
- intfillSpecification
- booleanfillDocuments
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingsInSubjectAs(java.lang.String subjectName, boolean fillSpecifications, boolean fillDocuments, java.lang.String outputFormat)
subjectName
- StringfillSpecifications
- booleanfillDocuments
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingsInSubjectAs(int subjectId, boolean fillSpecifications, boolean fillDocuments, java.lang.String outputFormat)
subjectId
- intfillSpecifications
- booleanfillDocuments
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingsInProjectAs(int projectId, boolean fillSpecifications, boolean fillDocuments, java.lang.String outputFormat)
projectId
- intfillSpecifications
- booleanfillDocuments
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingsInProjectAs(java.lang.String projectName, boolean fillSpecifications, boolean fillDocuments, java.lang.String outputFormat)
projectName
- StringfillSpecifications
- booleanfillDocuments
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingIdAs(int parentNodeId, java.lang.String nodeType, java.lang.String mappingName, java.lang.String outputFormat)
parentNodeId
- intmappingName
- StringnodeType
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingAs(int parentNodeId, java.lang.String nodeType, java.lang.String mappingName, java.lang.String outputFormat)
parentNodeId
- intmappingName
- StringnodeType
- NodeTypeoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingDocumentsAs(int mappingId, java.lang.String outputFormat)
mappingId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingIdAs(java.lang.String projectName, java.lang.String mappingName, java.lang.String outputFormat)
projectName
- StringmappingName
- StringoutputFormat
- Sting - Valid values: JSON or XMLpublic java.lang.String getMappingsAs(int parentNodeId, java.lang.String nodeType, java.lang.String outputFormat)
parentNodeId
- intnodeType
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String updateMappingAs(java.lang.String mmMappingObjJson, java.lang.String outputFormat)
mmMappingObjJson
- in JSON formatoutputFormat
- String - Valid values: JSON or XML
Sample 'mmMappingObjJson' JSON :
{
"mappingName": "",
"mappingDescription": "",
"projectId": 0,
"mappingId": -1,
"mappingSubStateName": "",
"publishNotes": "",
"subjectId": 0,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"childNodes": [],
"userDefined13": "",
"mappingSpecifications": null,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"nodeType": "",
"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
}
public java.lang.String deleteMappingAs(int mappingId, java.lang.String outputFormat)
mappingId
- outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String addMappingSpecificationsAs(int mapId, java.lang.String mmMapSpecRowObjJsonArray, java.lang.String outputFormat)
mapId
- intmmMapSpecRowObjJsonArray
- JSON StringoutputFormat
- String - Valid values: JSON or XML
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": ""
}
]
public java.lang.String addMappingSpecificationAs(int mapId, java.lang.String mmMapSpecRowObjJson, java.lang.String outputFormat)
mapId
- intmmMapSpecRowObjJson
- JSONoutputFormat
- String - Valid values: JSON or XML
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": ""
}
public java.lang.String getMappingSpecificationsAs(int mappingId, java.lang.String outputFormat)
mappingId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String deleteMappingSpecificationsAs(int mappingId, java.lang.String outputFormat)
mappingId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String deleteMappingSpecificationAs(int mappingSequenceId, java.lang.String outputFormat)
mappingSequenceId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String baselineProjectAs(int projectId, java.lang.String versionLabel, java.lang.String changeDescription, java.lang.String outputFormat)
projectId
- intversionLabel
- StringchangeDescription
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String versionMappingAs(java.lang.String mmMappingObjJson, java.lang.String outputFormat)
mmMappingObjJson
- String - JSONoutputFormat
- String - Valid values: JSON or XML
Sample 'mmMappingObjJson' JSON :
{
"mappingName": "",
"mappingDescription": "",
"changedDescription": "",
"projectId": 0,
"mappingId": -1,
"mappingSubStateName": "",
"publishNotes": "",
"subjectId": 0,
"actualMappingEffortUnits": "",
"mappingStatus": "",
"jobXRef": "",
"userDefined10": "",
"userDefined11": "",
"userDefined12": "",
"updateTargetMetadata": false,
"updateSourceMetadata": false,
"childNodes": [],
"userDefined13": "",
"mappingSpecifications": null,
"userDefined14": "",
"userDefined15": "",
"userDefined16": "",
"published": false,
"userDefined17": "",
"nodeType": "",
"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
}
public java.util.List<Project> getProjects(Node.Depth depth) throws java.lang.Exception
depth
- Node Object - valid depth types are NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.java.lang.Exception
public RequestStatus uploadMapping(int mapId, MappingImportHelper mappingImportHelper)
mapId
- intmappingImportHelper
- MappingImportHelper Objectpublic RequestStatus uploadMapping(int nodeId, Node.NodeType nodeType, MappingImportHelper mappingImportHelper)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECT.mappingImportHelper
- MappingImportHelper oBJECT.public RequestStatus exportAll(int nodeId, Node.NodeType nodeType, APIConstants.SelectionCriteria selectionCriteria, APIConstants.ExportOption exportOption, boolean includePseudoCode, boolean visibleColumns)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria
- StringexportOption
- StringincludePseudoCode
- booleanvisibleColumns
- booleanpublic RequestStatus exportMappingToExcel(int mapId, boolean visibleColumns, boolean includePseudocode)
mapId
- intvisibleColumns
- booleanincludePseudocode
- booleanpublic RequestStatus exportMappingToExcel(int nodeId, Node.NodeType nodeType, java.lang.String mapName, boolean visibleColumns, boolean includePseudocode)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringvisibleColumns
- booleanincludePseudocode
- booleanpublic RequestStatus exportMappingXml(int nodeId, Node.NodeType nodeType, APIConstants.SelectionCriteria selectionCriteria)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria
- Stringpublic Mapping getMapping(int nodeId, Node.NodeType nodeType, java.lang.String mapName, float versionNo) throws java.lang.Exception
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringversionNo
- floatjava.lang.Exception
public java.util.ArrayList<Mapping> getMappings(java.util.List<java.lang.Integer> mapIds, boolean fillSpecifications, boolean fillDocuments) throws java.lang.Exception
mapIds
- ListfillSpecifications
- booleanfillDocuments
- booleanjava.lang.Exception
public RequestStatus cloneMapping(int srcMapId, boolean createNewVersion, java.lang.String newMapName, int tgtNodeId, Node.NodeType tgtnodeType)
srcMapId
- intcreateNewVersion
- booleannewMapName
- StringtgtNodeId
- inttgtnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTpublic RequestStatus cloneMapping(int srcNodeId, Node.NodeType srcnodeType, java.lang.String srcMapName, boolean createNewVersion, java.lang.String newMapName, int tgtNodeId, Node.NodeType tgtnodeType)
srcNodeId
- intsrcnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName
- StringcreateNewVersion
- booleannewMapName
- StringtgtNodeId
- inttgtnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTpublic RequestStatus mergeMapping(int srcNodeId, Node.NodeType srcNodeType, java.lang.String srcMapName, int tgtNodeId, Node.NodeType tgtNodeType, java.lang.String tgtMapName, boolean createNewVersion, java.lang.String changeDescription)
srcNodeId
- intsrcNodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName
- StringtgtNodeId
- inttgtNodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTtgtMapName
- StringcreateNewVersion
- BooleanchangeDescription
- Stringpublic RequestStatus mergeMapping(int srcMapId, int tgtMapId, boolean createNewVersion, java.lang.String changeDescription)
srcMapId
- inttgtMapId
- intcreateNewVersion
- BooleanchangeDescription
- Stringpublic RequestStatus moveMapping(int srcMapId, int tgtNodeId, Node.NodeType tgtnodeType, boolean replaceIfExists, java.lang.String newMapName)
srcMapId
- inttgtNodeId
- inttgtnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTreplaceIfExists
- booleannewMapName
- Stringpublic RequestStatus moveMapping(int srcNodeId, Node.NodeType srcNodeType, java.lang.String srcMapName, int tgtNodeId, Node.NodeType tgtnodeType, boolean replaceIfExists, java.lang.String newMapName)
srcNodeId
- intsrcNodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTsrcMapName
- StringtgtNodeId
- inttgtnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTreplaceIfExists
- booleannewMapName
- Stringpublic RequestStatus publishMapping(int mapId, java.util.Date effectiveDate, java.lang.String changeDescription, java.lang.String publishNotes)
mapId
- inteffectiveDate
- DatechangeDescription
- StringpublishNotes
- Stringpublic RequestStatus publishMapping(int nodeId, Node.NodeType nodeType, java.lang.String mapName, java.util.Date effectiveDate, java.lang.String changeDescription, java.lang.String publishNotes)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringeffectiveDate
- DatechangeDescription
- StringpublishNotes
- Stringpublic RequestStatus unPublishMap(int mapId)
mapId
- intpublic RequestStatus unPublishMap(int nodeId, Node.NodeType nodeType, java.lang.String mapName, float versionNo)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringversionNo
- floatpublic RequestStatus setMappingLock(int mapId, boolean lockStatus)
mapId
- intlockStatus
- booleanpublic RequestStatus setMappingLock(int nodeId, Node.NodeType nodeType, java.lang.String mapName, boolean lockStatus)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringlockStatus
- booleanpublic java.util.List<MappingSpecificationRow> getMappingSpecifications(java.util.List<java.lang.Integer> mappingSequenceIds) throws java.lang.Exception
mappingSequenceIds
- Listjava.lang.Exception
public RequestStatus updateMappingSpecification(MappingSpecificationRow mappingSpecificationRow)
mappingSpecificationRow
- MappingSpecificationRow Objectpublic RequestStatus updateMappingSpecifications(java.util.List<MappingSpecificationRow> mappingSpecificationRows)
mappingSpecificationRows
- Listpublic RequestStatus deleteMappingSpecifications(java.util.List<java.lang.Integer> mappingSequenceIds)
mappingSequenceIds
- Listpublic RequestStatus deleteMappingSpecificationRow(MappingSpecificationRow mappingSpecificationRow)
mappingSpecificationRow
- Objectpublic RequestStatus deleteMappingSpecificationRows(java.util.List<MappingSpecificationRow> mappingSpecificationRows)
mappingSpecificationRows
- Objectpublic RequestStatus deleteMapping(int mapId, APIConstants.VersionMode versionMode, float versionNo)
mapId
- intversionMode
- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- Floatpublic RequestStatus deleteMappings(java.util.List<java.lang.Integer> mappingIds, APIConstants.VersionMode versionMode, float versionNo)
mappingIds
- List - should be activeversionMode
- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- floatpublic RequestStatus deleteMapping(int nodeId, Node.NodeType nodeType, java.lang.String mapName, APIConstants.VersionMode versionMode, float versionNo)
nodeId
- intnodeType
- Node Object - valid Types - MM_PROJECT, MM_SUBJECTmapName
- StringversionMode
- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- Floatpublic RequestStatus deleteMappings(int nodeId, Node.NodeType nodeType, java.util.List<java.lang.String> mapNames, APIConstants.VersionMode versionMode, float versionNo)
nodeId
- intnodeType
- Node Object - valid Types - MM_PROJECT, MM_SUBJECTmapNames
- ListversionMode
- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- floatpublic RequestStatus deleteMappings(int nodeId, Node.NodeType nodeType, APIConstants.VersionMode versionMode, float versionNo)
nodeId
- intnodeType
- Node Object - valid Types are MM_PROJECT, MM_SUBJECTversionMode
- APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- public RequestStatus addMappingDocument(int mapId, Document document)
mapId
- intdocument
- Documentpublic RequestStatus addMappingDocument(int nodeId, Node.NodeType nodeType, java.lang.String mapName, Document document)
nodeId
- intnodeType
- Node Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- Stringdocument
- Documentpublic java.lang.String exportMappingToExcelAs(int mapId, boolean visibleColumns, boolean includePseudocode, java.lang.String outputFormat)
mapId
- intvisibleColumns
- booleanincludePseudocode
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String exportMappingToExcelAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, boolean visibleColumns, boolean includePseudocode, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringvisibleColumns
- booleanincludePseudocode
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String exportAllAs(int nodeId, java.lang.String nodeType, java.lang.String selectionCriteria, java.lang.String exportOption, boolean includePseudoCode, boolean visibleColumns, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria
- String - APIConstants ObjectexportOption
- StringincludePseudoCode
- BooleanvisibleColumns
- BooleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String exportMappingXmlAs(int nodeId, java.lang.String nodeType, java.lang.String selectionCriteria, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTselectionCriteria
- String - APIConstants ObjectoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, float versionNo, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringversionNo
- floatoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingsAs(java.lang.String MapIdsJsonArray, boolean fillSpecifications, boolean fillDocuments, java.lang.String outputFormat)
MapIdsJsonArray
- String - ListfillSpecifications
- BooleanfillDocuments
- BooleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String cloneMappingAs(int srcMapId, boolean createNewVersion, java.lang.String newMapName, int tgtNodeId, java.lang.String tgtnodeType, java.lang.String outputFormat)
srcMapId
- intcreateNewVersion
- booleannewMapName
- StringtgtNodeId
- inttgtnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECToutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String cloneMappingAs(int srcNodeId, java.lang.String srcnodeType, java.lang.String srcMapName, boolean createNewVersion, java.lang.String newMapName, int tgtNodeId, java.lang.String tgtnodeType, java.lang.String outputFormat)
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 XMLpublic java.lang.String mergeMappingAs(int srcMapId, int tgtMapId, boolean createNewVersion, java.lang.String changeDescription, java.lang.String outputFormat)
srcMapId
- inttgtMapId
- intcreateNewVersion
- booleanchangeDescription
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String mergeMappingAs(int srcNodeId, java.lang.String srcNodeType, java.lang.String srcMapName, int tgtNodeId, java.lang.String tgtNodeType, java.lang.String tgtMapName, boolean createNewVersion, java.lang.String changeDescription, java.lang.String outputFormat)
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 XMLpublic java.lang.String moveMappingAs(int srcMapId, int tgtNodeId, java.lang.String tgtnodeType, boolean replaceIfExists, java.lang.String newMapName, java.lang.String outputFormat)
srcMapId
- inttgtnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTtgtNodeId
- intreplaceIfExists
- booleannewMapName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String moveMappingAs(int srcNodeId, java.lang.String srcNodeType, java.lang.String srcMapName, int tgtNodeId, java.lang.String tgtnodeType, boolean replaceIfExists, java.lang.String newMapName, java.lang.String outputFormat) throws DaoException
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 XMLDaoException
public java.lang.String publishMappingAs(int mapId, java.util.Date effectiveDate, java.lang.String changeDescription, java.lang.String publishNotes, java.lang.String outputFormat)
mapId
- inteffectiveDate
- DatechangeDescription
- StringpublishNotes
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String publishMappingAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, java.util.Date effectiveDate, java.lang.String changeDescription, java.lang.String publishNotes, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringeffectiveDate
- DatechangeDescription
- StringpublishNotes
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String unPublishMapAs(int mapId, java.lang.String outputFormat)
mapId
- intoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String unPublishMapAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, float versionNo, java.lang.String outputFormat)
nodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTnodeId
- intmapName
- StringversionNo
- floatoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String setMappingLockAs(int mapId, boolean lockStatus, java.lang.String outputFormat)
mapId
- intlockStatus
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String setMappingLockAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, boolean lockStatus, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- StringlockStatus
- booleanoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String getMappingSpecificationsAs(java.lang.String mapSeqIdsJsonArray, java.lang.String outputFormat)
mapSeqIdsJsonArray
- String - List of IdsoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String updateMappingSpecificationAs(java.lang.String mappingSpecificationRowJsonObj, java.lang.String outputFormat)
mappingSpecificationRowJsonObj
- String - mappingSpecificationRow ObjectoutputFormat
- String - Valid values: JSON or XML
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": ""
}
public java.lang.String updateMappingSpecificationsAs(java.lang.String mappingSpecificationRowJsonArray, java.lang.String outputFormat)
mappingSpecificationRowJsonArray
- String - mappingSpecificationRow ObjectoutputFormat
- String - Valid values: JSON or XML
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": ""
},
{
"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": ""
}
]
public java.lang.String deleteMappingSpecificationsAs(java.lang.String mapSeqIdsJsonArray, java.lang.String outputFormat)
mapSeqIdsJsonArray
- String - List of Ids.outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String deleteMappingsAs(java.lang.String mappingIdsJsonArray, java.lang.String versionMode, float versionNo, java.lang.String outputFormat)
mappingIdsJsonArray
- String - List of mappingIdsversionMode
- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- floatoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String deleteMappingAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, java.lang.String versionMode, float versionNo, java.lang.String outputFormat)
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 XMLpublic java.lang.String deleteMappingsAs(int nodeId, java.lang.String nodeType, java.lang.String versionMode, float versionNo, java.lang.String outputFormat)
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 XMLpublic java.lang.String addMappingDocumentAs(int mapId, java.lang.String document, java.lang.String outputFormat)
mapId
- intdocument
- String - DocumentoutputFormat
- String - Valid values: JSON or XML
Sample 'document' JSON :
{
"documentIntendedPurpose": "",
"userData": null,
"documentReferenceNumber": "",
"documentType": "",
"documentName": "",
"documentApprovedBy": "",
"documentObject": "",
"approvalRequired": false,
"documentOwner": "",
"documentLink": "",
"filePathType" : "",
"documentId": 0,
"documentReference": "",
"documentStatus": "",
"documentApprovedDate": 1460701213000
}
public java.lang.String addMappingDocumentAs(int nodeId, java.lang.String nodeType, java.lang.String mapName, java.lang.String document, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmapName
- Stringdocument
- String - DocumentoutputFormat
- String - Valid values: JSON or XML
Sample 'document' JSON :
{
"documentIntendedPurpose": "",
"userData": null,
"documentReferenceNumber": "",
"documentType": "",
"documentName": "",
"documentApprovedBy": "",
"documentObject": "",
"approvalRequired": false,
"documentOwner": "",
"documentLink": "",
"filePathType":"",
"documentId": 0,
"documentReference": "",
"documentStatus": "",
"documentApprovedDate": 1460701213000
}
public java.lang.String getProjectsAs(java.lang.String depth, java.lang.String outputFormat)
depth
- Node Object - valid depth types are NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.outputFormat
- String - Valid values: JSON or XMLpublic java.lang.String uploadMappingAs(int mapId, java.lang.String mappingImportHelperObjJson, java.lang.String outputFormat)
mapId
- intmappingImportHelperObjJson
- mappingImportHelper ObjectoutputFormat
- String - Valid values: JSON or XML
Sample 'mappingImportHelperJsonObj' JSON :
{
"filePath": "",
"filePathType" : "",
"importFileType": "",
"importType": "",
"mailComments": null,
"headerString": "",
"treatFirstRowAsHeader": false
}
public java.lang.String uploadMappingAs(int nodeId, java.lang.String nodeType, java.lang.String mappingImportHelperObjJson, java.lang.String outputFormat)
nodeId
- intnodeType
- String - Node Object - valid Types are MM_PROJECT, MM_SUBJECTmappingImportHelperObjJson
- mappingImportHelper ObjectoutputFormat
- String - Valid values: JSON or XML
Sample 'mappingImportHelperJsonObj' JSON :
{
"filePath": "",
"filePathType" : "",
"importFileType": "",
"importType": "",
"mailComments": null,
"headerString": "",
"treatFirstRowAsHeader": false
}
public java.lang.String deleteMappingSpecificationRowAs(java.lang.String mappingSpecificationRowJsonObj, java.lang.String outputFormat)
mappingSpecificationRowJsonObj
- String - mappingSpecificationRow ObjectoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String deleteMappingSpecificationRowsAs(java.lang.String mappingSpecificationRowsJsonArray, java.lang.String outputFormat)
mappingSpecificationRowsJsonArray
- String - mappingSpecificationRows ListoutputFormat
- String deleteMappingSpecificationRowAspublic java.lang.String deleteMappingsAs(int nodeId, java.lang.String nodeType, java.lang.String mapNamesJsonArray, java.lang.String versionMode, float versionNo, java.lang.String outputFormat)
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 deleteMappingSpecificationRowAspublic java.lang.String deleteMappingAs(int mapId, java.lang.String versionMode, float versionNo, java.lang.String outputFormat)
mapId
- intversionMode
- String - APIConstants Object - valid modes - ALL_VERSIONS, CURRENT_VERSION, SPECIFIC_VERSION.versionNo
- floatoutputFormat
- String - Valid values: JSON or XMLpublic RequestStatus createSubject(int projectId, int parentSubjectId, java.lang.String subjectName)
projectId
- intparentSubjectId
- intsubjectName
- Stringpublic RequestStatus createSubject(int projectId, int parentSubjectId, java.lang.String subjectName, java.lang.String subjectDescription)
projectId
- intparentSubjectId
- intsubjectName
- StringsubjectDescription
- Stringpublic java.lang.String createSubjectAs(int projectId, int parentSubjectId, java.lang.String subjectName, java.lang.String outputFormat)
projectId
- intparentSubjectId
- intsubjectName
- StringoutputFormat
- String - Valid values: JSON or XMLpublic java.lang.String createSubjectAs(int projectId, int parentSubjectId, java.lang.String subjectName, java.lang.String subjectDescription, java.lang.String outputFormat)
projectId
- intparentSubjectId
- intsubjectName
- StringsubjectDescription
- StringoutputFormat
- String - Valid values: JSON or XMLpublic RequestStatus publishMappings(java.util.List<java.lang.Integer> mapIds, java.util.Date effectiveDate, java.lang.String changeDescription, java.lang.String publishNotes)
mapIds
- effectiveDate
- changeDescription
- publishNotes
- public java.lang.String publishMappingsAs(java.lang.String mapIdsJsonArray, java.util.Date effectiveDate, java.lang.String changeDescription, java.lang.String publishNotes, java.lang.String outputFormat)
mapIdsJsonArray
- effectiveDate
- changeDescription
- publishNotes
- outputFormat
- - Valid values: JSON or XML