Performs a batch of content validation requests, where the characteristics of the validation process include:
Namespace: FileNet.Api.Admin
Assembly: FileNet.Api (in filenet.api.dll)
- Validates documents and annotations.
- Cannot validate content in a database storage area.
- Only verifies that federated content exists (doesn't verify its size).
- Requires
access to theVIEW_CONTENT
orDocument
object.Annotation
There isn't a limit on the number of content validation requests that can be performed in a single operation. However, all validations must complete within the time limit of a single request to the server. Therefore, if too many validations are requested, a request timeout exception is likely to occur.
Namespace: FileNet.Api.Admin
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Function ValidateContent( _ ByVal validations As ContentValidationRequest() _ ) As EngineRuntimeException() |
C# |
---|
public abstract EngineRuntimeException[] ValidateContent( ContentValidationRequest[] validations ) |
C++ |
---|
public: array<EngineRuntimeException>^ ValidateContent( array<ContentValidationRequest>^ validations ) abstract |
J# |
---|
public abstract EngineRuntimeException[] ValidateContent( ContentValidationRequest[] validations ) |
JScript |
---|
public abstract
function ValidateContent( validations : ContentValidationRequest[] ) : EngineRuntimeException[] |
Parameters
- validations
- An array of
objects.ContentValidationRequest
Return Value
An array of
objects.
Exceptions
Exception Type | Condition |
---|---|
EngineRuntimeException | thrown after an unsuccessful validation. (The exception message contains enough information to manually restore the invalid content.). |
CONTENT_CA_VALIDATION_FAILED_NOT_FOUND | thrown when the storage area cannot be found, or the content does not exist, or is inaccessible in the storage area. |
CONTENT_CA_VALIDATION_FAILED_PENDING_FINALIZATION | thrown when the content is in the process of being moved to a final storage area location. It might succeed if tried again at a later time. |
CONTENT_CA_VALIDATION_FAILED_SIZE | thrown if the recorded size does not match the actual size in the storage area. |
CONTENT_GC_CANNOT_FIND_INDEX_NUMBER | thrown when the position argument is incorrect. |
E_ACCESS_DENIED | thrown if the permissions are insufficient to access the file. |
E_OBJECT_NOT_FOUND | thrown if the document was not found. |