private boolean updateLinkAddValues ( ) { List < String > linkValues = m_dbObj . getFieldValues ( m_linkDef . getName ( ) ) ; if ( linkValues == null || linkValues . size ( ) == 0 ) { return false ; } Set < String > linkValueSet = new HashSet <> ( linkValues ) ; // remove duplicates for ( String targetObjID : linkValueSet ) { addLinkValue ( targetObjID ) ; } return true ; }
Add new values for our link . Return true if at least one update made .