com.filenet.api.admin
Class ContentValidationRequest
- java.lang.Object
-
- com.filenet.api.admin.ContentValidationRequest
-
public class ContentValidationRequest extends java.lang.ObjectRepresents a data object to be used with the batch form ofStorageArea.validateContent.
-
-
Constructor Summary
Constructors Constructor and Description ContentValidationRequest(IndependentlyPersistableObject contentObject, int contentElementIndex)Creates a new instance of aContentValidationRequestobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetContentElementIndex()Returns the positional index of theDocumentorAnnotationobject's content element.IndependentlyPersistableObjectgetContentObject()Returns aDocumentorAnnotationobject that will be added to the validation request.
-
-
-
Constructor Detail
-
ContentValidationRequest
public ContentValidationRequest(IndependentlyPersistableObject contentObject, int contentElementIndex)
Creates a new instance of aContentValidationRequestobject.- Parameters:
contentObject- TheDocumentorAnnotationobject to add to the request.contentElementIndex- The zero-based index value of the content element to add to the request. A value of "0" will add the primary content element.
-
-
Method Detail
-
getContentObject
public IndependentlyPersistableObject getContentObject()
Returns aDocumentorAnnotationobject that will be added to the validation request.- Returns:
- An
IndependentlyPersistableObjectinstance representing the object to add to the request.
-
getContentElementIndex
public int getContentElementIndex()
Returns the positional index of theDocumentorAnnotationobject's content element.- Returns:
- The zero-based index value of the content element to add to the request.
-
-