Class ContentItem

All Implemented Interfaces:
Serializable

public class ContentItem extends Asset
Represents a ContentItem type of Asset. Contains methods specific only to ContentItems.
See Also:
  • Field Details

  • Constructor Details

    • ContentItem

      public ContentItem()
  • Method Details

    • parseContentItemFields

      public AssetFields 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 as Asset.getFieldFromType(String, FieldType) and related convenience methods such as Asset.getTextField(String) should be used.
      Returns:
      AssetFields class of all fields