Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void modifyLock(String isLocked) {
- DCIteratorBinding iter = ADFUtils.findIterator(MAIN_TABLE_ITERATOR);
- ViewObject vo = iter.getViewObject();
- RowSetIterator rowIter = vo.createRowSetIterator(null);
- Object userValidationStatus = getUserValidationStatus();
- while (rowIter.hasNext()) {
- Row row = rowIter.next();
- log.debug("unlock " + row.getAttribute("PdTrfDayId"));
- row.setAttribute("IsLocked", isLocked);
- if (UserBean.getCurrent().getOperationCenterId() == 102020) {
- row.setAttribute("ValidationStatusId", userValidationStatus);
- }
- }
- rowIter.closeRowSetIterator();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement