Class ContentItem
java.lang.Object
com.oracle.content.sdk.model.AssetObject
com.oracle.content.sdk.model.AssetLinksObject
com.oracle.content.sdk.model.Asset
com.oracle.content.sdk.model.item.ContentItem
- All Implemented Interfaces:
Serializable
Represents a ContentItem type of Asset. Contains methods specific
only to ContentItems.
- See Also:
-
Field Summary
FieldsFields inherited from class com.oracle.content.sdk.model.Asset
createdDate, description, fields, id, language, name, type, typeCategory, updatedDate
Fields inherited from class com.oracle.content.sdk.model.AssetLinksObject
links
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method will go through and "parse" all of the field data in a ContentField map, guessing at the field types based on the field values.Methods inherited from class com.oracle.content.sdk.model.Asset
getBooleanField, getContentItemField, getContentType, getCreatedDate, getDateField, getDecimalField, getDescription, getDigitalAssetField, getFieldFromType, getFieldFromValue, getFileExtension, getFileGroup, getId, getIntegerField, getJsonField, getLanguage, getLargeTextField, getMimeType, getName, getReferenceListField, getReferenceListIds, getSlug, getTaxonomies, getTextField, getTranslatable, getType, getTypeCategory, getUpdatedDate, isDigitalAsset, isReferenceOnly
Methods inherited from class com.oracle.content.sdk.model.AssetLinksObject
getLinks
-
Field Details
-
CONTENT_ITEM
- See Also:
-
-
Constructor Details
-
ContentItem
public ContentItem()
-
-
Method Details
-
parseContentItemFields
This method will go through and "parse" all of the field data in a ContentField map, guessing at the field types based on the field values. This method is not a reliable way to determine the exact field types, but could be useful as a way to inspect the full set of content item fields available. In most cases, since the field type is known methods such asAsset.getFieldFromType(String, FieldType)
and related convenience methods such asAsset.getTextField(String)
should be used.- Returns:
AssetFields
class of all fields
-