Package org.dspace.content
Class SupervisedItemServiceImpl
- java.lang.Object
-
- org.dspace.content.SupervisedItemServiceImpl
-
- All Implemented Interfaces:
SupervisedItemService
public class SupervisedItemServiceImpl extends Object implements SupervisedItemService
-
-
Field Summary
Fields Modifier and Type Field Description protected WorkspaceItemServiceworkspaceItemService
-
Constructor Summary
Constructors Modifier Constructor Description protectedSupervisedItemServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WorkspaceItem>findbyEPerson(Context context, EPerson ep)Get items being supervised by given EPersonList<WorkspaceItem>getAll(Context context)Get all workspace items which are being supervised
-
-
-
Field Detail
-
workspaceItemService
@Autowired(required=true) protected WorkspaceItemService workspaceItemService
-
-
Method Detail
-
getAll
public List<WorkspaceItem> getAll(Context context) throws SQLException
Description copied from interface:SupervisedItemServiceGet all workspace items which are being supervised- Specified by:
getAllin interfaceSupervisedItemService- Parameters:
context- the context this object exists in- Returns:
- array of SupervisedItems
- Throws:
SQLException- if database error
-
findbyEPerson
public List<WorkspaceItem> findbyEPerson(Context context, EPerson ep) throws SQLException
Description copied from interface:SupervisedItemServiceGet items being supervised by given EPerson- Specified by:
findbyEPersonin interfaceSupervisedItemService- Parameters:
context- the dspace contextep- the eperson who's items to supervise we want- Returns:
- the items eperson is supervising in an array
- Throws:
SQLException- if database error
-
-