Interface BusinessHour

  • All Superinterfaces:
    CategoryAssigned, java.lang.Comparable<com.novomind.ecom.common.api.persistence.Entity>, com.novomind.ecom.common.api.persistence.Entity, MasterEntity, com.novomind.ecom.common.api.attribute.Named

    public interface BusinessHour
    extends MasterEntity, com.novomind.ecom.common.api.attribute.Named, CategoryAssigned
    Represents a business hour object
    Since:
    11.20
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<Tenant> getAssignedTenants()
      Returns an unmodifiable set of the assigned tenants.
      java.util.Set<BusinessTimeSlot> getBusinessTimeSlots()
      Returns an unmodifiable set of the assigned time slots.
      java.util.Optional<java.util.Map<java.lang.String,​Holiday>> getHolidays()
      Returns an optional unmodifiable map of holiday names to holiday instances assigned to this business hour.
      • Methods inherited from interface com.novomind.ecom.common.api.persistence.Entity

        compareTo, getId, isDeleted, isNotDeleted
      • Methods inherited from interface com.novomind.ecom.common.api.attribute.Named

        getName
    • Method Detail

      • getAssignedTenants

        java.util.Set<Tenant> getAssignedTenants()
        Returns an unmodifiable set of the assigned tenants.
        The returned set is not updated when assignments change.
        Returns:
        the current assigned tenants as an unmodifiable set
        Since:
        11.20
      • getBusinessTimeSlots

        java.util.Set<BusinessTimeSlot> getBusinessTimeSlots()
        Returns an unmodifiable set of the assigned time slots.
        The returned set is not updated when assignments change.
        Returns:
        the business hours time slots as an unmodifiable set
        Since:
        11.20
      • getHolidays

        java.util.Optional<java.util.Map<java.lang.String,​Holiday>> getHolidays()
        Returns an optional unmodifiable map of holiday names to holiday instances assigned to this business hour.
        The returned map is not updated when assignments change.
        Returns:
        the optional assigned holiday information
        Since:
        11.20