AirLay backend

DependentDataSet extends SimpleDataSet
in package

Table of Contents

$categoryHistoriesCollection  : CategoryHistoriesCollection
$dataSetEntity  : DataSetEntity
$featuresCollection  : FeaturesCollection
$historiesCollection  : HistoriesCollection
$relationsCollection  : RelationsCollection
$masterDataSet  : RelatedDataSet
$scriptService  : DataSetScriptService
__construct()  : mixed
clearMarkedToDelete()  : array<string|int, mixed>
deleteFeatures()  : array<string|int, FeatureEntity>
deleteRelations()  : array<string|int, RelationEntity>
findFeatureInMaster()  : FeatureEntity|null
findFeaturesByMasterUniqueValues()  : array<string|int, RelationEntity>
findMasterRelationByRelationId()  : RelationEntity|null
findRelationsByMasterUniqueValues()  : array<string|int, RelationEntity>
getAreaField()  : string|null
getAuthorField()  : string|null
getCategoryHistory()  : bool
getCreateDateField()  : string|null
getDefaultCategory()  : ObjectId|null
getEditorField()  : string|null
getId()  : ObjectId
getIsIncrementUniqueValue()  : bool
getLengthField()  : string|null
getMasterDataSetCollection()  : RelatedDataSet
getMasterUniqueField()  : string|null
getMeasure()  : string|null
getType()  : string
getUniqueField()  : string|null
getUniqueValues()  : array<string|int, mixed>
getUpdateDateField()  : string|null
insertOne()  : bool
insertOneRelation()  : bool
isFindPolygonIntersections()  : bool
preload()  : void
Load data from db in memory
replaceOneFeature()  : bool
replaceOneRelation()  : bool
save()  : void
setCategory()  : string
updateObjectsCategory()  : void
isExists()  : bool
updateObjectCategoryInCollection()  : void
validateUniqueValue()  : void
validateUniqueValueForFeature()  : void
validateUniqueValueForRelation()  : void
getMasterDateSet()  : DataSetEntity

Properties

Methods

clearMarkedToDelete()

public clearMarkedToDelete() : array<string|int, mixed>
Return values
array<string|int, mixed>

deleteFeatures()

public deleteFeatures(array<string|int, ObjectId$ids) : array<string|int, FeatureEntity>
Parameters
$ids : array<string|int, ObjectId>
Return values
array<string|int, FeatureEntity>

findFeaturesByMasterUniqueValues()

public findFeaturesByMasterUniqueValues(array<string|int, mixed> $values) : array<string|int, RelationEntity>
Parameters
$values : array<string|int, mixed>
Return values
array<string|int, RelationEntity>

findRelationsByMasterUniqueValues()

public findRelationsByMasterUniqueValues(array<string|int, mixed> $values) : array<string|int, RelationEntity>
Parameters
$values : array<string|int, mixed>
Return values
array<string|int, RelationEntity>

getAreaField()

public getAreaField() : string|null
Return values
string|null

getAuthorField()

public getAuthorField() : string|null
Return values
string|null

getCategoryHistory()

public getCategoryHistory() : bool
Return values
bool

getCreateDateField()

public getCreateDateField() : string|null
Return values
string|null

getDefaultCategory()

public getDefaultCategory() : ObjectId|null
Return values
ObjectId|null

getEditorField()

public getEditorField() : string|null
Return values
string|null

getIsIncrementUniqueValue()

public getIsIncrementUniqueValue() : bool
Return values
bool

getLengthField()

public getLengthField() : string|null
Return values
string|null

getMasterUniqueField()

public getMasterUniqueField() : string|null
Return values
string|null

getMeasure()

public getMeasure() : string|null
Return values
string|null

getUniqueField()

public getUniqueField() : string|null
Return values
string|null

getUniqueValues()

public getUniqueValues(string $field, string $value, int $limit[, array<string|int, mixed> $filter = [] ]) : array<string|int, mixed>
Parameters
$field : string
$value : string
$limit : int
$filter : array<string|int, mixed> = []
Return values
array<string|int, mixed>

getUpdateDateField()

public getUpdateDateField() : string|null
Return values
string|null

isFindPolygonIntersections()

public isFindPolygonIntersections() : bool
Return values
bool

preload()

Load data from db in memory

public preload(array<string|int, mixed> $importFeatures) : void
Parameters
$importFeatures : array<string|int, mixed>
Return values
void

setCategory()

public setCategory(ObjectId $objectId, ObjectId $categoryId, UserEntity $user) : string
Parameters
$objectId : ObjectId
$categoryId : ObjectId
$user : UserEntity
Return values
string

updateObjectsCategory()

public updateObjectsCategory(ObjectId $objectId, Category $category) : void
Parameters
$objectId : ObjectId
$category : Category
Return values
void

isExists()

protected isExists(ObjectId $id) : bool
Parameters
$id : ObjectId
Return values
bool

Search results