Package org.dspace.authority
Class AuthorityServiceImpl
- java.lang.Object
-
- org.dspace.authority.AuthorityServiceImpl
-
- All Implemented Interfaces:
AuthorityService
public class AuthorityServiceImpl extends Object implements AuthorityService
Service implementation for the Metadata Authority This class is responsible for all business logic calls for the Metadata Authority and is autowired by spring This class should never be accessed directly.- Author:
- kevinvandevelde at atmire.com
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AuthorityIndexerInterface>indexersprotected AuthorityIndexingServiceindexingService
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthorityServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidindexItem(Context context, Item item)Add anItemto the authority index.booleanisConfigurationValid()
-
-
-
Field Detail
-
indexingService
@Autowired(required=true) protected AuthorityIndexingService indexingService
-
indexers
@Autowired(required=true) protected List<AuthorityIndexerInterface> indexers
-
-
Method Detail
-
indexItem
public void indexItem(Context context, Item item) throws SQLException, AuthorizeException
Description copied from interface:AuthorityServiceAdd anItemto the authority index.- Specified by:
indexItemin interfaceAuthorityService- Parameters:
context- current DSpace session.item- the Item to be added.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
isConfigurationValid
public boolean isConfigurationValid()
- Specified by:
isConfigurationValidin interfaceAuthorityService
-
-