File

src/app/services/count-cache/count-cache.service.ts

Description

A count cache service.

Index

Properties
Methods
Accessors

Constructor

constructor(uiService: UiService, tagCloudProcessorService: TagCloudProcessorService, model: ModelModel, chartService: ChartService)

Constructs the count cache service. ~constructor

Parameters :
Name Type Optional Description
uiService UiService No

The UI service injected dependency.

tagCloudProcessorService TagCloudProcessorService No

The tag cloud processor service injected dependency.

model ModelModel No

The model injected dependency.

chartService ChartService No

The chart service injected dependency.

Methods

Public calcCountCache
calcCountCache(propertyNames: string[])

Calculates the count cache and refreshes project charts.

Parameters :
Name Type Optional
propertyNames string[] No
Returns : void
Public checkToggleCollapsed
checkToggleCollapsed(propertyName?: string)

Checkes if the section toggle state is collapsed.

Parameters :
Name Type Optional Description
propertyName string Yes

The name of the property to process.

Returns : boolean

Whether the section toggle state is collapsed.

Public getDecryptedProjectPeriod
getDecryptedProjectPeriod(project: Project)

Gets the project period decrypted for a project

Parameters :
Name Type Optional Description
project Project No

The project index

Returns : string
Public getProjectIsOnePersonTeam
getProjectIsOnePersonTeam(project: Project)

One person team project indicator.

Parameters :
Name Type Optional Description
project Project No

The project index

Returns : boolean

Properties

Public decryptedPeriod
Type : Indexable
Default value : {}

Project period decrypted.

Public Readonly uiService
Type : UiService
The UI service injected dependency.

Accessors

countCache
getcountCache()

Aggregation count cache getter.

setcountCache(value)

Aggregation count cache setter.

Parameters :
Name Optional
value No
Returns : void
frequenciesCache
getfrequenciesCache()

Frequencies cache getter.

setfrequenciesCache(value)

Frequencies cache setter.

Parameters :
Name Optional
value No
Returns : void
filtered
getfiltered()

Filtered getter.

results matching ""

    No results matching ""