Class CMSBank
Provides CMS backend access services. This class is injected via PortalHub.Instance.CMSBank
Inheritance
System.Object
Service<System.Object>
ServiceWithInstrumentationBase<System.Object>
CMSBank
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Wave.CMS
Assembly: NFX.Wave.dll
Syntax
public class CMSBank : ServiceWithInstrumentationBase<object>, IApplicationComponent, IService, INamed, ILocalizedTimeProvider, ICMSBankImplementation, ICMSBank, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
CMSBank()
Declaration
public CMSBank()
Fields
REFRESH_VERSION_INTERVAL_SEC
Declaration
public const int REFRESH_VERSION_INTERVAL_SEC = 300
Field Value
| Type | Description |
|---|---|
| System.Int32 |
VERSION_HISTORY_LENGTH
Declaration
public const int VERSION_HISTORY_LENGTH = 8
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
ContentFileSystem
Returns file system that serves static content for portals
Declaration
public IFileSystem ContentFileSystem { get; }
Property Value
| Type | Description |
|---|---|
| IFileSystem |
ContentFileSystemConnectParams
Declaration
public FileSystemSessionConnectParams ContentFileSystemConnectParams { get; }
Property Value
| Type | Description |
|---|---|
| FileSystemSessionConnectParams |
ContentFileSystemRootPath
Returns root path for the content file system
Declaration
public string ContentFileSystemRootPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
InstrumentationEnabled
Declaration
[Config(Default = false)]
[ExternalParameter(new string[]{"log", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
NFX.ServiceModel.ServiceWithInstrumentationBase<System.Object>.InstrumentationEnabled
LatestVersion
Declaration
public IFileSystemVersion LatestVersion { get; }
Property Value
| Type | Description |
|---|---|
| IFileSystemVersion |
Versions
Declaration
public IEnumerable<IFileSystemVersion> Versions { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<IFileSystemVersion> |
Methods
Destructor()
Declaration
protected override void Destructor()
Overrides
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| IConfigSectionNode | node |
Overrides
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
GetContext(Portal, IFileSystemVersion)
Declaration
public ICMSContext GetContext(Portal portal, IFileSystemVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| Portal | portal | |
| IFileSystemVersion | version |
Returns
| Type | Description |
|---|---|
| ICMSContext |
GetVersionByID(Int32)
Declaration
public IFileSystemVersion GetVersionByID(int verID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | verID |
Returns
| Type | Description |
|---|---|
| IFileSystemVersion |
Implements
System.IDisposable