Persistate API documentation
StandardOperations Class
NamespacesPersistateStandardOperations

[This is preliminary documentation and is subject to change.]

This static class contains the core functionality for all standard operations defined for the Persistent object.
Declaration Syntax
C#
public class StandardOperations
Members
All MembersConstructorsMethods



IconMemberDescription
StandardOperations()()()()
Initializes a new instance of the StandardOperations class

AbovePresence(Session, Persistent, IPersistateList)
Determines whether the Above operation should be enabled and/or visible.

AddPresence(Session, Persistent, IPersistateList)
Determines whether the Add operation should be enabled and/or visible.

AddTabPresence(Session, Persistent, IPersistateList)
Determines whether the AddTab operation should be enabled and/or visible.

ApplyStylePresence(Session, Persistent, IPersistateList)
Determines whether the Apply style operation should be enabled and/or visible for a particular potential target Persistent.

BackPresence(Session, Persistent, IPersistateList)
Determines whether the Back operation should be enabled and/or visible.

BelowPresence(Session, Persistent, IPersistateList)
Determines whether the Below operation should be enabled and/or visible.

DeletePresence(Session, Persistent, IPersistateList)
Determines whether the Delete operation should be enabled and/or visible.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteAbove(Execution)
Handles the core functionality for the Above operation.

ExecuteAdd(Execution)
Handles the core functionality for the Add operation.

ExecuteAddTab(Execution)
Handles the core functionality for the AddTab operation.

ExecuteApplyStyle(Execution)
Executes the Apply style operation in the View group.

ExecuteBack(Execution)
Handles the core functionality for the Back operation.

ExecuteBelow(Execution)
Handles the core functionality for the Below operation.

ExecuteDelete(Execution)
Handles the core functionality for Delete operation.

ExecuteExit(Execution)
Handles the core functionality for the Exit standard operation.

ExecuteForward(Execution)
Handles the core functionality for the Forward operation.

ExecuteInsert(Execution)
Inserts a new or selected object to a contained or associated collection

ExecuteLogin(Execution, Credentials)
Handles the core functionality for the Login operation.

ExecuteMaintainWorkspaces(Execution)
Handles the core functionality for the MaintainWorkspaces operation.

ExecuteMoveDown(Execution)
Handles the core functionality for the MoveDown operation.

ExecuteMoveUp(Execution)
Handles the core functionality for the MoveUp operation.

ExecuteNew(Execution)
Handles the core functionality for the New operation.

ExecuteParent(Execution)
Handles the core functionality for the Parent operation.

ExecuteRefresh(Execution)
Handles the core functionality for the Refresh operation.

ExecuteRefreshAll(Execution)
Handles the core functionality for the RefreshAll operation.

ExecuteRemove(Execution)
Handles the core functionality for the Remove operation.

ExecuteRestoreWorkspace(Execution)
Handles the core functionality for the RestoreWorkspace operation.

ExecuteRevert(Execution)
Fill method to perform Revert. This should never be called.

ExecuteSave(Execution)
Fill method to perform save. This should never be called.

ExecuteSaveWorkspace(Execution)
Handles the core functionality for the SaveWorkspace operation.

ExecuteSelectContainer(Execution)
Handles the core functionality for the SelectContainer operation.

ExecuteShow(Execution, array<Object>[]()[][])
Handles the core functionality for the Show operation.

ExecuteToLeft(Execution)
Handles the core functionality for the ToLeft operation.

ExecuteToRight(Execution)
Handles the core functionality for the ToRight operation.

ExitPresence(Session, Persistent, IPersistateList)
Determines whether the Exit operation should be enabled and/or visible.

Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
ForwardPresence(Session, Persistent, IPersistateList)
Determines whether the Forward operation should be enabled and/or visible.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InsertPresence(Session, Persistent, IPersistateList)
Determines whether the Insert operation should be enabled and/or visible.

LoginPresence(Session, Persistent, IPersistateList)
Determines whether the Login operation should be enabled and/or visible.

MaintainWorkspacesPresence(Session, Persistent, IPersistateList)
Determines whether the MaintainWorkspaces operation should be enabled and/or visible.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoveDownPresence(Session, Persistent, IPersistateList)
Determines whether the MoveDown operation should be enabled and/or visible.

MoveUpPresence(Session, Persistent, IPersistateList)
Determines whether the MoveUp operation should be enabled and/or visible.

NewPresence(Session, Persistent, IPersistateList)
Determines whether the New operation should be enabled and/or visible.

ParentPresence(Session, Persistent, IPersistateList)
Determines whether the Parent operation should be enabled and/or visible.

RefreshAllPresence(Session, Persistent, IPersistateList)
Determines whether the RefreshAll operation should be enabled and/or visible.

RefreshPresence(Session, Persistent, IPersistateList)
Determines whether the Refresh operation should be enabled and/or visible.

RemovePresence(Session, Persistent, IPersistateList)
Determines whether the Remove operation should be enabled and/or visible.

RestoreWorkspacePresence(Session, Persistent, IPersistateList)
Determines whether the RestoreWorkspace operation should be enabled and/or visible.

RevertPresence(Session, Persistent, IPersistateList)
Determines whether the Revert operation should be enabled and/or visible.

SavePresence(Session, Persistent, IPersistateList)
Determines whether the Save operation should be enabled and/or visible.

SaveWorkspacePresence(Session, Persistent, IPersistateList)
Determines whether the SaveWorkspace operation should be enabled and/or visible.

SelectContainerPresence(Session, Persistent, IPersistateList)
Determines whether the SelectContainer operation should be enabled and/or visible.

SelectToAdd(Execution, List<(Of <<'(Persistent>)>>)%)
Asks the user to select one or more objects to add to an associated collection.

ShowPresence(Session, Persistent, IPersistateList)
Determines whether the Show operation should be enabled and/or visible.

ToLeftPresence(Session, Persistent, IPersistateList)
Determines whether the ToLeft operation should be enabled and/or visible.

ToRightPresence(Session, Persistent, IPersistateList)
Determines whether the ToRight operation should be enabled and/or visible.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

When you generate an application, Persistate will create classes in both your controller module and user interface module for all the standard OperationGroups which are those belonging to the Persistent class. These classes are called FileOperations, ObjectOperations, CollectionOperations, AddPaneOperations and WorkspaceOperations. The user interface class will contain the [opName]Presence methods, and the Execute[opName] methods will be in either the controller class or in the user interface class if they are defined as user interface operations.

By default, the generated methods will simply call the method of the same name in this class. You are then free to alter the functioning of these operations as required. It is important to remember though, that if your code is running in a Persistate Viewer, the operations in the Collection OperationGroup are the only way to add and remove objects from collections, though you can still modify objects by changing property values.

Inheritance Hierarchy
Object
StandardOperations

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)