class FileService extends BasicService implements OwnerAPISupport<File> {

	@Override
	@POST
	@Path("/files/{fileId}/owners")
	@Consumes(MediaType.APPLICATION_JSON)
	public File addOwners(@PathParam("fileId") long fileId, Owner[] ownerData) {
		File existingFile = getExistingFile(fileId, true);
		doAddOwners(existingFile, ownerData);

		return FileDAO.save(existingFile);
	}

}