Class: Category

Model~Category(data) → {void}

Category data model.

Constructor

new Category(data) → {void}

Category Constructor.

Category Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Methods

getActive() → {boolean}

Get active.

Get active.

Source:
Returns:
Type
boolean

getAvailabilityGroupCount() → {number}

Get agrpcount.

Get agrpcount.

Source:
Returns:
Type
number

getCode() → {string}

Get code.

Get code.

Source:
Returns:
Type
string

getCustomFieldValues() → {CustomFieldValues|*}

Get CustomField_Values.

Get CustomField_Values.

Source:
Returns:
Type
CustomFieldValues | *

getDateTimeCreated() → {number}

Get dt_created.

Get dt_created.

Source:
Returns:
Type
number

getDateTimeUpdated() → {number}

Get dt_updated.

Get dt_updated.

Source:
Returns:
Type
number

getDepth() → {number}

Get depth.

Get depth.

Source:
Returns:
Type
number

getDisplayOrder() → {number}

Get disp_order.

Get disp_order.

Source:
Returns:
Type
number

getId() → {number}

Get id.

Get id.

Source:
Returns:
Type
number

getName() → {string}

Get name.

Get name.

Source:
Returns:
Type
string

getPageCode() → {string}

Get page_code.

Get page_code.

Source:
Returns:
Type
string

getPageId() → {number}

Get page_id.

Get page_id.

Source:
Returns:
Type
number

getPageTitle() → {string}

Get page_title.

Get page_title.

Source:
Returns:
Type
string

getParentCategory() → {string}

Get parent_category.

Get parent_category.

Source:
Returns:
Type
string

getParentId() → {number}

Get parent_id.

Get parent_id.

Source:
Returns:
Type
number

setActive(active) → {Category}

Set active.

Set active.

Parameters:
Name Type Description
active boolean
Source:
Returns:
Type
Category

setCode(code) → {Category}

Set code.

Set code.

Parameters:
Name Type Description
code string
Source:
Returns:
Type
Category

setCustomFieldValues(customFieldValues) → {Category}

Set CustomField_Values.

Set CustomField_Values.

Parameters:
Name Type Description
customFieldValues CustomFieldValues | Object
Source:
Throws:
Error
Returns:
Type
Category

setName(name) → {Category}

Set name.

Set name.

Parameters:
Name Type Description
name string
Source:
Returns:
Type
Category

setPageCode(pageCode) → {Category}

Set page_code.

Set page_code.

Parameters:
Name Type Description
pageCode string
Source:
Returns:
Type
Category

setPageTitle(pageTitle) → {Category}

Set page_title.

Set page_title.

Parameters:
Name Type Description
pageTitle string
Source:
Returns:
Type
Category

setParentCategory(parentCategory) → {Category}

Set parent_category.

Set parent_category.

Parameters:
Name Type Description
parentCategory string
Source:
Returns:
Type
Category

toObject()

Source: