Constructor
new cdn_person_ns()
- Mixes In:
- mStorage    dataHistory    fts   
Extends
Members
attrs
static
Attributes defined in metadata. This property not exist in real life and added just for help
entity: UBEntity
Reference to entity metadata
Methods
checkPhotoMimeType(ctxt, mimeTypes)
Check mime type of uploaded photo is in mimeTypes array
Arguments:
-
ctxt
(ubMethodParams)
-
mimeTypes
(Array.<string>)
addNew(ctx)
api
Create record with filled default values and return it to caller.
Newly created record is not inserted to database. For inserting record to the database insert
method should be called
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
-
mStorage.addNew   
delete(ctx)
api
Delete data
Arguments:
-
ctx
(ubMethodParams)
Properties
-
mParams.execParams.ID
(number)
 element ID to be deleted
- Mixes In:
-
mStorage.delete   
fts(ctx)
api
Full text search query
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
-
fts.fts   
ftsreindex(ctx)
api
Ce-create entity FTS index
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
-
fts.ftsreindex   
insert(ctx)
api
Insert new row to the entity.
Arguments:
-
ctx
(ubMethodParams)
Properties
- Mixes In:
-
mStorage.insert   
newversion(ctx)
api
Create new version of specified record
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
-
dataHistory.newversion   
select(ctx)
api
Read entity data
Arguments:
-
ctx
(ubMethodParams)
Properties
-
mParams
(UBQL)
 ORM query in UBQL format
- Mixes In:
-
mStorage.select   
update(ctx)
api
Update data
Arguments:
-
ctx
(ubMethodParams)
Properties
- Mixes In:
-
mStorage.update   
checkPhotoMimeType(ctxt, mimeTypes)
Check mime type of uploaded photo is in mimeTypes array
Arguments:
-
ctxt
(ubMethodParams)
-
mimeTypes
(Array.<string>)
addNew(ctx) api
Create record with filled default values and return it to caller.
Newly created record is not inserted to database. For inserting record to the database
insert
method should be called
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
- mStorage.addNew   
delete(ctx) api
Delete data
Arguments:
-
ctx
(ubMethodParams)
Properties
-
mParams.execParams.ID
(number)
 element ID to be deleted
-
- Mixes In:
- mStorage.delete   
fts(ctx) api
Full text search query
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
- fts.fts   
ftsreindex(ctx) api
Ce-create entity FTS index
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
- fts.ftsreindex   
insert(ctx) api
Insert new row to the entity.
Arguments:
-
ctx
(ubMethodParams)
Properties
- Mixes In:
- mStorage.insert   
newversion(ctx) api
Create new version of specified record
Arguments:
-
ctx
(ubMethodParams)
- Mixes In:
- dataHistory.newversion   
select(ctx) api
Read entity data
Arguments:
-
ctx
(ubMethodParams)
Properties
-
mParams
(UBQL)
 ORM query in UBQL format
-
- Mixes In:
- mStorage.select   
update(ctx) api
Update data
Arguments:
-
ctx
(ubMethodParams)
Properties
- Mixes In:
- mStorage.update