public static List < String > getTags ( int historyId ) throws DatabaseException { if ( staticTableTag == null ) { return new ArrayList <> ( ) ; } List < String > tags = new ArrayList <> ( ) ; List < RecordTag > rtags = staticTableTag . getTagsForHistoryID ( historyId ) ; for ( RecordTag rtag : rtags ) { tags . add ( rtag . getTag ( ) ) ; } return tags ; }
Gets the tags of the message with the given history ID .