Interface ContentManagement


public interface ContentManagement
Content Management
Since:
9.4.0
API:
This is a public API.
  • Method Details

    • co

      default String co(String uri)
      Returns the value of the content object with the given uri as string. The locale is determined from the current context. See findObject(String) to learn how the value is resolved. Use content(String) for advanced use cases.
      Parameters:
      uri - cms uri
      Returns:
      content as string
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • content

      ContentResolver content(String uri)
      Creates a content resolver.
      Parameters:
      uri - cms uri
      Returns:
      content resolver
      API:
      This public API is available in IvyScript and Java. It has the visibility ADVANCED.
    • ref

      default String ref(String uri)
      Returns the reference of the content object with the given uri as string. The locale is determined from the current context. See findObject(String) to learn how the value is resolved. Use reference(String) for advanced use cases.
      Parameters:
      uri - cms uri
      Returns:
      reference as string
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • reference

      ReferenceResolver reference(String uri)
      Creates a reference resolver.
      Parameters:
      uri - cms uri
      Returns:
      reference resolver
      API:
      This public API is available in IvyScript and Java. It has the visibility ADVANCED.
    • findObject

      Optional<ContentObject> findObject(String uri)
      Searches the content object by the following rule: 1. Content management system of the application 2. Current content management system 3. Required content management systems
      Parameters:
      uri - cms uri
      Returns:
      content object or empty optional if not found.
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • findValue

      Returns the content object value resolver.
      Parameters:
      co -
      Returns:
      content object value resolver
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • findValue

      Returns the content object value resolver.
      Parameters:
      uri - cms uri
      Returns:
      content object value resolver
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • cms

      Returns the content management system of the application.
      Parameters:
      app - application
      Returns:
      content management system
      API:
      This public API is available in IvyScript and Java. It has the visibility ADVANCED.