Interface BusinessHour
- All Superinterfaces:
CategoryAssigned
,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
Modifier and TypeMethodDescriptionReturns an unmodifiable set of the assigned tenants.Returns an unmodifiable set of the assigned time slots.Returns an optional unmodifiable map of holiday names to holiday instances assigned to this business hour.Methods inherited from interface com.novomind.ecom.api.iagent.assignment.CategoryAssigned
getAssignedCategories
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 Details
-
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
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
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
-