mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 22:43:12 +00:00
[DS 4287] Refactoring the IndexableObject & SolrServiceImpl to become more expandable
This commit is contained in:
@@ -172,15 +172,6 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
|
||||
return item;
|
||||
}
|
||||
|
||||
@Override
|
||||
/**
|
||||
* This method is an alias of the find method needed to avoid ambiguity between the IndexableObjectService interface
|
||||
* and the DSpaceObjectService interface
|
||||
*/
|
||||
public Item findIndexableObject(Context context, UUID id) throws SQLException {
|
||||
return find(context, id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item create(Context context, WorkspaceItem workspaceItem) throws SQLException, AuthorizeException {
|
||||
if (workspaceItem.getItem() != null) {
|
||||
@@ -677,15 +668,6 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
|
||||
return Constants.ITEM;
|
||||
}
|
||||
|
||||
@Override
|
||||
/**
|
||||
* This method is an alias of the getSupportsTypeConstant method needed to avoid ambiguity between the
|
||||
* IndexableObjectService interface and the DSpaceObjectService interface
|
||||
*/
|
||||
public int getSupportsIndexableObjectTypeConstant() {
|
||||
return getSupportsTypeConstant();
|
||||
}
|
||||
|
||||
protected void rawDelete(Context context, Item item) throws AuthorizeException, SQLException, IOException {
|
||||
authorizeService.authorizeAction(context, item, Constants.REMOVE);
|
||||
|
||||
|
Reference in New Issue
Block a user