com.crystaldecisions.sdk.occa.infostore
Class CommitMode

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.infostore.CommitMode

public class CommitMode
extends java.lang.Object

This class provides a type-safe enumeration of the supported commit modes.


Field Summary
static CommitMode LENIENT
          Lenient commit is useful when you are committing large batches of objects and you are relating objects across batches.
static CommitMode STRICT
          In strict mode you cannot relate objects in IInfoStore commit.
 
Method Summary
 int toInteger()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRICT

public static final CommitMode STRICT
In strict mode you cannot relate objects in IInfoStore commit.
If don't find the referenced object in the current batch it is an error.


LENIENT

public static final CommitMode LENIENT
Lenient commit is useful when you are committing large batches of objects and you are relating objects across batches.
In lenient mode CMS link up objects that relate to each other as they come in,
but if they never come there is the possibility that the object will not have it's relationship edges committed.
The rest of the object will be committed but just not the property bag containing the missing reference.
At the end of the lenient commit you will get a number of warnings telling you which property bags didn't get committed because of which missing object ids.

Method Detail

toInteger

public int toInteger()