Package org.dspace.access.status
Interface AccessStatusHelper
-
- All Known Implementing Classes:
DefaultAccessStatusHelper
public interface AccessStatusHelperPlugin interface for the access status calculation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAccessStatusFromItem(Context context, Item item, Date threshold)Calculate the access status for the item.
-
-
-
Method Detail
-
getAccessStatusFromItem
String getAccessStatusFromItem(Context context, Item item, Date threshold) throws SQLException
Calculate the access status for the item.- Parameters:
context- the DSpace contextitem- the item- Returns:
- an access status value
- Throws:
SQLException- An exception that provides information on a database access error or other errors.
-
-