ContentItem Find operations:

getContentByDescription

Searches content items by description.

// userId is the current user ID
List<ContentItem> contentList = contentManager.getContentByDescription(description, userId);

getContentById

Searches a content item by it's unique identifier.

// userId is the current user ID
ContentItem content = contentManager.getContentById(contentId, userId);

getContentByName

Searches content items by name.

// userId is the current user ID
List<ContentItem> contentList = contentManager.getContentByName(name, userId);

getContentByParentNode

Searches content items by parent node.

// userId is the current user ID
List<ContentItem> contentList = contentManager.getContentByName(parentNodeId, userId);

Back to CMS User Guide.