System.Object
CreateAction
Client Declaration
public class CreateAction
Represents a pending action for creating a new Content Engine object. For more information, see the Java™ API Create
class topic in the IBM® FileNet® P8 documentation.
The TargetSpecification
attribute of the ChangeRequest
element specifies the scope object in which the new object is to be created:
ObjectStore
, AddOn
, MarkingSet
and FixedContentDevice
objects, the scope object must
be the local P8 domain. ClassDefinition
objects, the scope object
must be the class definition for the superclass of the class definition
being created.If you are creating an object store, the ActionProperties
attribute of the ChangeRequest
element must contain a list
of administrative and general user security principals using ListOfString
elements named "Administrators" and GeneralUsers", respectively.
Attributes
Boolean
autoUniqueContainmentName
: [request] Optional expression
specifying whether the new object's containment name will be auto-generated
until a unique name is found. This attribute is valid only for ReferentialContainmentRelationship
and DynamicReferentialContainmentRelationship
objects; otherwise, it is ignored. String
classId
: [request] Required expression identifying the type of class to be instantiated. This attribute can be specified as either a symbolic name or a GUID.Boolean
defineSecurityParentage
: [request] Optional expression indicating whether the SecurityFolder
property of the object referenced by the ReferentialContainmentRelationship
object's Head
property is set to the Folder
object referenced by the ReferentialContainmentRelationship
object's Tail
property (in the same transaction). This attribute is valid for ReferentialContainmentRelationship
and DynamicReferentialContainmentRelationship
objects only; otherwise, it is ignored.ReservationType
reservationType
: [request] Optional expression specifying whether a
collaborative or exclusive reservation is to be created. This attribute is
valid only for versionable objects and only if the CreateAction
action
is not combined with the CheckinAction
action; otherwise,
it is ignored.Attributes Specific to .NET Clients
Boolean
autoUniqueContainmentNameSpecified
: Optional expression specifying whether autoUniqueContainmentName
has a value (true
) or not (false
). Boolean
defineSecurityParentageSpecified
: Optional expression specifying whether defineSecurityParentage
has a value (true
) or not (false
). Boolean
reservationTypeSpecified
: Optional expression specifying whether reservationType
has a value (true
) or not (false
).
CreateAction objCreate = new CreateAction(); objCreate.classId = "Folder";
<xsd:complexType name="CreateAction"> <xsd:complexContent> <xsd:extension base="ActionType"> <xsd:attribute name="classId" type="xsd:string" use="required"/> <xsd:attribute name="autoUniqueContainmentName" type="xsd:boolean"/> <xsd:attribute name="defineSecurityParentage" type="xsd:boolean"/> <xsd:attribute name="reservationType" type="ReservationType"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>