Home Reference Source Repository
public class | source

OlapicUserEntity

Extends:

OlapicEntity → OlapicUserEntity

This represents the Olapic users in DevKit. This is the type of entities used to upload content to Olapic.

Constructor Summary

Public Constructor
public

The class constructor that receives the user information.

Member Summary

Public Members
public

An alias/name for the entity.

public get

A shortcut method to get access to the users handler object.

Method Summary

Public Methods
public

Gets the user url to upload content to Olapic.

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

get(path: string): *

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 user information.

Override:

OlapicEntity#constructor

Params:

NameTypeAttributeDescription
data Object

All the information for the user.

Public Members

public alias: String source

An alias/name for the entity.

Override:

OlapicEntity#alias

public get handler: OlapicUsersHandler: * source

A shortcut method to get access to the users handler object.

Override:

OlapicEntity#handler

Return:

OlapicUsersHandler

the handler object for this specific type of entity.

Public Methods

public getUploadUrl(): String source

Gets the user url to upload content to Olapic.

Return:

String

The upload url for the user.