CMSDocumentManager Class |
Namespace: CMS.FormEngine.Web.UI
public class CMSDocumentManager : CMSAbstractManager<DocumentManagerEventArgs, SimpleDocumentManagerEventArgs>, IPostBackEventHandler, ICMSDocumentManager
The CMSDocumentManager type exposes the following members.
Name | Description | |
---|---|---|
CMSDocumentManager |
Constructor.
|
Name | Description | |
---|---|---|
hdnAnother |
Hidden field for save action argument
| |
hdnArgs |
Hidden field for post back arguments
| |
hdnClose |
Hidden field for save & close action argument
| |
hdnComment |
Hidden field for comment argument
| |
hdnContentChanged |
Hidden field for content changed flag
| |
hdnCurrStep |
Hidden field for current step argument
| |
hdnSaveChanges |
Hidden field for save changes flag
| |
plcMess |
Messages placeholder
| |
pnlDocumentInfo |
Document info panel
|
Name | Description | |
---|---|---|
ActionComment |
Action comment
| |
AllowSave |
Indicates if Save action is allowed.
| |
AutoCheck |
Indicates if check-in/check-out functionality is automatic.
| |
CloseDialog |
Indicates whether dialog should be closed after action
| |
ComponentName |
Component name
(Overrides AbstractUserControlComponentName.) | |
ConfirmChanges |
Indicates if confirm dialog should be displayed if any change to the document was made
| |
CreateAnother |
Indicates if another document should be created after newly created.
| |
CultureCode |
Culture code of document
| |
CurrentDocument |
Currently edited document
| |
CurrentPageInfo |
Current page info
(Inherited from AbstractUserControl.) | |
CurrentSite |
Current site
(Inherited from AbstractUserControl.) | |
CurrentStepArg |
Hidden current step flag
| |
CurrentStepID |
Current step ID
| |
CurrentUser |
Current user
(Inherited from AbstractUserControl.) | |
DataConsistent |
Indicates if the data is consistent.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
DocumentID |
Document ID. Has higher priority than Node ID. Identifies edited document.
| |
DocumentInfo |
Document information text.
| |
DocumentInfoLabel |
Document information label.
| |
DocumentManager |
Document manager control
(Inherited from AbstractUserControl.) | |
DocumentPanel |
Document info panel
| |
EditedDocument |
Document edited by the current page. If set to NULL, redirects to the information page with information that document has been deleted.
| |
GroupID |
Community group ID
| |
HandleWorkflow |
Indicates if workflow actions should be displayed and handled
| |
HeaderActions |
Header actions control
(Inherited from AbstractUserControl.) | |
HiddenAnotherFlag |
Hidden save another flag
| |
HiddenArguments |
Hidden argument
| |
HiddenCloseFlag |
Hidden close flag
| |
HiddenComment |
Hidden comment field
| |
HiddenContentChanged |
Hidden content changed flag
| |
HiddenSaveChanges |
Hidden save changes flag
| |
CheckPermissions |
Indicates if document permissions should be checked.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
InvariantNode |
Returns current document in any culture.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from AbstractUserControl.) | |
LoadDefaultValues |
Indicates if default values should be loaded when new document or language version is being created.
| |
LocalDocumentPanel |
Local document info panel
| |
LocalMessagesPlaceHolder |
Local messages placeholder
| |
MessagesPlaceHolder |
Messages placeholder
(Overrides AbstractUserControlMessagesPlaceHolder.) | |
Mode |
Manager mode (Update, Insert, New culture version)
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
NewNodeClass |
Node class of the document type of new document.
| |
NewNodeClassID |
Class ID of the document type of new document.
| |
NewNodeClassName |
Class name of the document type of new document.
| |
NewNodeCultureCode |
Node culture of new document.
| |
NextSteps |
Next steps
| |
Node |
Returns currently edited document if it is available in the given context.
| |
NodeID |
Node ID. Together with DocumentCulture property identifies edited document.
| |
ParentNode |
Returns parent node for new document insertion.
| |
ParentNodeID |
Parent node ID. Indicates parent node for document insertion.
| |
ProcessingAction |
Indicates if workflow action is being processed
| |
RedirectForNonExistingDocument |
Indicates if the UI should be redirected if document not found.
| |
RefreshActionContent |
Indicates if content should be refreshed (action is being processed)
| |
RegisterEvents |
Indicates if manager should register for common events (save etc.).
| |
RegisterSaveChangesScript |
Indicates if the support script for save changes should be registered.
| |
RenderScript |
Indicates if java script functions for document management should be rendered.
| |
ResourceCulture |
Resource strings culture
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
ResourcePrefix |
Prefix for the resource strings which are used for the localization by the control and its child controls.
(Inherited from AbstractUserControl.) | |
ResourcePrefixes |
List of cached resource prefixes for the parent hierarchy
(Inherited from AbstractUserControl.) | |
SaveChanges |
Returns true if the changes should be saved.
| |
SetRedirectPageFlag |
Indicates whether the page should be redirected to the current page which is being edited.
| |
SetRefreshFlag |
Indicates whether reload page property should be automatically added to the page for reload page functionality
| |
ShortID |
Short ID of the control.
(Inherited from AbstractUserControl.) | |
SiteID |
Gets site ID of the newly created document.
| |
SiteName |
Site name of the newly created document.
| |
SourceDocumentID |
Document ID of document language version, which should be used as a source data for new culture version.
| |
SourceNode |
Source document for new language version
| |
Step |
Document workflow step.
| |
StopProcessing |
Indicates if the control should perform the operations.
(Inherited from AbstractUserControl.) | |
Tree |
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
| |
UIContext |
Control's UI Context
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
UseDocumentHelper |
Indicates if DocumentHelper should be used to manage the document (Use FALSE if modifying non-versioned properties.)
| |
UseFullFormSaveChanges |
Indicates whether changes should be tracked for whole form or just for parts defined by data-tracksavechanges attribute.
| |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.) | |
VersionManager |
Version manager instance.
| |
Workflow |
Document workflow.
| |
WorkflowManager |
Gets Workflow manager instance.
|
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddError |
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddHeaderAction |
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.) | |
AddInformation |
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddMessage |
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddText |
Adds additional text
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
AddWarning |
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.) | |
ApproveDocument |
Approves document.
| |
ArchiveDocument |
Archives document
| |
ClearContentChanged |
Clears content changed flag
| |
ClearNode |
Clears current node.
| |
ClearProperties |
Clears properties
(Overrides CMSAbstractManagerEventArgsType, SimpleEventArgsTypeClearProperties.) | |
CreateChildControls |
CreateChildControls event handler.
(Overrides ControlCreateChildControls.) | |
CreateNewVersion |
Creates new document version. (Moves document to edit step.)
| |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
EnsureDocumentsConsistency |
Ensures documents consistency (Automatic blog post hierarchy etc.)
| |
Eval(String) |
Evaluates the given value
(Inherited from AbstractUserControl.) | |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.) | |
EvalBool |
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.) | |
EvalDateTime |
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.) | |
EvalDouble |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalGuid |
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.) | |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.) | |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.) | |
EvalInteger |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.) | |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
GetAllowSubmitScript |
Gets allow submit script for save changes support
| |
GetDefaultCheckPermissionsError |
Gets the default error message for check permission error
(Overrides CMSAbstractManagerEventArgsType, SimpleEventArgsTypeGetDefaultCheckPermissionsError(SimpleEventArgsType).) | |
GetDocumentInfo |
Gets default document information text
| |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.) | |
GetImagePath |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetImageUrl |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetJSFunction |
Gets java-script function
| |
GetJSSaveFunction |
Gets java-script function for save action
| |
GetSaveAndCloseScript |
Gets script for save & close action
| |
GetSaveAnotherScript |
Gets script for save another action
| |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.) | |
GetSubmitScript |
Gets submit script for save changes support
| |
HasLocalMessagesPlaceHolder |
Indicates if local messages placeholder is used
| |
CheckDefaultConsistency |
Checks the default consistency for the editing context
(Overrides CMSAbstractManagerEventArgsType, SimpleEventArgsTypeCheckDefaultConsistency(SimpleEventArgsType).) | |
CheckDefaultSecurity |
Checks the default security for the editing context
(Overrides CMSAbstractManagerEventArgsType, SimpleEventArgsTypeCheckDefaultSecurity(SimpleEventArgsType).) | |
CheckInDocument |
Checks-in document
| |
CheckOutDocument |
Check-outs document
| |
IsActionAllowed |
Checks if given action is allowed
| |
LoadUserControl |
Loads the user control based on the given path
(Inherited from AbstractUserControl.) | |
LogAndShowError |
Logs the exception and
(Inherited from AbstractUserControl.) | |
OnInit |
Init event handler.
(Inherited from AbstractUserControl.) | |
OnLoad |
Load event
(Overrides AbstractUserControlOnLoad(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Overrides AbstractUserControlOnPreRender(EventArgs).) | |
ProcessAdditionalActions |
Processes additional document actions (task logging, search index task creation...). Substitutes the actions from DocumentHelper if not used.
| |
PublishDocument |
Publishes document
| |
RaiseAfterAction |
Raises event after action
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaiseBeforeAction |
Raises event before action
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaiseCheckConsistency |
Raises event to check consistency
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaiseCheckPermissions |
Raises event to check permissions
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaiseLoadData |
Raises event to load data
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaisePostBackEvent |
Raises the post back event.
| |
RaiseSaveData |
Raises event to get data to save
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaiseSaveFailed |
Raises event when saving data fails
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RaiseValidateData |
Raises event to validate data
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
RegisterRefreshScript |
Sets the reload page attributes
| |
RejectDocument(String) |
Rejects document
| |
RejectDocument(Int32, String) |
Rejects document
| |
Render |
Render action.
(Overrides AbstractUserControlRender(HtmlTextWriter).) | |
RenderScripts |
Renders scripts
| |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
SaveDocument |
Saves document.
| |
SaveDocument(String) |
Saves document. Content changed flag is cleared if document was saved.
| |
SaveDocumentInternal |
Saves document.
| |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
ShowDocumentInfo(Boolean) |
Shows default document information text
| |
ShowDocumentInfo(Boolean, String) |
Shows default document information text
| |
ShowError |
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowChangesSaved |
Shows the general changes saved message.
(Inherited from AbstractUserControl.) | |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
UndoCheckOutDocument |
Undoes check-out document
| |
UpdateDocument |
Updates the current document
| |
UpdateDocumentInternal |
Updates the current document
|
Name | Description | |
---|---|---|
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnAfterAction |
On after action event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnBeforeAction |
On before action event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnCheckConsistency |
On check consistency event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnCheckPermissions |
On check permissions event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnLoadData |
On load data event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnSaveData |
On save data event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnSaveFailed |
Occurs when saving data fails.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
OnValidateData |
On data validation event handler.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) |