CMSObjectManager Class |
Namespace: CMS.FormEngine.Web.UI
public class CMSObjectManager : CMSAbstractManager<SimpleObjectManagerEventArgs, SimpleObjectManagerEventArgs>, ICMSObjectManager, IPostBackEventHandler
The CMSObjectManager type exposes the following members.
Name | Description | |
---|---|---|
CMSObjectManager |
Name | Description | |
---|---|---|
btnCommand |
Button for launching partial postback
| |
hdnComment |
Hidden field for comment argument.
| |
mInfoObject |
Object with which the manager is working.
| |
mVersionManager |
Object version manager instance.
|
Name | Description | |
---|---|---|
ActionComment |
Action comment (for CheckIn operation).
| |
ComponentName |
Component name
(Inherited from AbstractUserControl.) | |
CurrentDocument |
Current document
(Inherited from AbstractUserControl.) | |
CurrentPageInfo |
Current page info
(Inherited from AbstractUserControl.) | |
CurrentSite |
Current site
(Inherited from AbstractUserControl.) | |
CurrentUser |
Current user
(Inherited from AbstractUserControl.) | |
DataConsistent |
Indicates if the data is consistent.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
DocumentManager |
Document manager control
(Inherited from AbstractUserControl.) | |
HeaderActions |
Header actions control
(Inherited from AbstractUserControl.) | |
HiddenComment |
Hidden comment field.
| |
CheckPermissions |
Indicates if document permissions should be checked.
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
InfoObject |
Returns object with which the manager is working. It return the object based on ObjectType nd ObjectID properties, if these properties are not present, checks if the EditedObject is present.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from AbstractUserControl.) | |
KeepNewObjectsCheckedOut |
Returns true if CMSUseObjectCheckinCheckout and CMSKeepNewCheckedOut are true.
| |
MessagesPlaceHolder |
Placeholder for messages
(Inherited from AbstractUserControl.) | |
Mode |
Manager mode (Update, Insert, New culture version)
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
ObjectID |
ID of the object. Taken into account only if EditedObject is null.
| |
ObjectType |
Object type of the object. Taken into account only if EditedObject is null.
| |
RegisterEvents |
Indicates if manager should register for common events (save etc.).
| |
RenderScript |
Indicates if java script functions for object 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.) | |
ShortID |
Short ID of the control.
(Inherited from AbstractUserControl.) | |
ShowPanel |
Indicates if the object locking panel should be showed.
| |
StopProcessing |
Indicates if the control should perform the operations.
(Inherited from AbstractUserControl.) | |
UIContext |
Control's UI Context
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.) | |
VersionManager |
Object version 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.) | |
btnCommand_Click |
Button click event
| |
ClearProperties |
Clears security result.
(Overrides CMSAbstractManagerEventArgsType, SimpleEventArgsTypeClearProperties.) | |
CreateChildControls |
CreateChildControls event handler.
(Overrides ControlCreateChildControls.) | |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
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.) | |
GetCurrent |
Gets the current instance of the object manager
| |
GetDefaultCheckPermissionsError |
Gets the default error message for check permission error
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
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
| |
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
| |
GetUndoCheckOutConfirmation |
Gets the undo check out confirmation message for the specified info.
Takes info versioning support into account.
| |
CheckDefaultConsistency |
Checks the default consistency for the editing context.
(Overrides CMSAbstractManagerEventArgsType, SimpleEventArgsTypeCheckDefaultConsistency(SimpleEventArgsType).) | |
CheckDefaultSecurity |
Checks the default security for the editing context
(Inherited from CMSAbstractManagerEventArgsType, SimpleEventArgsType.) | |
CheckInAndSaveObject(String) |
Checks the object in and saves it.
| |
CheckInAndSaveObject(String, BaseInfo) |
Checks the object in and saves it.
| |
CheckInObject(String) |
Checks the object in.
| |
CheckInObject(String, BaseInfo) |
Checks the object in.
| |
CheckOutNewObject |
Finds current object manager and uses it to checkout current object.
| |
CheckOutObject |
Checks the object out.
| |
CheckOutObject(BaseInfo) |
Checks the object out.
| |
IsActionAllowed |
Checks if given action is allowed.
| |
IsObjectChecked |
Returns true if object is checked out or use checkin/out is not used
| |
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
(Overrides AbstractUserControlOnInit(EventArgs).) | |
OnLoad |
OnLoad event
(Overrides AbstractUserControlOnLoad(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Inherited from AbstractUserControl.) | |
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.) | |
Render |
Render action.
(Overrides AbstractUserControlRender(HtmlTextWriter).) | |
RenderScripts |
Renders scripts
| |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
SaveObject |
Saves the object.
| |
SaveObject(SimpleObjectManagerEventArgs) |
Saves the object.
| |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
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.) | |
UndoCheckOutObject |
Cancels the object checkout.
| |
UndoCheckOutObject(BaseInfo) |
Cancels the object checkout.
|
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.) |