Package org.intermine.api.bag
Class SharingInvite.IntermediateRepresentation
- java.lang.Object
-
- org.intermine.api.bag.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 Summary
Constructors Constructor Description IntermediateRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getAccepted()
java.util.Date
getAcceptedAt()
int
getBagId()
java.util.Date
getCreatedAt()
java.lang.String
getInvitee()
int
getInviterId()
java.lang.String
getToken()
-
-
-
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
-
-