public boolean deleteId ( final String identifier ) { if ( identifier == null ) { log . error ( "Unable to delete a null Identifier value." ) ; return false ; } if ( this . originString == null ) { log . error ( "Origin has not been set. Cannot delete Identifiers without a valid origin." ) ; return false ; } DeleteIdentifierMessage message = new DeleteIdentifierMessage ( ) ; message . setOrigin ( this . originString ) ; message . setId ( identifier ) ; this . session . write ( message ) ; log . debug ( "Sent {}" , message ) ; return true ; }
Deletes an Identifier and all of its Attributes from the world model . All data for the Identifier will be removed permanently . Callers may also wish to consider expiring the Identifier instead .