Query a View Object using View Criteria

import oracle.jbo.VariableValueManager;

import oracle.jbo.ViewCriteria;

import oracle.jbo.server.ApplicationModuleImpl;

import oracle.jbo.server.ViewLinkImpl;

import oracle.jbo.server.ViewObjectImpl;

 

public void applyVCforGlobalSearchProjects(String searchCriteria){

    ViewObjectImpl vo;

    vo = this.getProjects();

    ViewCriteria vc = vo.getViewCriteria("HrProjectsVOCriteria");

    vc.resetCriteria();

    VariableValueManager vvm = vc.ensureVariableManager();

    vvm.setVariableValue("p_search_criteria", searchCriteria);

    vo.applyViewCriteria(vc,true);

    vo.executeQuery();

}

 

Oracle ADF REST API and ADF Security Authorization...
Work around for bugs in Jdeveloper 12.2.1.3.0

Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
Sunday, 02 April 2023
If you'd like to register, please fill in the username, password and name fields.

Captcha Image

Support is currently Offline

Latest Posts