public class RequestItemManager
extends java.lang.Object
| Constructor and Description |
|---|
RequestItemManager()
Creates a new instance of RequestItemManager
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getLinkTokenEmail(Context context,
java.lang.String bitstreamId,
int itemID,
java.lang.String reqEmail,
java.lang.String reqName,
boolean allfiles)
Get the link to the author in RequestLink email.
|
protected static java.lang.String |
getNewToken(Context context,
int bitstreamId,
int itemID,
java.lang.String reqEmail,
java.lang.String reqName,
boolean allfiles) |
static TableRow |
getRequestbyToken(Context context,
java.lang.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, java.lang.String token) throws java.sql.SQLException
context - DSpace contexttoken - Account tokenjava.sql.SQLExceptionprotected static java.lang.String getNewToken(Context context, int bitstreamId, int itemID, java.lang.String reqEmail, java.lang.String reqName, boolean allfiles) throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.lang.String getLinkTokenEmail(Context context, java.lang.String bitstreamId, int itemID, java.lang.String reqEmail, java.lang.String reqName, boolean allfiles) throws java.sql.SQLException
email - The email address to mail toSQLExeptionjava.sql.SQLExceptionpublic static boolean isRestricted(Context context, DSpaceObject o) throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018 DuraSpace. All Rights Reserved.