[DS-3003] Ensure all service & DAO implementations have a protected constructor

This commit is contained in:
KevinVdV
2016-01-25 12:31:29 +01:00
parent 8b99d79ab4
commit 9486a7def1
96 changed files with 490 additions and 38 deletions

View File

@@ -40,6 +40,11 @@ public class MetadataFieldServiceImpl implements MetadataFieldService {
@Autowired(required = true)
protected MetadataValueService metadataValueService;
protected MetadataFieldServiceImpl()
{
}
@Override
public MetadataField create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote) throws AuthorizeException, SQLException, NonUniqueMetadataException {
// Check authorisation: Only admins may create DC types