Reference Source
public class | source

CrudService

Extends:

js/services/base/base_service.js~BaseService → CrudService

Crud service class for CRUD routes.

Constructor Summary

Public Constructor
public

constructor(arg_svc_name: string, arg_service_settings: object, arg_context: string): nothing

Create a crud service.

Member Summary

Public Members
public

Method Summary

Public Methods
public

create_consumer(): ServiceConsumer

Create a service consumer.

public

create_provider(arg_name: string, arg_service: Service): ServiceProvider

Create a service provider.

Public Constructors

public constructor(arg_svc_name: string, arg_service_settings: object, arg_context: string): nothing source

Create a crud service.

Params:

NameTypeAttributeDescription
arg_svc_name string

service name

arg_service_settings object

service settings

arg_context string

logging context label

Return:

nothing

Public Members

public is_crud_service: boolean source

Public Methods

public create_consumer(): ServiceConsumer source

Create a service consumer.

Return:

ServiceConsumer

service consumer instance

public create_provider(arg_name: string, arg_service: Service): ServiceProvider source

Create a service provider.

Params:

NameTypeAttributeDescription
arg_name string

provider name

arg_service Service

service instance

Return:

ServiceProvider

service provider instance