Constructor
new Category(data) → {void}
Category Constructor.
Category Constructor.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
Returns:
- Type
- void
Methods
getActive() → {boolean}
Get active.
Get active.
Returns:
- Type
- boolean
getAvailabilityGroupCount() → {number}
Get agrpcount.
Get agrpcount.
Returns:
- Type
- number
getCode() → {string}
Get code.
Get code.
Returns:
- Type
- string
getCustomFieldValues() → {CustomFieldValues|*}
Get CustomField_Values.
Get CustomField_Values.
Returns:
- Type
- CustomFieldValues | *
getDateTimeCreated() → {number}
Get dt_created.
Get dt_created.
Returns:
- Type
- number
getDateTimeUpdated() → {number}
Get dt_updated.
Get dt_updated.
Returns:
- Type
- number
getDepth() → {number}
Get depth.
Get depth.
Returns:
- Type
- number
getDisplayOrder() → {number}
Get disp_order.
Get disp_order.
Returns:
- Type
- number
getId() → {number}
Get id.
Get id.
Returns:
- Type
- number
getName() → {string}
Get name.
Get name.
Returns:
- Type
- string
getPageCode() → {string}
Get page_code.
Get page_code.
Returns:
- Type
- string
getPageId() → {number}
Get page_id.
Get page_id.
Returns:
- Type
- number
getPageTitle() → {string}
Get page_title.
Get page_title.
Returns:
- Type
- string
getParentCategory() → {string}
Get parent_category.
Get parent_category.
Returns:
- Type
- string
getParentId() → {number}
Get parent_id.
Get parent_id.
Returns:
- Type
- number
setActive(active) → {Category}
Set active.
Set active.
Parameters:
Name | Type | Description |
---|---|---|
active |
boolean |
Returns:
- Type
- Category
setCode(code) → {Category}
Set code.
Set code.
Parameters:
Name | Type | Description |
---|---|---|
code |
string |
Returns:
- Type
- Category
setCustomFieldValues(customFieldValues) → {Category}
Set CustomField_Values.
Set CustomField_Values.
Parameters:
Name | Type | Description |
---|---|---|
customFieldValues |
CustomFieldValues | Object |
Throws:
Error
Returns:
- Type
- Category
setName(name) → {Category}
Set name.
Set name.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
Returns:
- Type
- Category
setPageCode(pageCode) → {Category}
Set page_code.
Set page_code.
Parameters:
Name | Type | Description |
---|---|---|
pageCode |
string |
Returns:
- Type
- Category
setPageTitle(pageTitle) → {Category}
Set page_title.
Set page_title.
Parameters:
Name | Type | Description |
---|---|---|
pageTitle |
string |
Returns:
- Type
- Category
setParentCategory(parentCategory) → {Category}
Set parent_category.
Set parent_category.
Parameters:
Name | Type | Description |
---|---|---|
parentCategory |
string |
Returns:
- Type
- Category