DocumentActionContext MembersKentico 8.0 API Reference
The DocumentActionContext type exposes the following members.
Constructors

  NameDescription
Public methodDocumentActionContext
Back to Top
Methods

  NameDescription
Public methodCloneForNewThread
Clones the object for new thread
(Inherited from AbstractContext TContext .)
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .)
Public methodDisableAll
Disables logging for synchronization, event log, web farm tasks, versioning and cache dependencies Disables timestamp update Disables object invalidation Disables cache usage Disables asynchronous actions Disables sending of emails
(Inherited from ExtendedActionContext TContext .)
Public methodDisableLogging
Disables logging of event log, staging and export tasks
(Inherited from ExtendedActionContext TContext .)
Public methodDispose
Disposes the object
(Inherited from ExtendedActionContext TContext .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodRegisterColumn(String, Func ParentObjectType, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterProperties
Registers the properties of this object
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodRegisterProperty(String, Func ObjectType, Object )
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodRegisterProperty(String, Object, Func ObjectType, Object, Object )
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodRestoreOriginalValues
Restores the original values to the context
(Overrides AbstractActionContext TContext  RestoreOriginalValues .)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetProperty(String, Object )
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodTryGetProperty(String, Object , Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyActionContext
Action context
(Inherited from ExtendedActionContext TContext .)
Public propertyAllowAsyncActions
Indicates if the actions can run asynchronously. Default is true, if the application is web site, otherwise false.
(Inherited from ExtendedActionContext TContext .)
Public propertyAllowInitUser
Indicates if the current user should be initialized.
(Inherited from ExtendedActionContext TContext .)
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .)
Public propertyCreateSearchTask
Indicates if the search task should be created for the objects.
(Inherited from ExtendedActionContext TContext .)
Public propertyCreateVersion
Indicates if the object version should be created.
(Inherited from ExtendedActionContext TContext .)
Public propertyCulture
Current thread culture.
(Inherited from ExtendedActionContext TContext .)
Public propertyStatic memberCurrentEnableBlogPostTrackbacks
Indicates whether blog post trackbacks are enabled.
Public propertyStatic memberCurrentHandleACLs
Indicates whether the ACL settings should be processed during the document operations.
Public propertyStatic memberCurrentPreserveACLHierarchy
Indicates whether the ACL hierarchy should be preserved on processed documents.
Public propertyStatic memberCurrentResetChanges
Indicates whether the changes made to the document instance should reset.
Public propertyStatic memberCurrentResetIsWaitingForTranslationFlag
Indicates whether the 'Document is waiting for translation' flag should be cleared.
Public propertyStatic memberCurrentUseAutomaticOrdering
If true, automatic ordering is used for new nodes.
Public propertyDeletePhysicalFiles
Indicates whether a physical files should be deleted for attachments, meta files and media files.
(Inherited from ExtendedActionContext TContext .)
Public propertyDisconnected
Indicates if the objects within current context should behave as disconnected
(Inherited from ExtendedActionContext TContext .)
Public propertyEnableBlogPostTrackbacks
Indicates whether blog post trackbacks are enabled.
Public propertyEnableLogContext
Indicates whether logging through log context (LogContext) is currently enabled.
(Inherited from ExtendedActionContext TContext .)
Public propertyEnableSmartSearchIndexer
Indicates whether a search task should be executed when it is created.
(Inherited from ExtendedActionContext TContext .)
Public propertyHandleACLs
Indicates whether the ACL settings should be processed during the document operations.
Public propertyInvalidateObject
Indicates if the objects should be invalidated.
(Inherited from ExtendedActionContext TContext .)
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from RequestContainer TParent .)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObject ObjectType .)
Public propertyLogEvents
Indicates if the events should be logged.
(Inherited from ExtendedActionContext TContext .)
Public propertyLogExport
Indicates if the export tasks should be logged.
(Inherited from ExtendedActionContext TContext .)
Public propertyLogIntegration
Indicates if the integration tasks should be logged.
(Inherited from ExtendedActionContext TContext .)
Public propertyLogSynchronization
Indicates if the staging tasks should be logged.
(Inherited from ExtendedActionContext TContext .)
Public propertyLogWebFarmTasks
Indicates if the web farm tasks should be logged.
(Inherited from ExtendedActionContext TContext .)
Protected propertyOriginalData
Previous context data
(Inherited from AbstractActionContext TContext .)
Public propertyPreserveACLHierarchy
Indicates whether the ACL hierarchy should be preserved on processed documents.
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .)
Public propertyResetChanges
Indicates whether the changes made to the document instance should reset.
Public propertyResetIsWaitingForTranslationFlag
Indicates whether the 'Document is waiting for translation' flag should be cleared.
Public propertyRestoreOriginal
If true, the original values are restored in the context
(Inherited from AbstractActionContext TContext .)
Public propertySendEmails
Indicates if email should be sent.
(Inherited from ExtendedActionContext TContext .)
Public propertySendNotifications
Indicates if the notifications should be sent.
(Inherited from ExtendedActionContext TContext .)
Public propertyThreadGuid
Guid of the current CMSTread. Guid.Empty when execution is not running under CMSThread.
(Inherited from ExtendedActionContext TContext .)
Public propertyTouchCacheDependencies
Indicates if the objects cache dependencies should be touched.
(Inherited from ExtendedActionContext TContext .)
Public propertyTouchParent
Indicates if the objects within current context should touch parent object
(Inherited from ExtendedActionContext TContext .)
Public propertyUICulture
Current thread UI culture.
(Inherited from ExtendedActionContext TContext .)
Public propertyUpdateRating
Indicates whether a user activity points should be updated.
(Inherited from ExtendedActionContext TContext .)
Public propertyUpdateSystemFields
Indicates if the system fields should be updated.
(Inherited from ExtendedActionContext TContext .)
Public propertyUpdateTimeStamp
Indicates if the objects time stamps should be updated.
(Inherited from ExtendedActionContext TContext .)
Public propertyUpdateUserCounts
Indicates whether a user activity points should be updated.
(Inherited from ExtendedActionContext TContext .)
Public propertyUseAutomaticOrdering
If true, automatic ordering is used for new nodes.
Public propertyUseCache
Indicates if cache should be used for data operations.
(Inherited from ExtendedActionContext TContext .)
Public propertyUseGlobalAdminContext
Indicates if global admin context should be used.
(Inherited from ExtendedActionContext TContext .)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .)
Public propertyUser
User of the context.
(Inherited from ExtendedActionContext TContext .)
Back to Top
See Also