Interface Issue
-
- All Superinterfaces:
OptionalCategoryProvider
,OptionalTenantProvider
,StorageProvider
public interface Issue extends OptionalCategoryProvider, OptionalTenantProvider, StorageProvider
Represents an issue- Since:
- 10.0.38
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Date
getDateReceived()
java.lang.Long
getId()
java.util.Optional<java.util.Locale>
getLocale()
Returns a locale object representing the language of the issue.java.util.Optional<Location>
getLocation()
Returns the optionalLocation
of the issue.java.util.Set<RoutingTag>
getRoutingTags()
Returns an unmodifiable set of the currently assigned routing tags.java.util.Optional<Tenant>
getTenant()
Returns the optional tenant of the issue or an empty optional if no tenant is assigned to the issue.-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.OptionalCategoryProvider
getCategory
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider
getStorage
-
-
-
-
Method Detail
-
getId
java.lang.Long getId()
- Returns:
- the id of the issue
- Since:
- 10.0.38
-
getDateReceived
java.util.Date getDateReceived()
- Returns:
- the date this issue was received by novomind iAGENT
- Since:
- 11.3
-
getTenant
java.util.Optional<Tenant> getTenant()
Returns the optional tenant of the issue or an empty optional if no tenant is assigned to the issue. Please note that this might not be the same tenant like the tenant being associated with the category of the issue. Usually the tenant associated with the issue's category is synchronized with the issue's tenant on each recategorization of the issue.- Specified by:
getTenant
in interfaceOptionalTenantProvider
- Returns:
- the optional tenant of the issue or an empty optional if no tenant is set.
- Since:
- 12.0
-
getLocale
java.util.Optional<java.util.Locale> getLocale()
Returns a locale object representing the language of the issue. If the language of the issue is not set, an empty optional will be returned. Please note that always only the language attribute of the givenLocale
is used.- Returns:
- a locale object representing the language of the issue.
- Since:
- 11.22
-
getLocation
java.util.Optional<Location> getLocation()
Returns the optionalLocation
of the issue. If the issue is not assigned to anyLocation
, an empty optional will be returned.- Returns:
- the optional
Location
of the issue. - Since:
- 11.26
-
getRoutingTags
java.util.Set<RoutingTag> getRoutingTags()
Returns an unmodifiable set of the currently assigned routing tags. The returned set is not updated when assignments change.- Returns:
- the current assigned routing tags as an unmodifiable set
- Since:
- 12.1
-
-