public class OleDeliverRequestDocumentHelperServiceImpl extends Object
Constructor and Description |
---|
OleDeliverRequestDocumentHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Date |
addDate(Date in,
int daysToAdd) |
void |
cancelDocument(OleDeliverRequestBo oleDeliverRequestBo)
This method is used to cancel the request document
|
void |
cancelPendingRequestForClaimsReturnedItem(String itemUuid) |
boolean |
canRaiseRequest(OleDeliverRequestBo oleDeliverRequestBo)
This method is to check whether the selected request can be raised for the item
|
boolean |
checkForOverdueNotice(Date expDate) |
void |
deleteRequest(String requestId,
String itemUUID,
String operatorId,
String loanTransactionNumber) |
void |
deleteTemporaryHistoryRecord() |
void |
deletingExpiredRequests() |
org.kuali.rice.krms.api.engine.EngineResults |
executeEngineResults(OleDeliverRequestBo oleDeliverRequestBo) |
void |
generateHoldCourtesyNotice() |
void |
generateNoticeForOverdueAndCourtesy(String patronId,
List<OleLoanDocument> oleLoanDocuments,
String courtesyInterval,
boolean overdue,
List<String> itemIds) |
void |
generateNotices() |
void |
generateOnHoldNotice() |
OleDeliverRequestBo |
generateRecallNotice(OleDeliverRequestBo oleDeliverRequestBo) |
void |
generateRequestExpirationNotice() |
protected Map<String,String> |
getAgendaContext(String agendaName)
This method returns AgendaContext using agendaName..
|
String |
getAvailableDate(String itemBarcode) |
DocstoreClientLocator |
getDocstoreClientLocator() |
DocstoreUtil |
getDocstoreUtil() |
String |
getIntervalForCourtesyNotice() |
String |
getIntervalForOverdueNotice() |
OleItemSearch |
getItemDetails(String itemUUID)
This for retrieving the item Details from docstore
|
OleItemSearch |
getItemDetailsForPatron(String itemUUID)
This method is for retrieving the item details for displaying in the patron screen
|
LoanProcessor |
getLoanProcessor() |
Map<String,String> |
getLocationMap(String itemLocation) |
OleCirculationDesk |
getOleCirculationDesk(String circulationDeskId) |
OleDeliverRequestBo |
getOleDeliverRequestBo(String itemUUID) |
String |
getPatronHomeEmailId(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) |
String |
getPatronHomePhoneNumber(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) |
String |
getPatronPreferredAddress(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) |
List<OleDeliverRequestBo> |
getRequestedItems(String olePatronId)
This is for retrieving the request raised by the patron
|
protected Map<String,String> |
getSelectionContext(String contextName)
This method returns SelectionContext using contextName.
|
String |
getShelvingLocation(LocationLevel oleLocationLevel) |
boolean |
isAlreadyLoaned(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the requested item is currently in loan to the requesting patron
|
boolean |
isItemAvailable(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the item is available in the desk or not
|
boolean |
isItemAvailableForLoan(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the item is available in the desk or not
|
boolean |
isItemAvailbleInDocstore(OleDeliverRequestBo oleDeliverRequestBo)
Thsi method is to check whether the item is available in doc store or not
|
boolean |
isItemEligible(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the item is eligible to loan
|
boolean |
isRequestAlreadyRaisedByPatron(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the request is already raised by the patron for this item
|
boolean |
isRequestRaised(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether any request raised for the item
|
boolean |
isValidProxyPatron(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the login patron is the proxy patron for the real patron
|
String |
patronRecordExpired(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the patron record is alive or expired
|
String |
placeRequest(String patronBarcode,
String operatorId,
String itemBarcode,
String requestType,
String pickUpLocation,
String itemIdentifier,
String itemLocation,
String itemType,
String title,
String author,
String callNumber,
boolean externalItem) |
Holdings |
populateInfoFromInstanceHoldingToDocHoldings(OleHoldings oleHoldings,
Holdings holdings) |
Item |
populateInfoFromInstanceItemToDocItem(Item instanceItem,
Item documentItem) |
OleDeliverRequestBo |
populateItemDetailsToRequest(OleDeliverRequestBo oleDeliverRequestBo,
OleItemSearch oleItemSearch) |
OleDeliverRequestBo |
processItem(OleDeliverRequestBo oleDeliverRequestBo)
This method is to set the item values from docstore
|
OleDeliverRequestBo |
processItemType(OleDeliverRequestBo oleDeliverRequestBo)
This method is to set the item type name based on the item type code
|
String |
processItemType(String itemType) |
boolean |
processOperator(String principalId) |
OleDeliverRequestBo |
processPatron(OleDeliverRequestBo oleDeliverRequestBo)
This is to create a new patron object if the user enters the operator Id manually
|
OleDeliverRequestBo |
processRequester(OleDeliverRequestBo oleDeliverRequestBo)
This for setting the null values for the unselected requester
|
OleDeliverRequestBo |
processRequestType(OleDeliverRequestBo oleDeliverRequestBo)
This method is used to change the request type based on selection of pick up location
|
OleDeliverRequestBo |
reOrderQueuePosition(OleDeliverRequestBo oleDeliverRequestBo)
This method is to re-order the queuePosition based on the priority while creating the request
|
Map |
retrieveBIbItemHoldingData(String itemUUID) |
Item |
retrieveItemWithBibAndHoldingData(String itemUUID) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setDocstoreClientLocator(DocstoreClientLocator docstoreClientLocator) |
void |
setDocstoreUtil(DocstoreUtil docstoreUtil) |
void |
setLoanProcessor(LoanProcessor loanProcessor) |
void |
updateItem(Item oleItem,
String itemUuid) |
OleDeliverRequestBo |
updateLoanDocument(OleDeliverRequestBo oleDeliverRequestBo)
racle
This method is to update the request id in the loan document
|
boolean |
validateDeliveryPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the patron is having delivery privilege or not
|
boolean |
validatePagingPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the patron is having paging privilege or not
|
String |
validateQueuePosition(List<OleDeliverRequestBo> itemList)
This is to check the duplicate in the queue Position while re -ordering
|
boolean |
validateRequestType(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the pick up location is selected for the hold type of Request
|
public OleDeliverRequestDocumentHelperServiceImpl()
public DocstoreClientLocator getDocstoreClientLocator()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setLoanProcessor(LoanProcessor loanProcessor)
public void setDocstoreUtil(DocstoreUtil docstoreUtil)
public void setDocstoreClientLocator(DocstoreClientLocator docstoreClientLocator)
public DocstoreUtil getDocstoreUtil()
public LoanProcessor getLoanProcessor()
public OleDeliverRequestBo processRequestType(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public OleDeliverRequestBo processPatron(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean processOperator(String principalId)
public boolean validateRequestType(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean validateDeliveryPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean validatePagingPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public OleDeliverRequestBo processRequester(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isValidProxyPatron(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isRequestAlreadyRaisedByPatron(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isAlreadyLoaned(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isItemAvailable(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isItemAvailableForLoan(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isItemEligible(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public String patronRecordExpired(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public List<OleDeliverRequestBo> getRequestedItems(String olePatronId)
olePatronId
- public String validateQueuePosition(List<OleDeliverRequestBo> itemList)
itemList
- public boolean isRequestRaised(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public void cancelDocument(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public void cancelPendingRequestForClaimsReturnedItem(String itemUuid) throws Exception
Exception
public OleDeliverRequestBo processItem(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public OleDeliverRequestBo processItemType(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean canRaiseRequest(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public OleDeliverRequestBo updateLoanDocument(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public void deleteRequest(String requestId, String itemUUID, String operatorId, String loanTransactionNumber)
requestId
- itemUUID
- operatorId
- loanTransactionNumber
- public OleItemSearch getItemDetails(String itemUUID)
itemUUID
- public OleItemSearch getItemDetailsForPatron(String itemUUID)
itemUUID
- public OleDeliverRequestBo reOrderQueuePosition(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public boolean isItemAvailbleInDocstore(OleDeliverRequestBo oleDeliverRequestBo)
oleDeliverRequestBo
- public OleDeliverRequestBo populateItemDetailsToRequest(OleDeliverRequestBo oleDeliverRequestBo, OleItemSearch oleItemSearch)
public OleDeliverRequestBo generateRecallNotice(OleDeliverRequestBo oleDeliverRequestBo) throws Exception
Exception
public void generateOnHoldNotice() throws Exception
Exception
public void generateRequestExpirationNotice() throws Exception
Exception
public void deletingExpiredRequests()
public OleDeliverRequestBo getOleDeliverRequestBo(String itemUUID)
public String getPatronPreferredAddress(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) throws Exception
Exception
public String getPatronHomePhoneNumber(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) throws Exception
Exception
public String getPatronHomeEmailId(org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo) throws Exception
Exception
public void generateNotices() throws Exception
Exception
public void generateNoticeForOverdueAndCourtesy(String patronId, List<OleLoanDocument> oleLoanDocuments, String courtesyInterval, boolean overdue, List<String> itemIds)
public void generateHoldCourtesyNotice() throws Exception
Exception
public void deleteTemporaryHistoryRecord() throws Exception
Exception
public void updateItem(Item oleItem, String itemUuid) throws Exception
Exception
public String getShelvingLocation(LocationLevel oleLocationLevel)
public String getIntervalForCourtesyNotice()
public String getIntervalForOverdueNotice()
public String processItemType(String itemType)
public String placeRequest(String patronBarcode, String operatorId, String itemBarcode, String requestType, String pickUpLocation, String itemIdentifier, String itemLocation, String itemType, String title, String author, String callNumber, boolean externalItem)
public String getAvailableDate(String itemBarcode)
public org.kuali.rice.krms.api.engine.EngineResults executeEngineResults(OleDeliverRequestBo oleDeliverRequestBo)
protected Map<String,String> getSelectionContext(String contextName)
contextName
- protected Map<String,String> getAgendaContext(String agendaName)
agendaName
- public OleCirculationDesk getOleCirculationDesk(String circulationDeskId)
public boolean checkForOverdueNotice(Date expDate)
public Map<String,String> getLocationMap(String itemLocation)
public Item retrieveItemWithBibAndHoldingData(String itemUUID)
public Item populateInfoFromInstanceItemToDocItem(Item instanceItem, Item documentItem)
public Holdings populateInfoFromInstanceHoldingToDocHoldings(OleHoldings oleHoldings, Holdings holdings)
public Map retrieveBIbItemHoldingData(String itemUUID)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.