public class OleOrderQueueDocument extends org.kuali.rice.krad.document.TransactionalDocumentBase
Modifier and Type | Field and Description |
---|---|
List<OleRequisitionItem> |
requisitionItems |
Constructor and Description |
---|
OleOrderQueueDocument() |
Modifier and Type | Method and Description |
---|---|
void |
addRequisitions(OleRequisitionItem data) |
void |
assign()
This method validates for selector and assigns selected requisitions to the selector.
|
String |
convertTimestampToString(Timestamp timestamp)
This method converts specified timestamp to String
|
void |
delete()
This method invokes cancelDocument of DocumentService to delete selected requisitions.
|
List<OleRequisitionItem> |
filterOtherSearchCriteria(List<OleRequisitionItem> results)
This method filters the result list for other search criteria entered that are not a part of
Requisiton and Requisition Item related table.
|
Map<String,Timestamp> |
filterWorkflowStatusDate(List searchResults,
Map<String,List<String>> fixedParameters)
This method filters search results from OleRequisitionItem search based on workflow status change from/to date.
|
String |
getAccountNumber()
Getter for property: accountNumber.
Stores the value of accountNumber. |
String |
getActive() |
String |
getAuthor() |
String |
getChartOfAccountsCode()
Getter for property: chartOfAccountsCode.
Stores the value of chartOfAccountsCode. |
String |
getDocumentNumber() |
String |
getExternalRequestorId() |
String |
getFormatTypeId() |
String |
getInternalRequestorId() |
String |
getIsbn() |
String |
getObjectCode()
Getter for property: objectCode.
Stores the value of objectCode. |
OleFormatType |
getOleFormatType() |
String |
getPrincipalName()
Gets the principalName attribute.
|
String |
getPublisher() |
String |
getRequestorName() |
String |
getRequisitionDocNumber() |
List<OleRequisitionItem> |
getRequisitionItems()
Gets the requisitions attribute.
|
String |
getRequisitionSelectorPrincipalName() |
String |
getRequisitionSelectorUserId() |
String |
getRequisitionStatus() |
String |
getRequisitionStatusCode() |
String |
getSelectedUserId() |
String |
getSelectorUserId() |
String |
getSelectorUserName()
Getter for property: selectorUserName.
Stores the value of selectorUserName. |
String |
getStatusCode() |
String |
getTitle() |
Integer |
getTotalPrice() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalSelectedItemsPrice()
This method returns total price of the selected requisition items.
|
String |
getVendorName() |
Timestamp |
getWorkflowStatusChangeDateFrom() |
Timestamp |
getWorkflowStatusChangeDateTo() |
boolean |
isInitiatorOfREQS()
This method returns the true if the logined User has selector or super_selector role
|
boolean |
isRequisitionAdded() |
void |
massApprove()
This method invokes approveDocument of DocumentService to approve selected requisitions
and sets errors appriopriately if approval fails.
|
Map<String,String> |
populateRequisitionFields()
This method populates a map with OleRequisitionItem fields for search criteria entered
from Order Holding Queue Page
|
void |
populateWorkflowStatusDate(OleRequisitionItem item)
This method populates workflow status change date for a requisition item.
|
protected Map<String,List<String>> |
preprocessDateFields() |
boolean |
selectorLookup(OleRequisitionItem item,
String selector)
This method returns true if the selector is in the document's route log.
|
void |
setAccountNumber(String accountNumber)
Setter for property: accountNumber.
Stores the value of accountNumber. |
void |
setActive(String active) |
void |
setAuthor(String author) |
void |
setChartOfAccountsCode(String chartOfAccountsCode)
Setter for property: chartOfAccountsCode.
Stores the value of chartOfAccountsCode. |
void |
setDocumentNumber(String documentNumber) |
void |
setExternalRequestorId(String externalRequestorId) |
void |
setFormatTypeId(String formatTypeId) |
void |
setInternalRequestorId(String internalRequestorId) |
void |
setIsbn(String isbn) |
void |
setObjectCode(String objectCode)
Setter for property: objectCode.
Stores the value of objectCode. |
void |
setOleFormatType(OleFormatType oleFormatType) |
void |
setPrincipalName(String principalName)
Sets the principalName attribute value.
|
void |
setPublisher(String publisher) |
void |
setRequestorName(String requestorName) |
void |
setRequisitionDocNumber(String requisitionDocNumber) |
void |
setRequisitionItems(List<OleRequisitionItem> requisitionItems)
Sets the requisitions attribute value.
|
void |
setRequisitionSelectorPrincipalName(String requisitionSelectorPrincipalName) |
void |
setRequisitionSelectorUserId(String requisitionSelectorUserId) |
void |
setRequisitionStatus(String requisitionStatus) |
void |
setRequisitionStatusCode(String requisitionStatusCode) |
void |
setSelectedUserId(String selectedUserId) |
void |
setSelectorUserId(String selectorUserId) |
void |
setSelectorUserName(String selectorUserName)
Setter for property: selectorUserName.
Stores the value of selectorUserName. |
void |
setStatusCode(String statusCode) |
void |
setTitle(String title) |
void |
setTotalPrice(Integer totalPrice) |
void |
setVendorName(String vendorName) |
void |
setWorkflowStatusChangeDateFrom(Timestamp workflowStatusChangeDateFrom) |
void |
setWorkflowStatusChangeDateTo(Timestamp workflowStatusChangeDateTo) |
protected LinkedHashMap |
toStringMapper_RICE20_REFACTORME() |
getAllowsCopy, isSessionDocument
addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setNewDocumentHeader, setNotes, setPessimisticLocks, toCopy, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
public List<OleRequisitionItem> requisitionItems
public OleOrderQueueDocument()
public String getDocumentNumber()
getDocumentNumber
in interface org.kuali.rice.krad.document.Document
getDocumentNumber
in class org.kuali.rice.krad.document.DocumentBase
public void setDocumentNumber(String documentNumber)
setDocumentNumber
in interface org.kuali.rice.krad.document.Document
setDocumentNumber
in class org.kuali.rice.krad.document.DocumentBase
public String getSelectedUserId()
public void setSelectedUserId(String selectedUserId)
public String getSelectorUserId()
public void setSelectorUserId(String selectorUserId)
public String getStatusCode()
public void setStatusCode(String statusCode)
public Integer getTotalPrice()
public void setTotalPrice(Integer totalPrice)
public String getPrincipalName()
public void setPrincipalName(String principalName)
principalName
- The principalName to set.public List<OleRequisitionItem> getRequisitionItems()
public void setRequisitionItems(List<OleRequisitionItem> requisitionItems)
requisitions
- The requisitions to set.public void addRequisitions(OleRequisitionItem data)
public boolean isRequisitionAdded()
public String getPublisher()
public void setPublisher(String publisher)
public String getRequisitionDocNumber()
public void setRequisitionDocNumber(String requisitionDocNumber)
public String getInternalRequestorId()
public void setInternalRequestorId(String internalRequestorId)
public String getExternalRequestorId()
public void setExternalRequestorId(String externalRequestorId)
public String getRequestorName()
public void setRequestorName(String requestorName)
public String getRequisitionStatus()
public void setRequisitionStatus(String requisitionStatus)
public String getRequisitionStatusCode()
public void setRequisitionStatusCode(String requisitionStatusCode)
public String getVendorName()
public void setVendorName(String vendorName)
public String getFormatTypeId()
public void setFormatTypeId(String formatTypeId)
public OleFormatType getOleFormatType()
public void setOleFormatType(OleFormatType oleFormatType)
public Timestamp getWorkflowStatusChangeDateFrom()
public void setWorkflowStatusChangeDateFrom(Timestamp workflowStatusChangeDateFrom)
public Timestamp getWorkflowStatusChangeDateTo()
public void setWorkflowStatusChangeDateTo(Timestamp workflowStatusChangeDateTo)
public String getRequisitionSelectorUserId()
public void setRequisitionSelectorUserId(String requisitionSelectorUserId)
public String getRequisitionSelectorPrincipalName()
public void setRequisitionSelectorPrincipalName(String requisitionSelectorPrincipalName)
public String getSelectorUserName()
public void setSelectorUserName(String selectorUserName)
public String getAccountNumber()
public void setAccountNumber(String accountNumber)
public String getObjectCode()
public void setObjectCode(String objectCode)
public String getChartOfAccountsCode()
public void setChartOfAccountsCode(String chartOfAccountsCode)
protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
public void massApprove()
public void assign()
public void delete()
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalSelectedItemsPrice()
public Map<String,String> populateRequisitionFields() throws Exception
Exception
public List<OleRequisitionItem> filterOtherSearchCriteria(List<OleRequisitionItem> results)
results
- protected Map<String,List<String>> preprocessDateFields()
public boolean isInitiatorOfREQS()
public boolean selectorLookup(OleRequisitionItem item, String selector)
item
- Document containing this item will be validated for the selector.selector
- Principal Id to be checked against the requisition document.public Map<String,Timestamp> filterWorkflowStatusDate(List searchResults, Map<String,List<String>> fixedParameters)
searchResults
- Search Result list from Requisition Item Lookup.fixedParameters
- Map containing workflow status change From/To date search criteria.public void populateWorkflowStatusDate(OleRequisitionItem item)
item
- Requisition Item to populate workflow status date.public String convertTimestampToString(Timestamp timestamp)
dateTime
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.