public class RequestItemServiceImpl extends Object implements RequestItemService
| Modifier and Type | Field and Description |
|---|---|
protected RequestItemDAO |
requestItemDAO |
| Modifier | Constructor and Description |
|---|---|
protected |
RequestItemServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
createRequest(Context context,
Bitstream bitstream,
Item item,
boolean allFiles,
String reqEmail,
String reqName,
String reqMessage)
Generate a request item representing the request and put it into the DB
|
RequestItem |
findByToken(Context context,
String token) |
void |
update(Context context,
RequestItem requestItem)
Save updates to the record.
|
@Autowired(required=true) protected RequestItemDAO requestItemDAO
public String createRequest(Context context, Bitstream bitstream, Item item, boolean allFiles, String reqEmail, String reqName, String reqMessage) throws SQLException
RequestItemServicecreateRequest in interface RequestItemServiceSQLExceptionpublic RequestItem findByToken(Context context, String token)
findByToken in interface RequestItemServicepublic void update(Context context, RequestItem requestItem)
RequestItemServiceupdate in interface RequestItemServiceCopyright © 2016 DuraSpace. All Rights Reserved.