public interface ContentZoneService
ContentZone
sModifier and Type | Method and Description |
---|---|
List<ContentZone> |
findAllContentZonesUsingDefinition(ContentZoneDefinition contentZoneDefinition) |
ContentItemDTO |
findContentItemDTOForZoneName(String name,
boolean secure)
Returns the
ContentItemDTO associated with the given zone name |
ContentItemDTO |
findContentItemDTOForZoneName(String name,
boolean secure,
Map<String,Object> args)
Returns the
ContentItemDTO associated with the given zone name and extra arguments. |
ContentZone |
findContentZoneById(Long id) |
ContentZone |
findContentZoneByName(String name)
Returns the
ContentZone associated with the given name |
ContentZoneDefinition |
findContentZoneDefinitionById(Long id) |
List<ContentZoneDefinition> |
findContentZoneDefinitionsAllowingWidget(Widget widget) |
boolean |
removeStructuredContentDTOsFromCache(ContentItem contentItem)
Call to evict a DTOList from the cache.
|
ContentZone |
saveContentZone(ContentZone contentZone)
Saves the given
ContentZone and returns the saved version |
ContentZone findContentZoneByName(String name)
ContentZone
associated with the given namename
- ContentZone
ContentItemDTO findContentItemDTOForZoneName(String name, boolean secure)
ContentItemDTO
associated with the given zone namename
- secure
- Some ContentItems contain HTML with URLs that must be modified based on HTTP or HTTPSContentItemDTO
ContentItemDTO findContentItemDTOForZoneName(String name, boolean secure, Map<String,Object> args)
ContentItemDTO
associated with the given zone name and extra arguments.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 ContentItemContentItemDTO
ContentZone saveContentZone(ContentZone contentZone)
ContentZone
and returns the saved versionname
- ContentZone
List<ContentZoneDefinition> findContentZoneDefinitionsAllowingWidget(Widget widget)
widget
- ContentZoneDefinition
s that allow the given WidgetList<ContentZone> findAllContentZonesUsingDefinition(ContentZoneDefinition contentZoneDefinition)
contentZoneDefinition
- ContentZone
s that are using the given ContentZoneDefinitionContentZoneDefinition findContentZoneDefinitionById(Long id)
id
- ContentZoneDefinition
matching the given idContentZone findContentZoneById(Long id)
id
- ContentZone
matching the given idboolean removeStructuredContentDTOsFromCache(ContentItem contentItem)
contentItemDto
- Copyright © 2016. All rights reserved.