PyContentReferenceFinder
class PyContentReferenceFinder(content_reference_finder)
Bases: object
Interface for an object that can find IContentReferences for given search criteria.
- Parameters: content_reference_finder (IContentReferenceFinder)
__init__(content_reference_finder)
Creates a new PyContentReferenceFinder object.
Args: : content_reference_finder: A IContentReferenceFinder object.
Returns: None.
- Parameters: content_reference_finder (IContentReferenceFinder)
- Return type: None
Methods
__init__ (content_reference_finder) |
Creates a new PyContentReferenceFinder object. |
---|---|
find_all () |
Finds all available content references. |
find_by_id (id) |
Finds the content reference by its unique identifier. |
find_all()
Finds all available content references.
Returns: The found content references.
- Return type: Sequence[PyContentReference]
find_by_id(id)
Finds the content reference by its unique identifier.
Args: : id: The unique identifier.
Returns: The found content reference, or null if no content reference was found.
- Parameters: id (UUID)
- Return type: PyContentReference