Package ch.ivyteam.ivy.cm.exec
Interface ContentManagement
public interface ContentManagement
Content Management
- Since:
- 9.4.0
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentManagementSystem
cms
(IApplication app) Returns the content management system of the application.default String
Returns the value of the content object with the given uri as string.Creates a content resolver.findObject
(String uri) Searches the content object by the following rule: 1.Returns the content object value resolver.Returns the content object value resolver.default String
Returns the reference of the content object with the given uri as string.Creates a reference resolver.
-
Method Details
-
co
Returns the value of the content object with the given uri as string. The locale is determined from the current context. SeefindObject(String)
to learn how the value is resolved. Usecontent(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
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
Returns the reference of the content object with the given uri as string. The locale is determined from the current context. SeefindObject(String)
to learn how the value is resolved. Usereference(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
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
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.
-