Options
All
  • Public
  • Public/Protected
  • All
Menu

This is a project, implementing basic scheduling as SchedulerBasicProjectMixin does. Yet this class does not use chronograph based engine.

tier

community

Hierarchy

Index

Properties

$project

The project instance, this entity belongs to.

assignments

assignments: any[]

The assignments data - can be provided during project instantiation and will be loaded with loadInlineData.

assignmentsData

assignmentsData: any[]

The assignments data - can be provided during project instantiation and will be loaded with loadInlineData.

deprecated

Use assignments instead

calendars

calendars: any[]

The calendars data - can be provided during project instantiation and will be loaded with loadInlineData.

calendarsData

calendarsData: any[]

The calendars data - can be provided during project instantiation and will be loaded with loadInlineData.

deprecated

Use calendars instead

dateHelper

dateHelper: any

Returns the timezone-aware date helper if the project has a timeZone configured and useLegacyTimeZoneMode is false, otherwise returns the static DateHelper class.

dependencies

dependencies: any[]

The dependencies data - can be provided during project instantiation and will be loaded with loadInlineData.

dependenciesData

dependenciesData: any[]

The dependencies data - can be provided during project instantiation and will be loaded with loadInlineData.

deprecated

Use dependencies instead

eventModelClass

eventModelClass: typeof SchedulerCoreEvent

The constructor for the "Event" entity of the project.

eventStoreClass

eventStoreClass: typeof CoreEventStoreMixin

The constructor for the "Events" collection of the project

events

events: any[]

The events data - can be provided during project instantiation and will be loaded with loadInlineData.

const project    = new SchedulerBasicProjectMixin({
    events   : [ { name : 'Task 1' } ]
})

eventsData

eventsData: any[]

The events data - can be provided during project instantiation and will be loaded with loadInlineData.

const project    = new SchedulerBasicProjectMixin({
    eventsData   : [ { name : 'Task 1' } ]
})
deprecated

Use events instead

maxCalendarRange

maxCalendarRange: number

Maximum range the project calendars can iterate. The value is defined in milliseconds and by default equals 5 years roughly.

preventSilencingOnIssueResolve

preventSilencingOnIssueResolve: boolean

Setting this to true vetoes silenceInitialCommit effect by preventing silent accepting changes on initial data loading if some scheduling issue gets resolved during it.

project

The project instance, this entity belongs to.

resources

resources: any[]

The resources data - can be provided during project instantiation and will be loaded with loadInlineData.

resourcesData

resourcesData: any[]

The resources data - can be provided during project instantiation and will be loaded with loadInlineData.

deprecated

Use resources instead

silenceInitialCommit

silenceInitialCommit: boolean

Specifies whether the changes calculated when loading data should be silently accepted (true) or not (false) and then an application can persist them.

timeZone

timeZone: string | number

IANA timezone identifier for the project. In legacy mode (useLegacyTimeZoneMode = true), setting this mutates record dates. In temporal mode (default), setting this makes the project a tz-cascade owner without mutating dates.

unspecifiedTimeIsWorking

unspecifiedTimeIsWorking: boolean

This property is used when instantiating the default calendar of the project. This calendar will have no availability intervals, so this setting will either turn the whole timespan into working time or non-working.

Default value is true

useLegacyTimeZoneMode

useLegacyTimeZoneMode: boolean

Selects the timezone implementation. false (default) = legacy mutation; true = Temporal-based projection without mutating record dates.

Accessors

stm

  • set stm(stm: StateTrackingManager): void
  • State tracking manager instance the project relies on

    Parameters

    • stm: StateTrackingManager

    Returns void

Methods

getAssignmentById

getAssignmentStore

  • getAssignmentStore(): this["project"]["assignmentStore"]
  • Convenience method to get the instance of the assignment store in the project instance, this entity belongs to.

    Returns this["project"]["assignmentStore"]

getCalendarById

getCalendarManagerStore

  • getCalendarManagerStore(): this["project"]["calendarManagerStore"]
  • Convenience method to get the instance of the calendar manager store in the project instance, this entity belongs to.

    Returns this["project"]["calendarManagerStore"]

getDependencyById

getDependencyStore

  • getDependencyStore(): this["project"]["dependencyStore"]
  • Convenience method to get the instance of the dependency store in the project instance, this entity belongs to.

    Returns this["project"]["dependencyStore"]

getEventById

getEventStore

  • getEventStore(): this["project"]["eventStore"]
  • Convenience method to get the instance of the event store in the project instance, this entity belongs to.

    Returns this["project"]["eventStore"]

getProject

  • getProject(): this["project"]

getResourceById

getResourceStore

  • getResourceStore(): this["project"]["resourceStore"]
  • Convenience method to get the instance of the resource store in the project instance, this entity belongs to.

    Returns this["project"]["resourceStore"]

loadInlineData

  • This method loads the "raw" data into the project. The loading is basically happening by assigning the individual data entries to the data property of the corresponding store.

    Parameters

    Returns Promise<any>

setProject

  • setProject(project: this["project"]): this["project"]
  • The method to set the project instance, this entity belongs to.

    Parameters

    • project: this["project"]

    Returns this["project"]

Generated using TypeDoc