Examples of booleanPropertyForKey()


Examples of ariba.ui.meta.core.Context.booleanPropertyForKey()

    public String searchOperation ()
    {
        if (_searchOperation == null) {
            Context context = MetaContext.currentContext(this);
            _searchOperation = (String)context.propertyForKey("searchOperation");
            _supportsTextSearch = context.booleanPropertyForKey("textSearchSupported", false);
        }
        return _searchOperation;
    }

    public void setSearchOperation (String op)
View Full Code Here

Examples of ariba.ui.meta.core.Context.booleanPropertyForKey()

        QuerySpecification spec = new QuerySpecification(className, pred);

        context.push();
        context.setScopeKey(UIMeta.KeyClass);
        spec.setUseTextIndex(pred != null
                && context.booleanPropertyForKey(PersistenceMeta.PropUseTextSearch, false));
        context.pop();

        MetaSearch.updateQuerySpecification(requestContext(), spec);
    }
}
View Full Code Here

Examples of ariba.ui.meta.core.Context.booleanPropertyForKey()

    public EntityChoiceSource (String className) {
        _className = className;

        Context context = UIMeta.getInstance().newContext();
        context.set(ObjectMeta.KeyClass, className);
        _supportsTextSearch = context.booleanPropertyForKey(PersistenceMeta.PropTextSearchSupported, false);
    }

    public List match(String pattern, int max)
    {
        // todo: create predicate!
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.