mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
[DS-2729] Ensure SiteService extends DSpaceObjectService
This commit is contained in:
@@ -578,6 +578,11 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
|
||||
rawDelete(context, item);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSupportsTypeConstant() {
|
||||
return Constants.ITEM;
|
||||
}
|
||||
|
||||
protected void rawDelete(Context context, Item item) throws AuthorizeException, SQLException, IOException {
|
||||
authorizeService.authorizeAction(context, item, Constants.REMOVE);
|
||||
|
||||
|
Reference in New Issue
Block a user