public class RequestItemManager extends Object
| Constructor and Description |
|---|
RequestItemManager()
Creates a new instance of RequestItemManager
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getLinkTokenEmail(Context context,
String bitstreamId,
int itemID,
String reqEmail,
String reqName,
boolean allfiles)
Get the link to the author in RequestLink email.
|
protected static String |
getNewToken(Context context,
int bitstreamId,
int itemID,
String reqEmail,
String reqName,
boolean allfiles) |
static TableRow |
getRequestbyToken(Context context,
String token)
Return the e-mail address referred to by a token, or null if email
address can't be found ignores expiration of token
|
static boolean |
isRestricted(Context context,
DSpaceObject o) |
public RequestItemManager()
public static TableRow getRequestbyToken(Context context, String token) throws SQLException
context - DSpace contexttoken - Account tokenSQLExceptionprotected static String getNewToken(Context context, int bitstreamId, int itemID, String reqEmail, String reqName, boolean allfiles) throws SQLException
SQLExceptionpublic static String getLinkTokenEmail(Context context, String bitstreamId, int itemID, String reqEmail, String reqName, boolean allfiles) throws SQLException
email - The email address to mail toSQLExeptionSQLExceptionpublic static boolean isRestricted(Context context, DSpaceObject o) throws SQLException
SQLExceptionCopyright © 2016 DuraSpace. All Rights Reserved.