mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 05:23:14 +00:00
[DS-2701] oai make commandline tool compile.
This commit is contained in:
@@ -207,6 +207,13 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
|
||||
return itemDAO.findAllByCollection(context, collection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<Item> findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context, Date since)
|
||||
throws SQLException
|
||||
{
|
||||
return itemDAO.findInArchiveOrWithdrawnDiscoverableModifiedSince(context, since);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLastModified(Context context, Item item) throws SQLException, AuthorizeException {
|
||||
item.setLastModified(new Date());
|
||||
@@ -1132,4 +1139,11 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
|
||||
public Item findByLegacyId(Context context, int id) throws SQLException {
|
||||
return itemDAO.findByLegacyId(context, id, Item.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<Item> findByLastModifiedSince(Context context, Date last)
|
||||
throws SQLException
|
||||
{
|
||||
return itemDAO.findByLastModifiedSince(context, last);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user