public class EcmValidator extends Object implements DOObjectValidator
| Constructor and Description |
|---|
EcmValidator(RepositoryReader doMgr,
ExternalContentManager m_exExternalContentManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Validation |
doValidate(Context context,
DOReader reader,
Date asOfDateTime,
List<String> contentModels) |
void |
validate(Context context,
DOReader reader)
Validate a digital object wrapped in a DOReader
|
Validation |
validate(Context context,
String pid,
Date asOfDateTime) |
public EcmValidator(RepositoryReader doMgr, ExternalContentManager m_exExternalContentManager)
public Validation validate(Context context, String pid, Date asOfDateTime) throws ServerException
ServerExceptionpublic void validate(Context context, DOReader reader) throws ServerException
DOObjectValidatorvalidate in interface DOObjectValidatorreader - - DOReader wrapping the objectServerExceptionprotected Validation doValidate(Context context, DOReader reader, Date asOfDateTime, List<String> contentModels) throws ServerException
ServerExceptionCopyright © 2013 DuraSpace. All Rights Reserved.