Interface PeerContext
-
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface PeerContext
Context information about a document model that is part of aRoom
.- Since:
- 23
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.Serializable
getAttribute(java.lang.String attributeName)
Method used to retrieve session attributes fromEditingSessionContext
that were present when the document model joined theRoom
.java.lang.String
getAuthorName()
-
-
-
Method Detail
-
getAuthorName
java.lang.String getAuthorName()
- Returns:
- The author name used for example when adding review comments.
-
getAttribute
java.io.Serializable getAttribute(java.lang.String attributeName)
Method used to retrieve session attributes fromEditingSessionContext
that were present when the document model joined theRoom
. Only attributes with aSerializable
value can be retrieved.- Parameters:
attributeName
- The attribute name.- Returns:
- The attribute value.
-
-