| org.kuali.module.purap.service.PurapService
All known Subclasses: org.kuali.module.purap.service.impl.PurapServiceImpl,
PurapService | public interface PurapService (Code) | | Defines methods that must be implemented by classes providing a PurapService.
|
addBelowLineItems | public void addBelowLineItems(PurchasingAccountsPayableDocument document)(Code) | | Add the allowed below the line items to the given document
Parameters: document - PurchasingAccountsPayableDocument |
getBelowTheLineByType | public PurApItem getBelowTheLineByType(PurchasingAccountsPayableDocument document, ItemType iT)(Code) | | Retrieve the below the line item for a doc by item type (unknown result if multiple of same below the line item
type)
Parameters: document - the document Parameters: iT - the itemType below the line item by item type |
getBelowTheLineForDocument | public String[] getBelowTheLineForDocument(PurchasingAccountsPayableDocument document)(Code) | | Retrieves the below the line items allowed from the parameter table for the given document
Parameters: document - PurchasingAccountsPayableDocument Array list of below the line items |
getRelatedViews | public List getRelatedViews(Class clazz, Integer accountsPayablePurchasingDocumentLinkIdentifier)(Code) | | Retrieve list of views for given identifier
Parameters: clazz - Parameters: accountsPayablePurchasingDocumentLinkIdentifier - List of views for given identifier |
isDateAYearBeforeToday | public boolean isDateAYearBeforeToday(Date compareDate)(Code) | | We are obliged not to simply use a dateDiff and compare the result to 365, because we have to worry about leap years.
Parameters: compareDate - An SQL date (not a DateFormatter date, or a util Date) True if the date given for comparison is more than a year in the past, not including today. |
isDateInPast | public boolean isDateInPast(Date compareDate)(Code) | | Determine whether a given date is in the past.
Parameters: compareDate - An SQL date (not a DateFormatter date, or a util Date) True if the given date is before today. |
isDateMoreThanANumberOfDaysAway | public boolean isDateMoreThanANumberOfDaysAway(Date compareDate, int daysAway)(Code) | | Determine whether a given date is more than a given number of days away from the current date.
Parameters: compareDate - An SQL date (not a DateFormatter date, or a util Date) Parameters: daysAway - An int, positive for future days, negative for past days True if the given date is more than the given number of days away in either direction. |
isFullDocumentEntryCompleted | public boolean isFullDocumentEntryCompleted(PurchasingAccountsPayableDocument purapDocument)(Code) | | Determines if full entry mode has ended for this Purchasing/Accounts Payable document.
Parameters: purapDocument - PurchasingAccountsPayableDocument a boolean to indicate if document has completed full entry mode |
performLogicForCloseReopenPO | public void performLogicForCloseReopenPO(PurchasingAccountsPayableDocument purapDocument)(Code) | | Create a close or reopen purchase order document.
Parameters: purapDocument - PurchasingAccountsPayableDocument |
performLogicForFullEntryCompleted | public void performLogicForFullEntryCompleted(PurchasingAccountsPayableDocument purapDocument)(Code) | | Performs all the actions on an update document.
Parameters: purapDocument - PurchasingAccountsPayableDocument |
sortBelowTheLine | public void sortBelowTheLine(PurchasingAccountsPayableDocument document)(Code) | | Sort the below the line elements of the given document
Parameters: document - PurchasingAccountsPayableDocument to be sorted |
updateStatus | public boolean updateStatus(PurchasingAccountsPayableDocument document, String statusToSet)(Code) | | Update the status for the given Purchasing/Accounts Payable document
Parameters: document - Parameters: statusToSet - |
|
|