Table of Contents

Class ModuleService

Namespace
Dynamicweb.Modules
Assembly
Dynamicweb.dll
public class ModuleService : ICacheStorage<int, Module>, ICacheStorage<int>, ICacheStorage
Inheritance
ModuleService
Implements
Inherited Members

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache

public void ClearCache()

ClearCache(IEnumerable<int>)

Resets the specified keys to the default value for objects stored in the object cache

public void ClearCache(IEnumerable<int> keys)

Parameters

keys IEnumerable<int>

Keys to reset

ClearCache(int)

Resets the specified key to the default value for objects stored in the object cache

public void ClearCache(int key)

Parameters

key int

Key to reset

Delete(int)

public void Delete(int id)

Parameters

id int

Get(int)

public Module Get(int id)

Parameters

id int

Returns

Module

GetBySystemName(string)

public Module GetBySystemName(string moduleSystemName)

Parameters

moduleSystemName string

Returns

Module

GetContentModules()

public IEnumerable<Module> GetContentModules()

Returns

IEnumerable<Module>

GetDisabledModules()

public IEnumerable<Module> GetDisabledModules()

Returns

IEnumerable<Module>

GetEnabledModules()

public IEnumerable<Module> GetEnabledModules()

Returns

IEnumerable<Module>

GetModules()

public IEnumerable<Module> GetModules()

Returns

IEnumerable<Module>

GetModulesBySystemNames(IEnumerable<string>)

public IEnumerable<Module> GetModulesBySystemNames(IEnumerable<string> moduleSystemNames)

Parameters

moduleSystemNames IEnumerable<string>

Returns

IEnumerable<Module>

GetNonHiddenModules()

public IEnumerable<Module> GetNonHiddenModules()

Returns

IEnumerable<Module>

GetSearchModules()

public IEnumerable<Module> GetSearchModules()

Returns

IEnumerable<Module>

Save(Module)

public Module Save(Module m)

Parameters

m Module

Returns

Module

UpdateModuleAccess(IEnumerable<string>, bool)

Updates the module access.

public void UpdateModuleAccess(IEnumerable<string> moduleSystemNames, bool access)

Parameters

moduleSystemNames IEnumerable<string>

The modules.

access bool

if set to true [access].

To top