public class BulkResourceImporter extends Object
Constructor and Description |
---|
BulkResourceImporter() |
Modifier and Type | Method and Description |
---|---|
OpaqueResourceValidator |
getResourceValidator() |
UniqueServiceLocator |
getServiceLocator() |
XQueryUtils |
getXqueryUtils() |
void |
importResource(OpaqueResource resource)
register a resource bypassing the checks.
|
boolean |
isEnabled() |
boolean |
isValidating() |
void |
setEnabled(boolean enabled) |
void |
setResourceValidator(OpaqueResourceValidator resourceValidator) |
void |
setServiceLocator(UniqueServiceLocator serviceLocator) |
void |
setValidating(boolean validating) |
void |
setXqueryUtils(XQueryUtils xqueryUtils) |
public void importResource(OpaqueResource resource) throws eu.dnetlib.enabling.is.registry.rmi.ISRegistryException
resource
- a resourceeu.dnetlib.enabling.is.registry.rmi.ISRegistryException
- could happenpublic XQueryUtils getXqueryUtils()
public void setXqueryUtils(XQueryUtils xqueryUtils)
public void setResourceValidator(OpaqueResourceValidator resourceValidator)
public OpaqueResourceValidator getResourceValidator()
public void setValidating(boolean validating)
public boolean isValidating()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public UniqueServiceLocator getServiceLocator()
public void setServiceLocator(UniqueServiceLocator serviceLocator)
Copyright © 2019. All rights reserved.