class PlaylistService extends BasicService implements OwnerAPISupport<Playlist> {

	@Override
	@POST
	@Path("/playlists/{playlistId}/owners")
	@Consumes(MediaType.APPLICATION_JSON)
	public Playlist addOwners(@PathParam("playlistId") long playlistId, Owner[] ownerData) {
		Playlist existingPlaylist = getExistingPlaylist(playlistId, true);
		doAddOwners(existingPlaylist, ownerData);

		return PlaylistDAO.save(existingPlaylist);
	}

}