public class OLEASRPlaceRequestHelperServiceImpl extends Object
Constructor and Description |
---|
OLEASRPlaceRequestHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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
|
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 |
generateNotices() |
void |
generateOnHoldNotice() |
OleDeliverRequestBo |
generateRecallNotice(OleDeliverRequestBo oleDeliverRequestBo) |
void |
generateRequestExpirationNotice() |
protected Map<String,String> |
getAgendaContext(String agendaName)
This method returns AgendaContext using agendaName..
|
DocstoreClientLocator |
getDocstoreClientLocator() |
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() |
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 patronId,
String operatorId,
String itemBarcode,
String requestType,
String pickUpLocation,
String itemIdentifier) |
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
|
void |
setbusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
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 OLEASRPlaceRequestHelperServiceImpl()
public DocstoreClientLocator getDocstoreClientLocator()
public void setbusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public LoanProcessor getLoanProcessor()
public void setLoanProcessor(LoanProcessor loanProcessor)
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 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 patronId, String operatorId, String itemBarcode, String requestType, String pickUpLocation, String itemIdentifier)
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
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.