Project
Represents a project
Extends
Constructors
new Project()
new Project(
dart):Project
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Source
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
dart | public | any | Entity.dart |
options | public | any | - |
Accessors
author
getauthor():User
Who created entity *
Returns
Source
children
getchildren():Entity[]
Returns
Entity[]
Source
createdOn
getcreatedOn():Dayjs
Time when entity was created *
Returns
Dayjs
Source
description
getdescription():string
Project description
Returns
string
Source
friendlyName
getfriendlyName():string
Entity friendly name
setfriendlyName(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
id
getid():string
Entity ID (GUID)
setid(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
isDashboard
getisDashboard():boolean
Returns
boolean
Source
isDirty
getisDirty():boolean
Project changes flag
Returns
boolean
Source
isEmpty
getisEmpty():boolean
Project is empty flag
Returns
boolean
Source
isLocal
getisLocal():string
Returns
string
Source
isOnServer
getisOnServer():string
Returns
string
Source
isPackage
getisPackage():boolean
Returns
boolean
Source
links
getlinks():Entity[]
Returns
Entity[]
Source
name
getname():string
Entity short name
setname(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
nqName
getnqName():string
Entity full-qualified name
Returns
string
Source
path
getpath():string
Entity path
Returns
string
Source
pictureUrl
getpictureUrl():string
Returns
string
Source
updatedOn
getupdatedOn():null|Dayjs
Time when entity was updated *
Returns
null | Dayjs
Source
Methods
addChild()
addChild(
entity):void
Parameters
| Parameter | Type |
|---|---|
entity | DataFrame | Entity |
Returns
void
Source
addLink()
addLink(
entity):void
Parameters
| Parameter | Type |
|---|---|
entity | DataFrame | Entity |
Returns
void
Source
getProperties()
getProperties():
Promise<object>
Gets entity properties
Returns
Promise<object>
Inherited from
Source
hasTag()
hasTag(
tag):boolean
Parameters
| Parameter | Type |
|---|---|
tag | string |
Returns
boolean
Inherited from
Source
newId()
newId():
void
Generates new id for this entity.
Returns
void
Inherited from
Source
open()
open(
options?):Promise<Project>
Opens the project in workspace
Parameters
| Parameter | Type |
|---|---|
options? | ProjectOpenOptions |
Returns
Promise <Project>
Source
removeChild()
removeChild(
entity):void
Parameters
| Parameter | Type |
|---|---|
entity | Entity |
Returns
void
Source
removeLink()
removeLink(
entity):void
Parameters
| Parameter | Type |
|---|---|
entity | Entity |
Returns
void
Source
setProperties()
setProperties(
props):Promise<any>
Sets entity properties
Parameters
| Parameter | Type |
|---|---|
props | object |
Returns
Promise<any>
Inherited from
Source
tag()
tag(
tag):boolean
Adds a specified tag
Parameters
| Parameter | Type |
|---|---|
tag | string |
Returns
boolean
Inherited from
Source
toMarkup()
toMarkup():
string
Returns
string
Source
toString()
toString():
string
Returns a string representing the object
Returns
string
Inherited from
Source
unTag()
unTag(
tag):boolean
Removes a specified tag
Parameters
| Parameter | Type |
|---|---|
tag | string |
Returns
boolean
Inherited from
Source
create()
staticcreate():Project