Class SharingInvite.IntermediateRepresentation

  • Enclosing class:
    SharingInvite

    public static class SharingInvite.IntermediateRepresentation
    extends java.lang.Object
    A structure for holding data we read from the DB.
    Author:
    Alex Kalderimis
    • Constructor Detail

      • IntermediateRepresentation

        public IntermediateRepresentation()
    • Method Detail

      • getBagId

        public int getBagId()
        Returns:
        id of the bag shared
      • getInviterId

        public int getInviterId()
        Returns:
        id of user who sent invite
      • getToken

        public java.lang.String getToken()
        Returns:
        user token
      • getInvitee

        public java.lang.String getInvitee()
        Returns:
        user invited to share the list
      • getAcceptedAt

        public java.util.Date getAcceptedAt()
        Returns:
        date invitee accepted the invitation
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Returns:
        data the user sent the invitation
      • getAccepted

        public java.lang.Boolean getAccepted()
        Returns:
        true if the invitee accepted the invitation