Creates a new instance of a
pending action object initialized with the specified parameters.
Namespace: FileNet.Api.Action
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New( _ ByVal classId As String, _ ByVal objectId As String, _ ByVal autoUniqueContainmentName As Nullable(Of Boolean), _ ByVal reservationType As ReservationType, _ ByVal defineSecurityParentage As Nullable(Of Boolean), _ ByVal versionSeriesId As String _ ) |
C# |
---|
public Create( string classId, string objectId, Nullable<bool> autoUniqueContainmentName, ReservationType reservationType, Nullable<bool> defineSecurityParentage, string versionSeriesId ) |
C++ |
---|
public: Create( String classId, String objectId, Nullable<bool> autoUniqueContainmentName, ReservationType reservationType, Nullable<bool> defineSecurityParentage, String versionSeriesId ) sealed |
J# |
---|
public Create( string classId, string objectId, Nullable<bool> autoUniqueContainmentName, ReservationType reservationType, Nullable<bool> defineSecurityParentage, string versionSeriesId ) |
JScript |
---|
public function Create( classId : String, objectId : String, autoUniqueContainmentName : Nullable<bool>, reservationType : ReservationType, defineSecurityParentage : Nullable<bool>, versionSeriesId : String ) |
Parameters
- classId
- A
containing the identifier (GUID) or symbolic name of the class of object to be created.String
- objectId
- A
containing the identifier (GUID) of object to be created. If an ID is not specified, one is automatically generated.String
- autoUniqueContainmentName
if a unique containment name can be automatically generated for the new object; otherwise,True
. This parameter only applies toFalse
andReferentialContainmentRelationship
objects.DynamicReferentialContainmentRelationship
- reservationType
- Specifies the reservation type (collaborative, exclusive, or extracted from the object store). This parameter only applies to versionable objects. Specifying
causes the reservation type to be set to the value of the object store’sNull
property. This parameter is ignored if theDefaultReservationType
action is combined with aCreate
action.Checkin
- defineSecurityParentage
- Specifies whether the
property of the object pointed to by theSecurityParent
object'sReferentialContainmentRelationship
property is set to theHead
object (in the same transaction). This parameter is ignored for create actions on all underlying objects exceptReferentialContainmentRelationship
andReferentialContainmentRelationship
.DynamicReferentialContainmentRelationship
- versionSeriesId
- Specifies the version series ID for the underlying object. This parameter only applies to versionable objects.