package eu.dnetlib.actionmanager.actions.infopackage;

import org.w3c.dom.NodeList;

import eu.dnetlib.data.transform.xml.DataciteToHbaseXsltFunctions;

public class DataciteInfoPackageToHbaseXsltFunctions extends DataciteToHbaseXsltFunctions {

	public static String oafDataCiteResultFromInfoPackage(
			final String resultId,
			final NodeList metadata,
			final NodeList titles,
			final NodeList subjects,
			final NodeList publisher,
			final NodeList descriptions,
			final NodeList dates,
			final NodeList resourceTypes,
			final NodeList formats,
			final NodeList sizes,
			final NodeList languages,
			final NodeList rights,
			final NodeList version,
			final String provenance,
			final String trust,
			final String hostedbyId,
			final String hostedbyName,
			final String collectedfromId,
			final String collectedfromName,
			final String originalId,
			final String instanceUri,
			final String dateOfCollection) {

		return oafResultFromDatacite(resultId, metadata, titles, subjects, publisher, descriptions, dates, resourceTypes, formats, sizes, languages,
				rights, version, provenance, trust, hostedbyId, hostedbyName, collectedfromId, collectedfromName, originalId, instanceUri,
				dateOfCollection);

	}

	public static String oafDataCitePersonFromInfoPackage(
			final String personId,
			final String fullname,
			final String provenanceAction,
			final String trust,
			final String collectedfromId,
			final String collectedfromName,
			final String originalId,
			final String dateOfCollection) {

		return oafPersonFromDatacite(personId, fullname, provenanceAction, trust, collectedfromId, collectedfromName, originalId, dateOfCollection);

	}

	public static String oafDataCitePersonResultFromInfoPackage(
			final String personId,
			final String resultId,
			final int rank,
			final String provenanceAction,
			final String trust) {
		return oafPersonResultFromDatacite(personId, resultId, rank, provenanceAction, trust);
	}

}
