本文整理匯總了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);
}