ArchDivision(coreDivisionViewModel)

new ArchDivision(coreDivisionViewModel)

The Architect Scripting class for an organization division. Instances of this class will be created by Architect Scripting as needed.

Parameters:
Name Type Description
coreDivisionViewModel object

( Internal ) an Architect core division view model.

Extends

Members

static, readonly displayTypeName :string

Returns the display type name string 'ArchDivision'.

static, readonly isArchDivision :boolean

Returns true indicating that this is an ArchDivision instance.

readonly canAddFlow :boolean

Returns whether or not the currently logged in user can add a flow to this division. In order for a user to be able to add a flow to a division, they must have the architect:flow:add, architect:flow:edit and architect:flow:view permissions in this division.

readonly id :string

The identifier string for this object.

Inherited From:

readonly idMayBeBlank :string

Returns whether or not the id property may be blank or undefined for this object. For example, the returned settings from ArchMenu#settingsMenu will have a blank identifier along with the settings returned from ArchMenu#settingsSpeechRec. Note that this is an extremely rare case.

Inherited From:
See:

readonly isHomeDivision :boolean

Returns whether or not this division is the home division.

readonly logStr :string

Returns a string suitable for logging information about this division.

readonly name :string

Returns the name of the division.