mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Added @Override to applicable methods
This commit is contained in:
@@ -288,6 +288,7 @@ public class RelationshipServiceImpl implements RelationshipService {
|
||||
return listToReturn;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Relationship> findByItemAndRelationshipType(Context context, Item item,
|
||||
RelationshipType relationshipType)
|
||||
throws SQLException {
|
||||
|
@@ -85,6 +85,7 @@ public class RelationshipTypeServiceImpl implements RelationshipTypeService {
|
||||
relationshipTypeDAO.delete(context, relationshipType);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RelationshipType> findByLeftOrRightLabel(Context context, String label) throws SQLException {
|
||||
return relationshipTypeDAO.findByLeftOrRightLabel(context, label);
|
||||
}
|
||||
|
@@ -38,6 +38,7 @@ public class RelationshipTypeDAOImpl extends AbstractHibernateDAO<RelationshipTy
|
||||
return uniqueResult(context, criteriaQuery, false, RelationshipType.class, -1, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RelationshipType> findByLeftOrRightLabel(Context context, String label) throws SQLException {
|
||||
CriteriaBuilder criteriaBuilder = getCriteriaBuilder(context);
|
||||
CriteriaQuery criteriaQuery = getCriteriaQuery(criteriaBuilder, RelationshipType.class);
|
||||
|
Reference in New Issue
Block a user