public boolean matches ( String queryJSON ) { QueryContainer queryContainer ; try { queryContainer = QueryContainer . fromJSON ( queryJSON ) ; } catch ( JSONException e ) { return false ; } SPFQuery query = queryContainer . getQuery ( ) ; String callerApp = queryContainer . getCallerAppId ( ) ; String userUID = queryContainer . getUserUID ( ) ; return analyzeWith ( query , callerApp , userUID ) ; }
Verifies if the local profile matches the given query .