public void applyProviderFilter(Number resourceId) { XxntcCsCalendarProvidersVOImpl providerVo = getXxntcCsCalendarProvidersVO1(); providerVo.setApplyViewCriteriaName("XxntcCsCalendarProvidersVOCriteria"); VariableValueManager vvm = providerVo.ensureVariableManager(); vvm.setVariableValue("pResourceId", resourceId); providerVo.executeQuery(); }
public void removeProviderFilter() { XxntcCsCalendarProvidersVOImpl providerVo = getXxntcCsCalendarProvidersVO1(); providerVo.removeApplyViewCriteriaName("XxntcCsCalendarProvidersVOCriteria"); providerVo.executeQuery(); }
private Number getResourceId() { XxntcCsCalendarProvidersVOImpl providersVo = getXxntcCsCalendarProvidersVO1(); Row currentRow = providersVo.getCurrentRow(); return (Number) currentRow.getAttribute("ResourceId"); }