Static Public Member Functions | |
_.Library.Status | CreateSourceControl (_.Studio.SourceControl.Base pSourceControl, _.Library.Boolean pCreated, _.Library.String pUsername, _.ZEN.proxyObject pUserData) |
Create an instance of a Source Control object. | |
_.Library.String | GetCurrentProject (_.Library.Boolean pLoaded) |
Helper method to retrieve the current project for the CSP session,. More... | |
GetFullProjectName (_.Library.String pProjectName) | |
Return a project's full name, including a ".PRJ" extension. | |
_.Library.String | GetSourceControlClass () |
Return the source control class which is to be used in the current namespace. More... | |
_.Library.Boolean | IsEnabled (_.Library.String pNamespace) |
Determine whether source control is enabled for the Management. More... | |
_.Library.Boolean | IsProjectRequired () |
Helper method to indicate whether the source control hooks in the current. More... | |
SetCurrentProject (_.Library.String pProjectName, _.Library.Boolean pLoaded) | |
Helper method to save the name of the current project and whether its. More... | |
_.Library.Status | SetProjectRequired (_.Library.Boolean pNewValue, _.Library.Boolean pOldValue) |
Enable or disable the flag indicating whether the source control class. More... | |
Static Private Member Functions | |
_.Library.Status | __LoadClassDefinition (_.Library.String pClassname, _.Dictionary.ClassDefinition pDefinition, _.Library.Boolean pReadOnly, _.Library.Boolean pExclusiveOnly) |
Helper method to load a class definition from disk. | |
|
static |
Helper method to retrieve the current project for the CSP session,.
along with a flag to indicate whether the OnBeforeLoad() and OnAfterLoad() source control hooks have been executed for the project.
|
static |
Return the source control class which is to be used in the current namespace.
If source control hooks are not enabled, an empty string is returned.
|
static |
Determine whether source control is enabled for the Management.
Portal in the specified namespace. The default is to return the flag for the current namespace.
|
static |
Helper method to indicate whether the source control hooks in the current.
production-enabled namespace need a project defined.
|
static |
Helper method to save the name of the current project and whether its.
OnBeforeLoad() and OnAfterLoad() callbacks have been executed. The data is saved in the current CSP session data, so will be cleaned up when the user logs out.
|
static |
Enable or disable the flag indicating whether the source control class.
used in the current namespace requires a specific project to be selected for the source control hooks to operate correctly.