protected String getIdAndOptionsString ( ) { final String options = getOptionsString ( ) ; if ( isTopicANewTopic ( ) ) { return id + ( options . equals ( "" ) ? "" : ( ", " + options ) ) ; } else { return id + ( revision == null ? "" : ( ", rev: " + revision ) ) + ( options . equals ( "" ) ? "" : ( ", " + options ) ) ; } }
Get the ID and Options string for the topic .