Class WorkflowItemConverter

    • Method Detail

      • convert

        public WorkflowItemRest convert​(XmlWorkflowItem obj,
                                        Projection projection)
        Description copied from interface: DSpaceConverter
        Convert a DSpace model object into its equivalent REST resource, applying a given projection.
        Parameters:
        obj - a DSpace API model object.
        Returns:
        a resource representing the model object.
      • getModelClass

        public Class<XmlWorkflowItem> getModelClass()
        Description copied from interface: DSpaceConverter
        For what DSpace API model class does this converter convert?
        Returns:
        Class of model objects represented.
      • supportsModel

        public boolean supportsModel​(IndexableObject object)
        Parameters:
        object - the IndexableObject to check
        Returns:
        true if the actual converter implementation is able to manage the supplied IndexableObject