Show / Hide Table of Contents

Class ExtAppCache

Inheritance
Object
CacheBase
RowCacheBase<ExtAppRow>
ExtAppCache
Implements
IDisposable
IFlushable
Inherited Members
RowCacheBase<ExtAppRow>.OnRefresh()
RowCacheBase<ExtAppRow>.AddRow(ExtAppRow)
RowCacheBase<ExtAppRow>.OnParseRow(ExtAppRow)
RowCacheBase<ExtAppRow>.GetRowFromId(Int32)
RowCacheBase<ExtAppRow>.Rows
CacheBase._lastUpdated
CacheBase._cacheState
CacheBase.IsCacheInvalidated(Int32, SqlType, Int32)
CacheBase.Dispose()
CacheBase.Validate()
CacheBase.Refresh()
CacheBase.Flush()
CacheBase.OnExpired()
CacheBase.OnRefreshed()
CacheBase.OnFlushed()
CacheBase.OnDisposed()
CacheBase.Lock
CacheBase.Name
CacheBase.CacheType
CacheBase.Timeout
CacheBase.State
CacheBase.IsValid
CacheBase.Expired
CacheBase.Refreshed
CacheBase.Flushed
CacheBase.Disposed
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
CacheBase.GetCachedTableNumbers()

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

System.IDisposable
IFlushable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top