Class UserBlock

  • All Implemented Interfaces:

    
    public final class UserBlock
    
                        

    Represents a user block.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getBlockedBy()
      final String getUserId()
      final Date getBlockedAt()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserBlock

        UserBlock(String blockedBy, String userId, Date blockedAt)
        Parameters:
        blockedBy - who is the initiator of the block (usually will contain the ID of the current user)
        userId - the ID of the blocked user.
        blockedAt - when the action happened