Ticket #670 (closed Enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Core Service: add getPlayerId() method

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.4
Component: DeepaMehta Standard Distribution Version: 4.3
Keywords: Cc: dgf, Malte, carolina
Complexity: 2 Area: Application Framework / API
Module: deepamehta-core

Description

When an association ID is given this method should return the 2 player IDs of that association without fetching and instantiating a whole Association object.

This is required in conjunction with #592.

Change History

comment:1 Changed 6 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 6 years ago by Jörg Richter

Core Service: add getPlayerIds() method (#670).

The Core Service provides a new method:

long[] getPlayerIds(long assocId)

When an association ID is given it returns the 2 player IDs of that association without
fetching and instantiating a whole Association object.

BREAKING CHANGES

The DeepaMehtaStorage interface is extended. Storage layer implementations must be adapted.
The Neo4j based implementation is adapted already.

See #670.

comment:3 Changed 6 years ago by jri

Realized in workspace-acl branch. Will be available in DM 4.5

comment:4 Changed 6 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.