RTC API: compare two stateId elements (IITemHandle.getStateId())
Hello to the forum members,
I have two stateId elements related to the same item. I have the item as well.
I'd like to compare and find out which one is more recent.
I looked in the forum and found this post:
https://jazz.net/forum/questions/85248/using-iversionable-user-properties-with-the-scm-java-api-fetching-previous-versions?redirect=%2Fforum%2Fquestions%2F85248%2Fusing-iversionable-user-properties-with-the-scm-java-api-fetching-previous-versions
It introduces IChangeHistory.getHistoryFor method. I guess I can write some code based on this API in order to compare the two states.
I was wondering if there is an API for such comparison.
Many thanks for your help,
Gidi
I have two stateId elements related to the same item. I have the item as well.
I'd like to compare and find out which one is more recent.
I looked in the forum and found this post:
https://jazz.net/forum/questions/85248/using-iversionable-user-properties-with-the-scm-java-api-fetching-previous-versions?redirect=%2Fforum%2Fquestions%2F85248%2Fusing-iversionable-user-properties-with-the-scm-java-api-fetching-previous-versions
It introduces IChangeHistory.getHistoryFor method. I guess I can write some code based on this API in order to compare the two states.
I was wondering if there is an API for such comparison.
Many thanks for your help,
Gidi