import OlapicCategoryEntity from 'olapic-devkit/src/core/entities/category/category.entity.js'
OlapicCategoryEntity
Extends:
This represents the Olapic categories in DevKit. This type of entity only stores information and doesn't have related content like users or media.
Constructor Summary
Public Constructor | ||
public |
constructor(data: Object) The class constructor that receives the category information. |
Member Summary
Public Members | ||
public |
An alias/name for the entity. |
|
public get |
A shortcut method to get access to the categories handler object. |
Inherited Summary
From class OlapicEntity | ||
public get |
A quick shortcut for the entities so they can access their own entities handler. |
|
public |
An alias/name for the entity, for debug purposes. |
|
public |
The entity information. |
|
public |
Access the entity data using a path-like format. |
|
public |
A utility method that returns the entity name/alias. |
Public Constructors
public constructor(data: Object) source
The class constructor that receives the category information.
Override:
OlapicEntity#constructorParams:
Name | Type | Attribute | Description |
data | Object | All the information for the category. |
Public Members
public get handler: OlapicCategoriesHandler: * source
A shortcut method to get access to the categories handler object.