Routines for ent_dbbr.kb


GetEntitiesForProfile

File Name

ent_dbbr.kb

Syntax

GetEntitiesForProfile ( VAL profile: ProfileRecord): LIST OF EntityRecord

Parameters

profile - a profileRecord

Returns

List

Side Effects

None

Description

This function retrieves entities for profiles.

Dialog Forms Called

None


GetEntity

File Name

ent_dbbr.kb

Syntax

GetEntity(VAL entity_id: INTEGER): EntityRecord

Parameters

entity_id - integer identifier for the action group

Returns

entityRecord

Side Effects

None

Description

This function will allow the user to get the entity record by passing in the entity ID. This ID is unique.

Dialog Forms Called

None


GetEntityActionList

File Name

ent_dbbr.kb

Syntax

GetEntityActionList(VAL entity: EntityRecord): LIST OF EntityActionRecord

Parameters

entity - an entity record

Returns

List of records from entity_action table

Side Effects

None

Description

This function returns the list of records from the entity_action table. This will allow the user to get the list of system actions for this entity.

Dialog Forms Called

None


GetEntityByName

File Name

ent_dbbr.kb

Syntax

GetEntityByName(VAL entity_name: STRING): EntityRecord

Parameters

entity_name - an action group name

Returns

entityRecord

Side Effects

None

Description

This function will allow the user to get the entity record by passing in only the entity name. The entity name is unique on the entity table.

Dialog Forms Called

None


LoadAllEntities

File Name

ent_dbbr.kb

Syntax

LoadAllEntities: LIST OF EntityRecord

Parameters

None

Returns

a LIST of EntityRecords

Side Effects

None

Description

This function retrieves all entities ordered by entity name.

Dialog Forms Called

None