public void delete ( final boolean hardDelete ) { if ( hardDelete ) { this . state = StreamState . HARD_DELETED . dbValue ( ) ; } else { this . state = StreamState . SOFT_DELETED . dbValue ( ) ; } }
Marks the stream as deleted .