Class EntityDWR


  • public class EntityDWR
    extends Object
    This is a class to support Direct Web Remoting(DWR) in relation to vitro entities. It exposes classes that can be called from javascript from browsers.
    • Constructor Detail

      • EntityDWR

        public EntityDWR()
    • Method Detail

      • insertNewEntity

        public String insertNewEntity​(Individual ent)
        Insets a new entity into the Vitro system.
        Returns:
        < 1 if failed, entityId if success.
      • entityByURI

        public Individual entityByURI​(String entityURI)
        Gets an Entity object for a given entities.id.
      • getEntitiesByVClass

        public Collection getEntitiesByVClass​(String vclassURI)
        Gets all of the entities given the vclass. This returns a collection of EntityWebapp objects.