Package ch.ivyteam.ivy.cm
Interface ContentObjectChildAccessor
public interface ContentObjectChildAccessor
Accessory to children of a content object.
- Since:
- 9.4
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the content object with the given name exists.Returns a file content object with the given name and file extension.Returns a folder content object with the given name.Returns the content object with the given name or empty if it does not exists.Returns a string content object with the given name.
-
Method Details
-
get
Returns the content object with the given name or empty if it does not exists.- Parameters:
name
- content object name- Returns:
- content object
- API:
- This public API is available in Java.
-
exists
Checks if the content object with the given name exists.- Parameters:
name
- content object name- Returns:
- true if it exists otherwise false
- API:
- This public API is available in Java.
-
string
Returns a string content object with the given name. Creates a new content object if it does not exist.- Parameters:
name
- content object name- Returns:
- content object
- API:
- This public API is available in Java.
-
folder
Returns a folder content object with the given name. Creates a new content object if it does not exist.- Parameters:
name
- content object name- Returns:
- content object
- API:
- This public API is available in Java.
-
file
Returns a file content object with the given name and file extension. Creates a new content object if it does not exist.- Parameters:
name
- content object namefileExtension
- file extension- Returns:
- content object
- API:
- This public API is available in Java.
-