Package com.emc.d2fs.interfaces
Interface IAnnotationService
- All Superinterfaces:
ID2fsService
Provides access to native annotation services.
-
Method Summary
Modifier and TypeMethodDescriptiongetContentIdAndNativeAnnotationIds
(Context context, String id) Get the content id with all its annotation ids from an annotation or content selection.getNativeAnnotation
(Context context, String id) Get a native annotation from a contentgetUserNativeAnnotationCheckoutIds
(Context context, String id) Get the annotation ids in checkout from a content/task/annotation for the current userboolean
testComparisonDirection
(Context context, String fromId, String toId) Test the direction of comparison between 2 content idsMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
getNativeAnnotation
Get a native annotation from a content -
testComparisonDirection
Test the direction of comparison between 2 content ids- Parameters:
context
-Context
object containing informations about client/sessionfromId
- String value of document idtoId
- String value of document id to compare with- Returns:
- boolean true if fromId is the recent/latest id and toId is the old/comparison id, false means the other way
- Throws:
Exception
- Since:
- 4.1.0
-
getUserNativeAnnotationCheckoutIds
Get the annotation ids in checkout from a content/task/annotation for the current user -
getContentIdAndNativeAnnotationIds
Get the content id with all its annotation ids from an annotation or content selection.- Parameters:
context
-Context
object containing informations about client/sessionid
- String value of an annotation/document id- Returns:
- list of id with master document id in first position. No document, nor annotation, nor right on document will result in an exception
- Throws:
Exception
- Since:
- 4.1.0
-