Package org.dspace.app.requestitem
Class RequestItem
java.lang.Object
org.dspace.app.requestitem.RequestItem
- All Implemented Interfaces:
ReloadableEntity<Integer>
Object representing an Item Request.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected constructor, create object using:RequestItemService.createRequest(Context, Bitstream, Item, boolean, String, String, String) -
Method Summary
Modifier and TypeMethodDescriptiongetID()The unique identifier of this entity instance.getItem()getToken()booleanbooleanvoidsetAccept_request(boolean accept_request) voidsetDecision_date(Date decision_date)
-
Constructor Details
-
RequestItem
protected RequestItem()Protected constructor, create object using:RequestItemService.createRequest(Context, Bitstream, Item, boolean, String, String, String)
-
-
Method Details
-
getID
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
isAllfiles
public boolean isAllfiles()- Returns:
trueif all of the Item's files are requested.
-
getReqMessage
- Returns:
- a message from the requester.
-
getReqName
- Returns:
- Human-readable name of the user requesting access.
-
getReqEmail
- Returns:
- address of the user requesting access.
-
getToken
- Returns:
- a unique request identifier which can be emailed.
-
getItem
-
getBitstream
-
getDecision_date
-
setDecision_date
-
isAccept_request
public boolean isAccept_request() -
setAccept_request
public void setAccept_request(boolean accept_request) -
getExpires
-
getRequest_date
-