• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ActionTakenEvent类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent的典型用法代码示例。如果您正苦于以下问题:Java ActionTakenEvent类的具体用法?Java ActionTakenEvent怎么用?Java ActionTakenEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ActionTakenEvent类属于org.kuali.rice.kew.framework.postprocessor包,在下文中一共展示了ActionTakenEvent类的32个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: doActionTaken

点赞 3

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * Generates correcting entries to the GL if accounts are modified.
 *
 * @see org.kuali.rice.krad.document.Document#doActionTaken(org.kuali.rice.kew.clientapp.vo.ActionTakenEventDTO)
 */
@Override
public void doActionTaken(ActionTakenEvent event) {
    super.doActionTaken(event);
    WorkflowDocument workflowDocument = getDocumentHeader().getWorkflowDocument();
    String currentNode = null;
    Object[] names = workflowDocument.getCurrentNodeNames().toArray();
    if (names.length > 0) {
        currentNode = (String) names[0];
    }

    // everything in the below list requires correcting entries to be written to the GL
    if (PaymentRequestStatuses.getNodesRequiringCorrectingGeneralLedgerEntries().contains(currentNode)) {
        SpringContext.getBean(PurapGeneralLedgerService.class).generateEntriesModifyPaymentRequest(this);
    }
}
 

开发者ID:VU-libtech,
项目名称:OLE-INST,
代码行数:21,
代码来源:PaymentRequestDocument.java

示例2: doActionTaken

点赞 3

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * Generates correcting entries to the GL if accounts are modified.
 *
 * @see org.kuali.rice.krad.document.Document#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public void doActionTaken(ActionTakenEvent event) {
    super.doActionTaken(event);
    WorkflowDocument workflowDocument = getDocumentHeader().getWorkflowDocument();
    String currentNode = null;
    Object[] names = workflowDocument.getCurrentNodeNames().toArray();
    if (names.length > 0) {
        currentNode = (String) names[0];
    }

    // everything in the below list requires correcting entries to be written to the GL
    //   if (InvoiceStatuses.getNodesRequiringCorrectingGeneralLedgerEntries().contains(currentNode)) {
    //       SpringContext.getBean(PurapGeneralLedgerService.class).generateEntriesModifyInvoice(this);
    //    }
}
 

开发者ID:VU-libtech,
项目名称:OLE-INST,
代码行数:21,
代码来源:InvoiceDocument.java

示例3: doActionTaken

点赞 3

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * Generates correcting entries to the GL if accounts are modified.
 *
 * @see org.kuali.rice.krad.document.Document#doActionTaken(org.kuali.rice.kew.clientapp.vo.ActionTakenEventDTO)
 */
@Override
public void doActionTaken(ActionTakenEvent event) {
    super.doActionTaken(event);
    WorkflowDocument workflowDocument = getDocumentHeader().getWorkflowDocument();
    String currentNode = null;
    Set<String> currentNodes = workflowDocument.getCurrentNodeNames();
    if (CollectionUtils.isNotEmpty(currentNodes)) {
        Object[] names = currentNodes.toArray();
        if (names.length > 0) {
            currentNode = (String)names[0];
        }
    }

    // everything in the below list requires correcting entries to be written to the GL
        if (PaymentRequestStatuses.getNodesRequiringCorrectingGeneralLedgerEntries().contains(currentNode)) {
            SpringContext.getBean(PurapGeneralLedgerService.class).generateEntriesModifyPaymentRequest(this);
        }
    }
 

开发者ID:kuali,
项目名称:kfs,
代码行数:24,
代码来源:PaymentRequestDocument.java

示例4: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.krad.document.Document#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public void doActionTaken(ActionTakenEvent event) {
    if ((KRADServiceLocatorWeb.getDataDictionaryService().getDataDictionary().getDocumentEntry(
            this.getClass().getName()).getUseWorkflowPessimisticLocking()) && (!getNonLockingActionTakenCodes()
            .contains(event.getActionTaken().getActionTaken().getCode()))) {
        KRADServiceLocatorWeb.getPessimisticLockService().establishWorkflowPessimisticLocking(this);
    }
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:12,
代码来源:DocumentBase.java

