Class EncryptionSessionRetrievalDetails
-
- All Implemented Interfaces:
public final class EncryptionSessionRetrievalDetailsEncryptionSessionRetrievalDetails represents the details of how an Encryption Session was retrieved.
-
-
Field Summary
Fields Modifier and Type Field Description private EncryptionSessionRetrievalFlowflowprivate StringgroupIdprivate StringproxySessionIdprivate BooleanfromCache
-
Constructor Summary
Constructors Constructor Description EncryptionSessionRetrievalDetails(EncryptionSessionRetrievalFlow flow, String groupId, String proxySessionId, Boolean fromCache)
-
Method Summary
Modifier and Type Method Description final EncryptionSessionRetrievalFlowgetFlow()The way the session was retrieved: as a direct recipient, as a member of a group, or through a proxy session. final UnitsetFlow(EncryptionSessionRetrievalFlow flow)The way the session was retrieved: as a direct recipient, as a member of a group, or through a proxy session. final StringgetGroupId()If the session was retrieved as a member of a group, the ID of the group in question. final UnitsetGroupId(String groupId)If the session was retrieved as a member of a group, the ID of the group in question. final StringgetProxySessionId()If the session was retrieved through a proxy session, the ID of this proxy session. final UnitsetProxySessionId(String proxySessionId)If the session was retrieved through a proxy session, the ID of this proxy session. final BooleangetFromCache()Indicates if this session was retrieved from the cache. final UnitsetFromCache(Boolean fromCache)Indicates if this session was retrieved from the cache. -
-
Constructor Detail
-
EncryptionSessionRetrievalDetails
EncryptionSessionRetrievalDetails(EncryptionSessionRetrievalFlow flow, String groupId, String proxySessionId, Boolean fromCache)
-
-
Method Detail
-
getFlow
final EncryptionSessionRetrievalFlow getFlow()
The way the session was retrieved: as a direct recipient, as a member of a group, or through a proxy session.
-
setFlow
final Unit setFlow(EncryptionSessionRetrievalFlow flow)
The way the session was retrieved: as a direct recipient, as a member of a group, or through a proxy session.
-
getGroupId
final String getGroupId()
If the session was retrieved as a member of a group, the ID of the group in question. Null if not applicable.
-
setGroupId
final Unit setGroupId(String groupId)
If the session was retrieved as a member of a group, the ID of the group in question. Null if not applicable.
-
getProxySessionId
final String getProxySessionId()
If the session was retrieved through a proxy session, the ID of this proxy session. Null if not applicable.
-
setProxySessionId
final Unit setProxySessionId(String proxySessionId)
If the session was retrieved through a proxy session, the ID of this proxy session. Null if not applicable.
-
getFromCache
final Boolean getFromCache()
Indicates if this session was retrieved from the cache.
-
setFromCache
final Unit setFromCache(Boolean fromCache)
Indicates if this session was retrieved from the cache.
-
-
-
-