- Use SQL queries to directly lookup entities, attributes, associations
given the ownerId and the type (UserCtxDBMgr).
Merge branch 'development' into Context-Management_lookups
Use SQL queries to directly lookup entities, attributes, associations
given the ownerId and the type (CommunityCtxDBMgr).
Merge branch 'development' into Context-Management_lookups
- add query to get entityIds by id and type (CtxEntityDAO),
- add query to get attributeId by ownerId and type (CtxAttributeDAO),
- add query to get associationId by entityId (parent and child) and type
(CtxAssociationDAO),
- add lookup methods with (ownerId, modelType, types) and (entityId,
modelType, types) in internal userDB api.
- use new query for lookup attributeIds by ownerId and type in
lookup(ownerId, types),
- implement lookup(ownerId, modelType, types) and lookup(entityId,
modelType, types).
-Junit tests for lookup methods in UserContextDBManagement
- add query to get communityCtxEntityId by id and type,
- add query to get communityCtxAttribyteId by ownerId and type,
- add queries to get communityCtxAssociationId by entityId (parent and
child) and type,
- change lookup(ownerId, types) for looking up attributes,
- add lookup methods in internal api (lookup(ownerId, modelType, types),
lookup(entityId, modelType, types)),
- implement lookups,
- junit tests for lookups.
Merge branch 'development' into Context-Management_lookups