mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
Merged dspace/master into dspace/configurable_entities
This commit is contained in:
@@ -137,6 +137,15 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
|
||||
return communityDAO.findByID(context, Community.class, id);
|
||||
}
|
||||
|
||||
@Override
|
||||
/**
|
||||
* This method is an alias of the find method needed to avoid ambiguity between the IndexableObjectService interface
|
||||
* and the DSpaceObjectService interface
|
||||
*/
|
||||
public Community findIndexableObject(Context context, UUID id) throws SQLException {
|
||||
return find(context, id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Community> findAll(Context context) throws SQLException {
|
||||
MetadataField sortField = metadataFieldService.findByElement(context, MetadataSchemaEnum.DC.getName(),
|
||||
@@ -511,6 +520,14 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
|
||||
return Constants.COMMUNITY;
|
||||
}
|
||||
|
||||
@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();
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal method to remove the community and all its children from the
|
||||
|
Reference in New Issue
Block a user