File

src/app/services/classifier/classifier.service.ts

Description

Classifier connection service. ~extends AccomplishmentClassifiableService

Extends

AccomplishmentClassifiableService

Index

Properties
Methods
Accessors

Constructor

constructor(uiService: UiService, persistenceService: PersistenceService, ontologyService: OntologyService)

Constructs the Classifier service. ~constructor

Parameters :
Name Type Optional Description
uiService UiService No

The ui service injected dependency.

persistenceService PersistenceService No

The persistence service injected dependency.

ontologyService OntologyService No

The ontology service injected dependency.

Methods

Protected isOfType
isOfType(accomplishment: Accomplishment, accomplishmentType: string)

Whether accomplishment is of type specified.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

accomplishmentType string No

The accomplishment type to test.

Returns : any

whether accomplishment is of the type specified.

Public next
next(event: MouseEvent, classifierKindNext)

Next.

Parameters :
Name Type Optional Default value
event MouseEvent No
classifierKindNext No Go.Forward
Returns : void
Public nextTitle
nextTitle(classifierKindNext)

Next title.

Parameters :
Name Optional Default value
classifierKindNext No Go.Forward
Returns : any
Public isCertification
isCertification(accomplishment: Accomplishment)

Whether accomplishment is of type certification.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type certification.

Public isCourse
isCourse(accomplishment: Accomplishment)

Whether accomplishment is of type course.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type course.

Public isHonorAndAward
isHonorAndAward(accomplishment: Accomplishment)

Whether accomplishment is of type honor or award.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type honor or award.

Public isInterestAndHobby
isInterestAndHobby(accomplishment: Accomplishment)

Whether accomplishment is of type interest or hobby.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type interest or hobby.

Public isLanguage
isLanguage(accomplishment: Accomplishment)

Whether accomplishment is of type language.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type language.

Public isOrganization
isOrganization(accomplishment: Accomplishment)

Whether accomplishment is of type organization.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type organization.

Public isPublication
isPublication(accomplishment: Accomplishment)

Whether accomplishment is of type publication.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type publication.

Public isVacation
isVacation(accomplishment: Accomplishment)

Whether accomplishment is of type vacation.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type vacation.

Public isVolunteering
isVolunteering(accomplishment: Accomplishment)

Whether accomplishment is of type volunteering.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type volunteering.

Protected isAchievement
isAchievement(accomplishment: Accomplishment)

Whether accomplishment is of type honor or achievement.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type honor or achievement.

Protected isArt
isArt(accomplishment: Accomplishment)

Whether accomplishment is of type art.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type art.

Protected isAward
isAward(accomplishment: Accomplishment)

Whether accomplishment is of type award.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type award.

Protected isBreak
isBreak(accomplishment: Accomplishment)

Whether accomplishment is of type break.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type break.

Protected isBreakInterest
isBreakInterest(accomplishment: Accomplishment)

Whether accomplishment is of type break interest.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type break interest.

Protected isCamp
isCamp(accomplishment: Accomplishment)

Whether accomplishment is of type camp.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type camp.

Protected isConference
isConference(accomplishment: Accomplishment)

Whether accomplishment is of type conference.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type conference.

Protected isHobby
isHobby(accomplishment: Accomplishment)

Whether accomplishment is of type hobby.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type hobby.

Protected isHonor
isHonor(accomplishment: Accomplishment)

Whether accomplishment is of type honor.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type honor.

Protected isInterest
isInterest(accomplishment: Accomplishment)

Whether accomplishment is of type interest.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type interest.

Protected isLanguageCourse
isLanguageCourse(accomplishment: Accomplishment)

Whether accomplishment is of type language course.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type language course.

Protected isVolunteeringInterest
isVolunteeringInterest(accomplishment: Accomplishment)

Whether accomplishment is of type volunteering interest.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type volunteering interest.

Protected isVolunteerWork
isVolunteerWork(accomplishment: Accomplishment)

Whether accomplishment is of type volunteer work.

Parameters :
Name Type Optional Description
accomplishment Accomplishment No

The accomplishment to test.

Returns : boolean

whether accomplishment is of type volunteer work.

Properties

Public Readonly ontologyService
Type : OntologyService
The ontology service injected dependency.
Public Readonly persistenceService
Type : PersistenceService
The persistence service injected dependency.
Public Readonly uiService
Type : UiService
The ui service injected dependency.

Accessors

ClassifierKindValues
getClassifierKindValues()

ClassifierKind values getter.

subService
getsubService()

Subservice.

results matching ""

    No results matching ""