Ejemplo n.º 1
0
  protected String lookupLogicalName() throws Exception {
    String refName = getLogicalName();
    if (null == logicalNameOp) return refName;

    PENDataOp op = getLogicalNameOp();
    doOp(op);
    refName = (String) op.getResult();
    return refName;
  }
Ejemplo n.º 2
0
  protected Collection lookupLogicalNames() throws Exception {
    Collection refNames = getLogicalNames();
    if (null == logicalNamesOp) return refNames;

    PENDataOp op = getLogicalNamesOp();
    doOp(op);
    refNames = (Collection) op.getResult();
    return refNames;
  }
Ejemplo n.º 3
0
 /** @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());
 }
Ejemplo n.º 4
0
 public Object doOp(PENDataOp op) throws Exception {
   passConfiguration(op);
   op.execute();
   Object result = op.getResult();
   return result;
 }