protected String lookupLogicalName() throws Exception { String refName = getLogicalName(); if (null == logicalNameOp) return refName; PENDataOp op = getLogicalNameOp(); doOp(op); refName = (String) op.getResult(); return refName; }
protected Collection lookupLogicalNames() throws Exception { Collection refNames = getLogicalNames(); if (null == logicalNamesOp) return refNames; PENDataOp op = getLogicalNamesOp(); doOp(op); refNames = (Collection) op.getResult(); return refNames; }
/** @param op opobj */ public void passConfiguration(PENDataOp op) { if (null == op) return; op.setQxCtx(getQxCtx()); op.setPenData(getPenData()); op.setOriginsToPublish(getOriginsToPublish()); op.setAuthentication(getAuthentication()); op.setContext(getContext()); op.setPenPolicy(getPenPolicy()); try { op.setCurrentItem(getCurrentItem()); } catch (InvalidName ignore) { ignore.printStackTrace(); } op.setCurrentIterator(getCurrentIterator()); }
public Object doOp(PENDataOp op) throws Exception { passConfiguration(op); op.execute(); Object result = op.getResult(); return result; }