Interface ContentZoneService
- All Known Implementing Classes:
ContentZoneServiceImpl
public interface ContentZoneService
Service methods for
ContentZones- Author:
- Andre Azzolini (apazzolini)
-
Method Summary
Modifier and TypeMethodDescriptionfindAllContentZonesUsingDefinition(ContentZoneDefinition contentZoneDefinition) findContentItemDTOForZoneName(String name, boolean secure) Returns theContentItemDTOassociated with the given zone namefindContentItemDTOForZoneName(String name, boolean secure, Map<String, Object> args) Returns theContentItemDTOassociated with the given zone name and extra arguments.findContentZoneByName(String name) Returns theContentZoneassociated with the given namesaveContentZone(ContentZone contentZone) Saves the givenContentZoneand returns the saved version
-
Method Details
-
findContentZoneByName
Returns theContentZoneassociated with the given name- Parameters:
name-- Returns:
- the
ContentZone
-
findContentItemDTOForZoneName
Returns theContentItemDTOassociated with the given zone name- Parameters:
name-secure- Some ContentItems contain HTML with URLs that must be modified based on HTTP or HTTPS- Returns:
- the
ContentItemDTO
-
findContentItemDTOForZoneName
Returns theContentItemDTOassociated with the given zone name and extra arguments.- Parameters:
name-secure- Some ContentItems contain HTML with URLs that must be modified based on HTTP or HTTPSargs- - additional arguments that an implementation might want to use to more specifically find a ContentItem- Returns:
- the
ContentItemDTO
-
saveContentZone
Saves the givenContentZoneand returns the saved version- Parameters:
contentZone-- Returns:
- the saved
ContentZone
-
findContentZoneDefinitionsAllowingWidget
- Parameters:
widget-- Returns:
- a list of
ContentZoneDefinitions that allow the given Widget
-
findAllContentZonesUsingDefinition
- Parameters:
contentZoneDefinition-- Returns:
- a list of
ContentZones that are using the given ContentZoneDefinition
-
findContentZoneDefinitionById
- Parameters:
id-- Returns:
- the
ContentZoneDefinitionmatching the given id
-
findContentZoneById
- Parameters:
id-- Returns:
- the
ContentZonematching the given id
-