Class CommunityRestEqualityUtils

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

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

    • CommunityRestEqualityUtils

      public CommunityRestEqualityUtils()
  • Method Details

    • isCommunityRestEqualWithoutMetadata

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