The API of the document revision and issue management system. Differs from the Issue Management system, which deals with issues regarding the project and the model.
More...
The API of the document revision and issue management system. Differs from the Issue Management system, which deals with issues regarding the project and the model.
◆ API_RVMDocumentRevisionStatusID
Status of the document revision.
◆ ACAPI_Revision_ChangeRVMIssue()
GSErrCode ACAPI_Revision_ChangeRVMIssue |
( |
API_RVMIssue * |
api_issue | ) |
|
Modify an RVM issue.
- Parameters
-
api_issue | [in] The RVM issue to change. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - api_issue is nullptr.
- APIERR_BADNAME - the ID in api_issue is not valid.
- APIERR_NOACCESSRIGHT - api_issue has already been issued.
- APIERR_GENERAL - Couldn't get the issues.
◆ ACAPI_Revision_GetRVMChangeCustomScheme()
GSErrCode ACAPI_Revision_GetRVMChangeCustomScheme |
( |
GS::HashTable< API_Guid, GS::UniString > * |
customScheme | ) |
|
Retrieves change custom scheme.
- Parameters
-
customScheme | Contains API_Guid (unique identifier of a custom field), GS::UniString (name of a custom field) pairs. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - customScheme is nullptr.
- APIERR_GENERAL - Couldn't get the customScheme.
◆ ACAPI_Revision_GetRVMChangeFirstIssue()
GSErrCode ACAPI_Revision_GetRVMChangeFirstIssue |
( |
const GS::UniString * |
api_changeId, |
|
|
API_RVMIssue * |
api_firstIssue |
|
) |
| |
Retrieves the issue in which the given change is issued at first.
- Parameters
-
api_changeId | ID of the change. |
api_firstIssue | The first issue in which the given change is issued. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - api_changeId or api_firstIssue is nullptr.
- APIERR_BADID - api_changeId does not identify a valid change.
- APIERR_GENERAL - Couldn't get the first issue.
◆ ACAPI_Revision_GetRVMChanges()
GSErrCode ACAPI_Revision_GetRVMChanges |
( |
GS::Array< API_RVMChange > * |
api_changes | ) |
|
Retrieves all changes.
- Parameters
-
api_changes | The array of the changes. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - api_changes is nullptr.
- APIERR_GENERAL - Couldn't get the changes.
◆ ACAPI_Revision_GetRVMChangesFromChangeIds()
GSErrCode ACAPI_Revision_GetRVMChangesFromChangeIds |
( |
const GS::Array< GS::UniString > * |
changeIds, |
|
|
GS::Array< API_RVMChange > * |
api_changes |
|
) |
| |
Retrieves all changes those given by unique change IDs.
- Parameters
-
changeIds | The array of the change IDs. |
api_changes | The array of the changes. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - changeIds or api_changes is nullptr.
- APIERR_GENERAL - Couldn't get the changes.
◆ ACAPI_Revision_GetRVMDocumentRevisionChanges()
GSErrCode ACAPI_Revision_GetRVMDocumentRevisionChanges |
( |
const API_Guid * |
revisionGuid, |
|
|
GS::Array< API_RVMChange > * |
api_changes |
|
) |
| |
Retrieves all changes belong to the given document revision.
- Parameters
-
revisionGuid | GUID of the document revision. |
api_changes | The array of the changes. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - revisionGuid or api_changes is nullptr.
- APIERR_BADID - revisionGuid does not identify a valid document revision.
- APIERR_GENERAL - Couldn't get the changes.
◆ ACAPI_Revision_GetRVMDocumentRevisions()
Retrieves all document revisions.
- Parameters
-
api_revisions | The array of the document revisions. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - api_revisions is nullptr.
- APIERR_GENERAL - Couldn't get the document revisions.
◆ ACAPI_Revision_GetRVMElemChangeIds()
GSErrCode ACAPI_Revision_GetRVMElemChangeIds |
( |
const API_Guid * |
elemGuid, |
|
|
GS::Array< GS::UniString > * |
api_changeIds |
|
) |
| |
Retrieves the change IDs of the given elem identified by GUID.
- Parameters
-
elemGuid | GUID of the element. |
api_changeIds | The array of the change IDs. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - elemGuid or api_changeIds is nullptr.
- APIERR_BADID - elemGuid does not identify a valid element.
- APIERR_GENERAL - Couldn't get the change IDs.
◆ ACAPI_Revision_GetRVMIssueCustomScheme()
GSErrCode ACAPI_Revision_GetRVMIssueCustomScheme |
( |
GS::HashTable< API_Guid, GS::UniString > * |
customScheme | ) |
|
Retrieves issue custom scheme.
- Parameters
-
customScheme | Contains API_Guid (unique identifier of a custom field), GS::UniString (name of a custom field) pairs. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - customScheme is nullptr.
- APIERR_GENERAL - Couldn't get the customScheme.
◆ ACAPI_Revision_GetRVMIssueDocumentRevisions()
Retrieves all document revisions belong to the given issue.
- Parameters
-
issueGuid | GUID of the issue. |
api_revisions | The array of the document revisions. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - issueGuid or api_revisions is nullptr.
- APIERR_BADID - issueGuid does not identify a valid issue.
- APIERR_GENERAL - Couldn't get the document revisions.
◆ ACAPI_Revision_GetRVMIssues()
GSErrCode ACAPI_Revision_GetRVMIssues |
( |
GS::Array< API_RVMIssue > * |
api_issues | ) |
|
Retrieves all issues.
- Parameters
-
api_issues | The array of the issues. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - api_issues is nullptr.
- APIERR_GENERAL - Couldn't get the issues.
◆ ACAPI_Revision_GetRVMLayoutCurrentRevisionChanges()
Retrieves all changes belong to the last revision of the given layout.
- Parameters
-
inUnId | The unique ID of the layout database. |
api_changes | The array of the changes. |
- Returns
- NoError - The function has completed with success.
- APIERR_BADPARS - inUnId or api_changes is nullptr.
- APIERR_GENERAL - Couldn't get the layout database.