Class OrganizationUtilityFunctions


  • public class OrganizationUtilityFunctions
    extends Object
    • Constructor Detail

      • OrganizationUtilityFunctions

        public OrganizationUtilityFunctions()
    • Method Detail

      • getHighestLevelOrganizationURI

        public static String getHighestLevelOrganizationURI​(org.apache.jena.query.ResultSet resultSet,
                                                            Map<String,​String> fieldLabelToOutputFieldLabel)
      • getEntityLabelFromDAO

        public static String getEntityLabelFromDAO​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vitroRequest,
                                                   String entityURI)
      • getStaffProvidedOrComputedHighestLevelOrganization

        public static String getStaffProvidedOrComputedHighestLevelOrganization​(org.apache.commons.logging.Log log,
                                                                                org.apache.jena.query.Dataset dataset,
                                                                                edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vitroRequest)
                                                                         throws MalformedQueryParametersException
        Throws:
        MalformedQueryParametersException
      • mergeEntityIfShareSameURI

        public static Entity mergeEntityIfShareSameURI​(Entity entityA,
                                                       Entity entityB)