Validates that the content location recorded in the object store matches the actual location on the physical device. For non-federated content, this method also verifies that the content size is the same as when the content was created. See the
Namespace: FileNet.Api.Admin
Assembly: FileNet.Api (in filenet.api.dll)
validateContent(validations)
form of this method for a list of exception codes that may result from a failed validation attempt. Characteristics of
include:
- Validates documents and annotations.
- Cannot validate content in a database storage area.
- Only verifies that federated content exists (doesn't verify its size).
- Requires VIEW_CONTENT access to the
orDocument
object.Annotation - Throws an
after an unsuccessful validation. (The exception message contains enough information to manually restore the invalid content.)EngineRuntimeException
Namespace: FileNet.Api.Admin
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Sub ValidateContent( _ ByVal contentObject As IIndependentlyPersistableObject, _ ByVal contentElementIndex As Integer _ ) |
C# |
---|
public abstract void ValidateContent( IIndependentlyPersistableObject contentObject, int contentElementIndex ) |
C++ |
---|
public: void ValidateContent( IIndependentlyPersistableObject contentObject, int contentElementIndex ) abstract |
J# |
---|
public abstract void ValidateContent( IIndependentlyPersistableObject contentObject, int contentElementIndex ) |
JScript |
---|
public abstract
function ValidateContent( contentObject : IIndependentlyPersistableObject, contentElementIndex : int ) |