本文整理汇总了Java中org.kuali.rice.kew.actionrequest.dao.ActionRequestDAO类的典型用法代码示例。如果您正苦于以下问题:Java ActionRequestDAO类的具体用法?Java ActionRequestDAO怎么用?Java ActionRequestDAO使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ActionRequestDAO类属于org.kuali.rice.kew.actionrequest.dao包,在下文中一共展示了ActionRequestDAO类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getActionRequestDAO
import org.kuali.rice.kew.actionrequest.dao.ActionRequestDAO; //导入依赖的package包/类
public ActionRequestDAO getActionRequestDAO() {
return actionRequestDAO;
}
示例2: setActionRequestDAO
import org.kuali.rice.kew.actionrequest.dao.ActionRequestDAO; //导入依赖的package包/类
public void setActionRequestDAO(ActionRequestDAO actionRequestDAO) {
this.actionRequestDAO = actionRequestDAO;
}
示例3: findAllPendingRequests
import org.kuali.rice.kew.actionrequest.dao.ActionRequestDAO; //导入依赖的package包/类
/**
* Returns all pending requests for a given routing identity
* @param documentId the id of the document header being routed
* @return a List of all pending ActionRequestValues for the document
*/
public List<ActionRequestValue> findAllPendingRequests(String documentId) {
ActionRequestDAO arDAO = getActionRequestDAO();
List<ActionRequestValue> pendingArs = arDAO.findByStatusAndDocId(ActionRequestStatus.ACTIVATED.getCode(), documentId);
return pendingArs;
}
示例4: findAllValidRequests
import org.kuali.rice.kew.actionrequest.dao.ActionRequestDAO; //导入依赖的package包/类
public List findAllValidRequests(String principalId, String documentId, String requestCode) {
ActionRequestDAO arDAO = getActionRequestDAO();
Collection pendingArs = arDAO.findByStatusAndDocId(ActionRequestStatus.ACTIVATED.getCode(), documentId);
return findAllValidRequests(principalId, pendingArs, requestCode);
}