src/app/services/portfolio/portfolio.service.ts
A portfolio service.
Properties |
|
Methods |
|
Accessors |
constructor(toolbarService: ToolbarService, persistenceService: PersistenceService, countCacheService: CountCacheService, engine: EngineService, model: ModelModel)
|
||||||||||||||||||||||||
Constructs the Portfolio service. ~constructor
Parameters :
|
Public checkToggleCollapsed | ||||||||
checkToggleCollapsed(propertyName: string)
|
||||||||
Checkes if the section toggle state is collapsed. ~delegate
Parameters :
Returns :
boolean
Whether the section toggle state is collapsed. |
Public cvDefined |
cvDefined()
|
Whether CV is defined.
Returns :
boolean
Whether the CV is defined. |
Public entitiesDefined |
entitiesDefined()
|
Whether entities are defined.
Returns :
boolean
Whether the entities are defined. |
Public generalTimelineDefined |
generalTimelineDefined()
|
Whether the general timeline is defined.
Returns :
boolean
Whether the general timeline is defined. |
Public getDecryptedProjectPeriod | ||||||||
getDecryptedProjectPeriod(project: Project)
|
||||||||
Project period decrypted delegate ~delegate
Parameters :
Returns :
string
|
Public getFrequenciesCache | ||||||
getFrequenciesCache(frequenciesCacheKey: string)
|
||||||
Gets the calculated frequencies object for an entity.
Parameters :
Returns :
any[]
The calculated frequencies object for an entity. |
Public getFrequency | ||||||||||||
getFrequency(frequenciesCacheKey: string, propertyName: string)
|
||||||||||||
Get frequency. Match frequency for the template to the precalculated cache. ~delegate
Parameters :
Returns :
any
The frequency object. |
Public getProjectIsOnePersonTeam | ||||||||
getProjectIsOnePersonTeam(project: Project)
|
||||||||
One person team project indicator. ~delegate
Parameters :
Returns :
boolean
|
Public getProjectStartsNewPeriod | ||||||||
getProjectStartsNewPeriod(project: Project)
|
||||||||
Project starts new period indicator.
Parameters :
Returns :
boolean
|
Public isEmpty | ||||||||
isEmpty(obj: Record
|
||||||||
Whether an object is empty.
Parameters :
Returns :
boolean
Whether an object is empty. |
Public jsonDefined | ||||||||
jsonDefined(json: any)
|
||||||||
Whether a specific json is defined.
Parameters :
Returns :
boolean
Whether the json is defined. |
Public projectsDefined |
projectsDefined()
|
Whether projects are defined.
Returns :
boolean
Whether the projects are defined. |
Public subscribe | |||||||||
subscribe(kind: "ST" | "RM", handler: (event: T) => void)
|
|||||||||
Type parameters :
|
|||||||||
Subscribe dispatcher. ~delegate
Parameters :
Returns :
Subscription | undefined
|
Public uiDefined |
uiDefined()
|
Whether UI is defined.
Returns :
boolean
Whether the UI is defined. |
Public Optional currentProjectPeriod |
Type : Project
|
Current project period. |
Public Readonly engine |
Type : EngineService
|
The engine service injected dependency.
|
Public Readonly model |
Type : ModelModel
|
The model injected dependency.
|
Public Readonly persistenceService |
Type : PersistenceService
|
The persistence service injected dependency.
|
Public Readonly toolbarService |
Type : ToolbarService
|
The toolbar service injected dependency.
|
decryptedPeriod |
getdecryptedPeriod()
|
Project period decrypted getter. |