Class GroupGetResult


  • public final class GroupGetResult
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      boolean equals​(java.lang.Object obj)  
      protected void finalize()  
      java.util.Optional<GroupUserList> getAdminList()
      null if the calling user is not in the group, else a GroupUserList of group admins
      java.util.Date getCreated()
      get the date and time that the group was created
      PublicKey getGroupMasterPublicKey()
      get the public key of the group
      GroupId getId()
      get the unique id of the group
      java.util.Date getLastUpdated()
      get the date and time that the group was last updated
      java.util.Optional<GroupUserList> getMemberList()
      null if the calling user is not in the group, else a GroupUserList of group members
      java.util.Optional<GroupName> getName()
      null if the group has no name, else the group's name
      java.util.Optional<NullableBoolean> getNeedsRotation()
      null if the calling user is not a group admin, else a NullableBoolean of if the group private key needs rotation
      int hashCode()  
      boolean isAdmin()
      true if the calling user is a group admin
      boolean isMember()
      true if the calling user is a group member
      • Methods inherited from class java.lang.Object

        clone, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

        public final GroupId getId()
        get the unique id of the group
      • getName

        public final java.util.Optional<GroupName> getName()
        null if the group has no name, else the group's name
      • getGroupMasterPublicKey

        public final PublicKey getGroupMasterPublicKey()
        get the public key of the group
      • isAdmin

        public final boolean isAdmin()
        true if the calling user is a group admin
      • isMember

        public final boolean isMember()
        true if the calling user is a group member
      • getCreated

        public final java.util.Date getCreated()
        get the date and time that the group was created
      • getLastUpdated

        public final java.util.Date getLastUpdated()
        get the date and time that the group was last updated
      • getAdminList

        public final java.util.Optional<GroupUserList> getAdminList()
        null if the calling user is not in the group, else a GroupUserList of group admins
      • getMemberList

        public final java.util.Optional<GroupUserList> getMemberList()
        null if the calling user is not in the group, else a GroupUserList of group members
      • getNeedsRotation

        public final java.util.Optional<NullableBoolean> getNeedsRotation()
        null if the calling user is not a group admin, else a NullableBoolean of if the group private key needs rotation
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object