mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 05:23:14 +00:00
Merge pull request #1037 from KevinVdV/DS-2729-siteservice-extends-dspaceobjectservice
[DS-2729] Ensure SiteService extends DSpaceObjectService
This commit is contained in:
@@ -585,6 +585,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