com.filenet.api.admin
Class ContentValidationRequest

java.lang.Object
  extended by com.filenet.api.admin.ContentValidationRequest

public class ContentValidationRequest
extends java.lang.Object

Represents a data object to be used with the batch form of StorageArea.validateContent.


Constructor Summary
ContentValidationRequest(IndependentlyPersistableObject contentObject, int contentElementIndex)
          Creates a new instance of a ContentValidationRequest object.
 
Method Summary
 int getContentElementIndex()
          Returns the positional index of the Document or Annotation object's content element.
 IndependentlyPersistableObject getContentObject()
          Returns a Document or Annotation object that will be added to the validation request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentValidationRequest

public ContentValidationRequest(IndependentlyPersistableObject contentObject,
                                int contentElementIndex)
Creates a new instance of a ContentValidationRequest object.

Parameters:
contentObject - The Document or Annotation object 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 a Document or Annotation object that will be added to the validation request.

Returns:
An IndependentlyPersistableObject instance representing the object to add to the request.

getContentElementIndex

public int getContentElementIndex()
Returns the positional index of the Document or Annotation object's content element.

Returns:
The zero-based index value of the content element to add to the request.


© Copyright IBM Corporation 2006, 2009. All rights reserved.