Class CollectionRestEqualityUtils

java.lang.Object
org.dspace.app.rest.utils.DSpaceObjectRestEqualityUtils
org.dspace.app.rest.utils.CollectionRestEqualityUtils

@Component public class CollectionRestEqualityUtils extends DSpaceObjectRestEqualityUtils
This class will contain methods that can define in what way CollectionRest objects are equal
  • Constructor Details

    • CollectionRestEqualityUtils

      public CollectionRestEqualityUtils()
  • Method Details

    • isCollectionRestEqualWithoutMetadata

      public boolean isCollectionRestEqualWithoutMetadata(CollectionRest original, CollectionRest updated)
      This method will return a boolean indicating whether the given CollectionRest objects are equal through comparing their attributes
      Parameters:
      original - The original CollectionRest object
      updated - The CollectionRest object that has to be checked for equality
      Returns:
      A boolean indicating whether they're equal or not