示例5: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport doActionTaken(final ActionTakenEvent event) throws Exception {
    return LegacyUtils.doInLegacyContext(event.getDocumentId(), establishPostProcessorUserSession(), new Callable<ProcessDocReport>() {
        @Override
        public ProcessDocReport call() throws Exception {
            try {
                if (LOG.isDebugEnabled()) {
                    LOG.debug(new StringBuilder("started doing action taken for action taken code").append(
                            event.getActionTaken().getActionTaken()).append(" for document ").append(
                            event.getDocumentId()));
                }
                Document document = documentService.getByDocumentHeaderId(event.getDocumentId());
                if (document == null) {
                    // only throw an exception if we are not cancelling
                    if (!KewApiConstants.ACTION_TAKEN_CANCELED_CD.equals(event.getActionTaken().getActionTaken().getCode())) {
                        LOG.warn("doActionTaken() Unable to load document with id " + event.getDocumentId() +
                                " using action taken code '" + KewApiConstants.ACTION_TAKEN_CD.get(
                                event.getActionTaken().getActionTaken().getCode()));
                    }
                } else {
                    document.doActionTaken(event);
                    if (LOG.isDebugEnabled()) {
                        LOG.debug(new StringBuilder("finished doing action taken for action taken code").append(
                                event.getActionTaken().getActionTaken()).append(" for document ").append(
                                event.getDocumentId()));
                    }
                }
            } catch (Exception e) {
                logAndRethrow("do action taken", e);
            }
            return new ProcessDocReport(true, "");

        }
    });
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:36,
代码来源:PostProcessorServiceImpl.java

示例6: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport afterActionTaken(final ActionType performed,
        final ActionTakenEvent event) throws Exception {
    return LegacyUtils.doInLegacyContext(event.getDocumentId(), establishPostProcessorUserSession(), new Callable<ProcessDocReport>() {
        @Override
        public ProcessDocReport call() throws Exception {
            try {
                if (LOG.isDebugEnabled()) {
                    LOG.debug(new StringBuilder("started doing after action taken for action performed code "
                            + performed.getCode()
                            + " and action taken code ").append(event.getActionTaken().getActionTaken()).append(
                            " for document ").append(event.getDocumentId()));
                }
                Document document = documentService.getByDocumentHeaderId(event.getDocumentId());
                if (document == null) {
                    // only throw an exception if we are not cancelling
                    if (!KewApiConstants.ACTION_TAKEN_CANCELED_CD.equals(event.getActionTaken().getActionTaken().getCode())) {
                        LOG.warn("afterActionTaken() Unable to load document with id " + event.getDocumentId() +
                                " using action taken code '" + KewApiConstants.ACTION_TAKEN_CD.get(
                                event.getActionTaken().getActionTaken().getCode()));
                    }
                } else {
                    document.afterActionTaken(performed, event);
                    if (LOG.isDebugEnabled()) {
                        LOG.debug(new StringBuilder("finished doing after action taken for action taken code")
                                .append(event.getActionTaken().getActionTaken()).append(" for document ").append(
                                        event.getDocumentId()));
                    }
                }
            } catch (Exception e) {
                logAndRethrow("do action taken", e);
            }
            return new ProcessDocReport(true, "");

        }
    });
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:38,
代码来源:PostProcessorServiceImpl.java

示例7: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws RemoteException {
    LOG.debug("doActionTaken: " + event);
    String documentId = event.getDocumentId();
    super.postEvent(documentId, event, "actionTaken");

    // if the action requested is a save, go ahead and update the database with the most current information. -grpatter
    if (KewApiConstants.ACTION_TAKEN_SAVED_CD.equals(event.getActionTaken().getActionTaken())) {
        Document doc = getEDLContent(documentId);
        extractEDLData(documentId, getNodeNames(event.getDocumentId()), doc);
    }

    return super.doActionTaken(event);
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:15,
代码来源:EDocLiteDatabasePostProcessor.java

示例8: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport doActionTaken(final ActionTakenEvent event) throws Exception {
    return LegacyUtils.doInLegacyContext(event.getDocumentId(), establishPostProcessorUserSession(), new Callable<ProcessDocReport>() {
        @Override
        public ProcessDocReport call() throws Exception {
            try {
                if (LOG.isDebugEnabled()) {
                    LOG.debug(new StringBuilder("started doing action taken for action taken code").append(
                            event.getActionTaken().getActionTaken()).append(" for document ").append(
                            event.getDocumentId()));
                }
                Document document = documentService.getByDocumentHeaderId(event.getDocumentId());
                if (document == null) {
                    // only throw an exception if we are not cancelling
                    if (!KewApiConstants.ACTION_TAKEN_CANCELED.equals(event.getActionTaken())) {
                        LOG.warn("doActionTaken() Unable to load document with id " + event.getDocumentId() +
                                " using action taken code '" + KewApiConstants.ACTION_TAKEN_CD.get(
                                event.getActionTaken().getActionTaken()));
                    }
                } else {
                    document.doActionTaken(event);
                    if (LOG.isDebugEnabled()) {
                        LOG.debug(new StringBuilder("finished doing action taken for action taken code").append(
                                event.getActionTaken().getActionTaken()).append(" for document ").append(
                                event.getDocumentId()));
                    }
                }
            } catch (Exception e) {
                logAndRethrow("do action taken", e);
            }
            return new ProcessDocReport(true, "");

        }
    });
}
 

开发者ID:kuali,
项目名称:rice,
代码行数:36,
代码来源:PostProcessorServiceImpl.java

示例9: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport afterActionTaken(final ActionType performed,
        final ActionTakenEvent event) throws Exception {
    return LegacyUtils.doInLegacyContext(event.getDocumentId(), establishPostProcessorUserSession(), new Callable<ProcessDocReport>() {
        @Override
        public ProcessDocReport call() throws Exception {
            try {
                if (LOG.isDebugEnabled()) {
                    LOG.debug(new StringBuilder("started doing after action taken for action performed code "
                            + performed.getCode()
                            + " and action taken code ").append(event.getActionTaken().getActionTaken()).append(
                            " for document ").append(event.getDocumentId()));
                }
                Document document = documentService.getByDocumentHeaderId(event.getDocumentId());
                if (document == null) {
                    // only throw an exception if we are not cancelling
                    if (!KewApiConstants.ACTION_TAKEN_CANCELED.equals(event.getActionTaken())) {
                        LOG.warn("afterActionTaken() Unable to load document with id " + event.getDocumentId() +
                                " using action taken code '" + KewApiConstants.ACTION_TAKEN_CD.get(
                                event.getActionTaken().getActionTaken()));
                    }
                } else {
                    document.afterActionTaken(performed, event);
                    if (LOG.isDebugEnabled()) {
                        LOG.debug(new StringBuilder("finished doing after action taken for action taken code")
                                .append(event.getActionTaken().getActionTaken()).append(" for document ").append(
                                        event.getDocumentId()));
                    }
                }
            } catch (Exception e) {
                logAndRethrow("do action taken", e);
            }
            return new ProcessDocReport(true, "");

        }
    });
}
 

开发者ID:kuali,
项目名称:rice,
代码行数:38,
代码来源:PostProcessorServiceImpl.java

示例10: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.krad.document.Document#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
public void doActionTaken(ActionTakenEvent event) {
    if ((KRADServiceLocatorWeb.getDataDictionaryService().getDataDictionary().getDocumentEntry(
            this.getClass().getName()).getUseWorkflowPessimisticLocking()) && (!getNonLockingActionTakenCodes()
            .contains(event.getActionTaken().getActionTaken().getCode()))) {
        KRADServiceLocatorWeb.getPessimisticLockService().establishWorkflowPessimisticLocking(this);
    }
}
 

开发者ID:aapotts,
项目名称:kuali_rice,
代码行数:11,
代码来源:DocumentBase.java

示例11: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public ProcessDocReport doActionTaken(final ActionTakenEvent event) throws Exception {
     return GlobalVariables.doInNewGlobalVariables(establishPostProcessorUserSession(), new Callable<ProcessDocReport>() {
        public ProcessDocReport call() throws Exception {
            try {
                if ( LOG.isDebugEnabled() ) {
                    LOG.debug(new StringBuffer("started doing action taken for action taken code").append(event.getActionTaken().getActionTaken()).append(" for document ").append(event.getDocumentId()));
                }
                Document document = documentService.getByDocumentHeaderId(event.getDocumentId());
                if (ObjectUtils.isNull(document)) {
                    // only throw an exception if we are not cancelling
                    if (!KewApiConstants.ACTION_TAKEN_CANCELED.equals(event.getActionTaken())) {
                        LOG.warn("doActionTaken() Unable to load document with id " + event.getDocumentId() +
                                " using action taken code '" + KewApiConstants.ACTION_TAKEN_CD.get(event.getActionTaken().getActionTaken()));
    //                    throw new RuntimeException("unable to load document " + event.getDocumentId());
                    }
                } else {
                    document.doActionTaken(event);
                    if ( LOG.isDebugEnabled() ) {
                        LOG.debug(new StringBuffer("finished doing action taken for action taken code").append(event.getActionTaken().getActionTaken()).append(" for document ").append(event.getDocumentId()));
                    }
                }
            }
            catch (Exception e) {
                logAndRethrow("do action taken", e);
            }
            return new ProcessDocReport(true, "");

        }
    });
}
 

开发者ID:aapotts,
项目名称:kuali_rice,
代码行数:35,
代码来源:PostProcessorServiceImpl.java

示例12: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#afterActionTaken(org.kuali.rice.kew.api.action.ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public ProcessDocReport afterActionTaken(final ActionType performed, final ActionTakenEvent event) throws Exception {
    return GlobalVariables.doInNewGlobalVariables(establishPostProcessorUserSession(), new Callable<ProcessDocReport>() {
        public ProcessDocReport call() throws Exception {
            try {
                if ( LOG.isDebugEnabled() ) {
                    LOG.debug(new StringBuffer("started doing after action taken for action performed code " + performed.getCode() + " and action taken code ").append(event.getActionTaken().getActionTaken()).append(" for document ").append(event.getDocumentId()));
                }
                Document document = documentService.getByDocumentHeaderId(event.getDocumentId());
                if (ObjectUtils.isNull(document)) {
                    // only throw an exception if we are not cancelling
                    if (!KewApiConstants.ACTION_TAKEN_CANCELED.equals(event.getActionTaken())) {
                        LOG.warn("afterActionTaken() Unable to load document with id " + event.getDocumentId() +
                                " using action taken code '" + KewApiConstants.ACTION_TAKEN_CD.get(event.getActionTaken().getActionTaken()));
                        //                    throw new RuntimeException("unable to load document " + event.getDocumentId());
                    }
                } else {
                    document.afterActionTaken(performed, event);
                    if ( LOG.isDebugEnabled() ) {
                        LOG.debug(new StringBuffer("finished doing after action taken for action taken code").append(event.getActionTaken().getActionTaken()).append(" for document ").append(event.getDocumentId()));
                    }
                }
            }
            catch (Exception e) {
                logAndRethrow("do action taken", e);
            }
            return new ProcessDocReport(true, "");

        }
    });
}
 

开发者ID:aapotts,
项目名称:kuali_rice,
代码行数:35,
代码来源:PostProcessorServiceImpl.java

示例13: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
    return KRADServiceLocatorWeb.getPostProcessorService().doActionTaken(event);
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:8,
代码来源:KualiPostProcessor.java

示例14: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#afterActionTaken(org.kuali.rice.kew.api.action.ActionType,
 *      org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    return KRADServiceLocatorWeb.getPostProcessorService().afterActionTaken(performed, event);
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:9,
代码来源:KualiPostProcessor.java

示例15: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.krad.document.Document#afterActionTaken(ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public void afterActionTaken(ActionType performed, ActionTakenEvent event) {
    // do nothing
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:8,
代码来源:DocumentBase.java

示例16: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
    return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:4,
代码来源:DefaultPostProcessor.java

示例17: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:4,
代码来源:DefaultPostProcessor.java

示例18: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * Need to intercept ACKNOWLEDGE or FYI actions taken on notification workflow documents and set the local state of the 
 * Notification to REMOVED as well.
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
    LOG.debug("ENTERING NotificationPostProcessor.doActionTaken() for Notification action item with document ID: " + event.getDocumentId());

    // NOTE: this action could be happening because the user initiated it via KEW, OR because a dismiss or autoremove action
    // has been invoked programmatically and the KEWActionListMessageDeliverer is taking an action...so there is a risk of being
    // invoked recursively (which will lead to locking issues and other problems).  We therefore mark the document in the KEWActionList
    // MessageDeliverer before performing an action, so that we can detect this scenario here, and avoid invoking KEN again.

    LOG.debug("ACTION TAKEN=" + event.getActionTaken().getActionTaken());

    String actionTakenCode = event.getActionTaken().getActionTaken().getCode();

    Properties p = new Properties();
    WorkflowDocument doc = WorkflowDocumentFactory.loadDocument(event.getActionTaken().getPrincipalId(), event.getDocumentId());
    try {
        p.load(new ByteArrayInputStream(doc.getAttributeContent().getBytes()));
    } catch (IOException ioe) {
        throw new RuntimeException(ioe);
    }
    String internalCommand = p.getProperty(KEWActionListMessageDeliverer.INTERNAL_COMMAND_FLAG);

    if (Boolean.valueOf(internalCommand).booleanValue()) {
        LOG.info("Internal command detected by NotificationPostProcessor - will not invoke KEN");
        return new ProcessDocReport(true, "");
    }
    
    LOG.info("NotificationPostProcessor detected end-user action " + event.getActionTaken().getActionTaken() + " on document " + event.getActionTaken().getDocumentId());

    if(actionTakenCode.equals(KewApiConstants.ACTION_TAKEN_ACKNOWLEDGED_CD) || actionTakenCode.equals(KewApiConstants.ACTION_TAKEN_FYI_CD)) {
        LOG.debug("User has taken either acknowledge or fy action (action code=" + actionTakenCode + 
                ") for Notification action item with document ID: " + event.getDocumentId() + 
        ".  We are now changing the status of the associated NotificationMessageDelivery to REMOVED.");

        try {
            NotificationMessageDelivery nmd = msgDeliverySvc.getNotificationMessageDeliveryByDelivererId(event.getDocumentId());

            if (nmd == null) {
                throw new RuntimeException("Could not find message delivery from workflow document " + event.getDocumentId() + " to dismiss");
            }

            //get the id of the associated notification message delivery record
            String cause;
            if (KewApiConstants.ACTION_TAKEN_ACKNOWLEDGED_CD.equals(actionTakenCode)) {
                cause = NotificationConstants.ACK_CAUSE;
            } else if (KewApiConstants.ACTION_TAKEN_FYI_CD.equals(actionTakenCode)) {
                cause = NotificationConstants.FYI_CAUSE;
            } else {
                cause = "unknown";
            }

            LOG.info("Dismissing message id " + nmd.getId() + " due to cause: " + cause);
            notificationService.dismissNotificationMessageDelivery(nmd.getId(),
                    Util.getNotificationSystemUser(),
                    cause);
        } catch(Exception e) {
            throw new RuntimeException("Error dismissing message", e);
        }
    }

    LOG.debug("LEAVING NotificationPostProcessor.doActionTaken() for Notification action item with document ID: " + event.getDocumentId());
    return new ProcessDocReport(true);
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:68,
代码来源:NotificationPostProcessor.java

示例19: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#afterActionTaken(org.kuali.rice.kew.api.action.ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent) 
 */
@Override
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:8,
代码来源:NotificationPostProcessor.java

示例20: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public ProcessDocReport doActionTaken(ActionTakenEvent arg0) throws Exception {
 return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:8,
代码来源:NotificationSenderFormPostProcessor.java

示例21: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.framework.postprocessor.PostProcessor#afterActionTaken(org.kuali.rice.kew.api.action.ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
 */
@Override
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:8,
代码来源:NotificationSenderFormPostProcessor.java

示例22: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
	if (THROW_DO_ACTION_TAKEN_EXCEPTION) {
		throw new RuntimeException("I am the doActionTaken exploder");
	}
	return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:7,
代码来源:ExceptionRoutingTestPostProcessor.java

示例23: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    if (THROW_DO_ACTION_TAKEN_EXCEPTION) {
        throw new RuntimeException("I am the afterActionTaken exploder");
    }
    return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:7,
代码来源:ExceptionRoutingTestPostProcessor.java

示例24: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    afterActionTakenType = performed;
    afterActionTakenEvent = event;
    return super.afterActionTaken(performed, event);
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:7,
代码来源:RecallActionTest.java

示例25: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
   	return new ProcessDocReport(actionTakenResult, "testing");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:4,
代码来源:MockPostProcessor.java

示例26: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    return new ProcessDocReport(actionTakenResult, "testing");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:4,
代码来源:MockPostProcessor.java

示例27: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public void doActionTaken(ActionTakenEvent event) {
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:3,
代码来源:AgendaEditorMaintenanceDocumentDummy.java

示例28: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public void afterActionTaken(ActionType performed, ActionTakenEvent event) {
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:3,
代码来源:AgendaEditorMaintenanceDocumentDummy.java

示例29: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws RemoteException {
    LOG.debug("doActionTaken: " + event);
    postEvent(event.getDocumentId(), event, EVENT_TYPE_ACTION_TAKEN);
    return new ProcessDocReport(true, "");
}
 

开发者ID:kuali,
项目名称:kc-rice,
代码行数:6,
代码来源:EDocLitePostProcessor.java

示例30: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.krad.document.DocumentBase#doActionTaken(org.kuali.rice.kew.clientapp.vo.ActionTakenEventDTO)
 */
@Override
public void doActionTaken(ActionTakenEvent event) {
    super.doActionTaken(event);
    // additional processing
}
 

开发者ID:VU-libtech,
项目名称:OLE-INST,
代码行数:9,
代码来源:PurchaseOrderDocument.java

示例31: doActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
/**
 * @see org.kuali.rice.kew.clientapp.PostProcessorRemote#doActionTaken(org.kuali.rice.kew.clientapp.vo.ActionTakenEventDTO)
 */
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
    return SpringContext.getBean(PostProcessorService.class).doActionTaken(event);
}
 

开发者ID:VU-libtech,
项目名称:OLE-INST,
代码行数:7,
代码来源:PostProcessor.java

示例32: afterActionTaken

点赞 2

import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent; //导入依赖的package包/类
@Override
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception {
    return SpringContext.getBean(PostProcessorService.class).afterActionTaken(performed, event);
}
 

开发者ID:VU-libtech,
项目名称:OLE-INST,
代码行数:5,
代码来源:PostProcessor.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)