public boolean matches ( ESigItem item ) { if ( selected != null && item . isSelected ( ) != selected ) { return false ; } if ( eSigType != null && ! item . getESigType ( ) . equals ( eSigType ) ) { return false ; } if ( session != null && ! item . getSession ( ) . equals ( session ) ) { return false ; } if ( ids != null && ! ids . contains ( item . getId ( ) ) ) { return false ; } return true ; }
Returns true if the item matches the selection filter .