Class ExtAppCache
Inherited Members
Namespace: SuperOffice.CRM.Cache
Assembly: SoDataBase.dll
Syntax
public class ExtAppCache : RowCacheBase<ExtAppRow>, IDisposable, IFlushable
Methods
CanCurrentPrincipalSeeThisExtApp(Int32, List<Int32>)
Declaration
public bool CanCurrentPrincipalSeeThisExtApp(int extAppId, List<int> groupIds)
Parameters
Type | Name | Description |
---|---|---|
Int32 | extAppId | |
List<Int32> | groupIds |
Returns
Type | Description |
---|---|
Boolean |
FetchRows()
Fetch the rows from the database.
Declaration
protected override TableRowsBase FetchRows()
Returns
Type | Description |
---|---|
TableRowsBase | Collection of rows. |
Overrides
SuperOffice.CRM.Cache.RowCacheBase<SuperOffice.CRM.Rows.ExtAppRow>.FetchRows()
GetByAppType(Boolean, ApplicationType[])
Get rows of certain app types, with or without accepting deleted rows. If the extapp table is grouped/filtered, then the result from this method will also be filtered, based on the current principal's group
Declaration
public ExtAppRows GetByAppType(bool acceptDeleted, params ApplicationType[] appTypes)
Parameters
Type | Name | Description |
---|---|---|
Boolean | acceptDeleted | Should deleted rows be returned? |
ApplicationType[] | appTypes | Array of application types to accept, empty array means get all |
Returns
Type | Description |
---|---|
ExtAppRows |
GetCachedTableNumbers()
Declaration
public override int[] GetCachedTableNumbers()
Returns
Type | Description |
---|---|
Int32[] |
Overrides
GetCurrent()
Get the current instance of the CategoryCache
Declaration
public static ExtAppCache GetCurrent()
Returns
Type | Description |
---|---|
ExtAppCache | Current instance of the CategoryCache. |
GetDefaultWWWPageForSMWeb()
Get the default www page for SM.web
Declaration
public string GetDefaultWWWPageForSMWeb()
Returns
Type | Description |
---|---|
String | URL tagged with [SOSITEURL] |
OnFlush()
Declaration
protected override void OnFlush()
Overrides
SuperOffice.CRM.Cache.RowCacheBase<SuperOffice.CRM.Rows.ExtAppRow>.OnFlush()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)