Class: Page

Page()

Page Class

Constructor

new Page()

Source:

Members

(static) contract :Object

Page contract
Type:
  • Object
Source:
get menu label for page
Source:

Methods

(async, static) create(f) → {Promise.<Page>}

Create page
Parameters:
Name Type Description
f
Source:
Returns:
Type
Promise.<Page>

(async, static) find(where, selectopts) → {Promise.<*>}

Find pages in DB
Parameters:
Name Type Description
where
selectopts
Source:
Returns:
Type
Promise.<*>

(async, static) findOne(where) → {Promise.<(Page|*)>}

Find one page
Parameters:
Name Type Description
where
Source:
Returns:
Type
Promise.<(Page|*)>

(async, static) update(id, row) → {Promise.<void>}

Update page
Parameters:
Name Type Description
id
row
Source:
Returns:
Type
Promise.<void>

(async) clone() → {Promise.<Page>}

Clone page
Source:
Returns:
Type
Promise.<Page>

(async) delete() → {Promise.<void>}

Delete current page
Source:
Returns:
Type
Promise.<void>

(async) is_root_page_for_roles() → {Promise.<*>}

Is root page for role
Source:
Returns:
Type
Promise.<*>

(async) run(querystate, extraArgs) → {Promise.<any>}

Run (Show) page
Parameters:
Name Type Description
querystate
extraArgs
Source:
Returns:
Type
Promise.<any>