The IObjectStore type exposes the following members.
Methods
Type | Name | Description |
---|---|---|
![]() | AddPendingAction |
Adds the specified pending action to this object's PendingActions
collection.
(Inherited from IIndependentlyPersistableObject.)![]() |
![]() | ClearPendingActions |
Clears out the list of pending actions for this object. For example, if you
called Delete() without subsequently calling Save,
then called ClearPendingActions(), the Delete pending action
would no longer be in the object's pending actions list. This effectively
cancels changes not yet saved.
(Inherited from IIndependentlyPersistableObject.) |
![]() | Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) |
![]() | CreateObject | Overloaded. |
![]() | Delete |
Adds a Delete pending
action to this object's PendingActions collection. You must subsequently
commit the change to the repository. (See
PendingAction for
more information about pending actions.)
(Inherited from IIndependentlyPersistableObject.)For IVersionSeries, all document versions are deleted. For ICmRecoveryItem, this method deletes the item contained within the ICmRecoveryBin object. It also deletes all recoverable objects represented by the ICmRecoveryItem object. |
![]() | DeterminePrerequisiteAddOnIds |
Returns the feature addon IDs for which installation is required prior to the installation
of the addon specified by addOnId. If the addon identified by addOnId has been superseded,
the results are based on the superseding addon prerequisites.
|
![]() | FetchAndLockObject | Overloaded. |
![]() | FetchObject | Overloaded. |
![]() | FetchProperties | Overloaded. |
![]() | FetchProperty | Overloaded. |
![]() | GetAccessAllowed |
Returns a value representing a bit mask of access rights granted to the user
requesting this object.
(Inherited from IIndependentlyPersistableObject.) |
![]() | GetClassName |
Returns the name of the class from which this object is instantiated.
(Inherited from IEngineObject.) |
![]() | GetConnection |
Returns a Connection object that represents a logical connection to the
FileNet P8 domain.
The returned Connection object is used as input to methods such as
factory instantiation methods.
(Inherited from IEngineObject.) |
![]() | GetObject | Overloaded. |
![]() | GetObjectReference |
Returns an object reference that represents the object's identity.
(Inherited from IIndependentObject.)The ID of an independent object is the class name and ID of the object. The ID can be a path, GUID, or name of the object. |
![]() | GetPendingActions |
Returns the pending actions for this object.
(Inherited from IIndependentlyPersistableObject.) |
![]() | GetSuperClasses |
Returns a String array specifying the names of the superclasses of the
class from which this object is instantiated.
(Inherited from IEngineObject.) |
![]() | GetUpdateSequenceNumber |
Returns the update sequence number (USN) for this object.
(Inherited from IIndependentlyPersistableObject.)You can use the returned value to determine if the object has been modified since some earlier fetch of the same object. An IndependentlyPersistableObject has an update sequence number (USN), which is an Integer value on the object that protects it against concurrent updates. The USN value increases monotonically with each update to the object. When you update the object, the USN from the retrieved object is checked against the currently persisted USN value. If the values are different, the operation fails. As a special case, a USN value of Null causes the server-side check to be skipped during updates (this is sometimes called "unprotected update"). An IndependentlyPersistableObject instantiated by calling one of the GetInstance methods on a Factory class (such as Factory.CustomObject.GetInstance) does not fetch the object from the server, and therefore, is unaware of the persisted USN. Calling GetUpdateSequence on such an object returns Null. |
![]() | InstallAddOn |
Installs an add-on, available on a domain, to the current object store. When an add-on is installed, the pre-import
script (if one exists) is run. Then the import data is imported into the object store, creating new metadata classes,
properties, and data objects. Finally, the post-import script is run.
This method results in one of the following outcomes:
|
![]() | IsAddOnInstalled |
Returns a Boolean value indicating whether the feature addon identified by addOnId is installed (True)
or not (False) in the object store. If the addon identified by addOnId has been superseded and
the superseded addon is currently installed, a value of True is returned.
|
![]() | IsCurrent |
Returns a value indicating whether or not the state of this object is consistent
with its state in the repository.
(Inherited from IIndependentlyPersistableObject.)When one or more of the object's properties are "dirty" (have been marked as changed since the last time they were saved), IsCurrent returns False. You can then do one of the following:
|
![]() | Refresh | Overloaded. |
![]() | Save | Overloaded. |
![]() | SetUpdateSequenceNumber |
Sets the update sequence number (USN) for this object. You can cause update
sequence checking to be skipped for this object by setting
the USN value to Null.
(Inherited from IIndependentlyPersistableObject.) |