Package com.oracle.content.sdk.model
Class AssetSearchResult
java.lang.Object
com.oracle.content.sdk.model.AssetObject
com.oracle.content.sdk.model.AssetLinksObject
com.oracle.content.sdk.model.PaginatedListResult<Asset>
com.oracle.content.sdk.model.AssetSearchResult
- All Implemented Interfaces:
Serializable
Content search response from delivery SDK for
SearchAssetsRequest
- See Also:
-
Field Summary
Fields inherited from class com.oracle.content.sdk.model.PaginatedListResult
deserializedItems, items
Fields inherited from class com.oracle.content.sdk.model.AssetLinksObject
links
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Asset
deserializeObject
(com.google.gson.JsonElement jsonElement) Override to deserialize the list objectsGet the list of deserialized list of items from the response as a list ofContentItem
objects, so this will filter out any digital assetsGet the list of deserialized list of items from the response as a list ofDigitalAsset
objects, so this will filter out any content itemsMethods inherited from class com.oracle.content.sdk.model.PaginatedListResult
deserializeItemFields, first, getCount, getItems, getLimit, getOffset, getTotalResults, hasMore, isEmpty
Methods inherited from class com.oracle.content.sdk.model.AssetLinksObject
getLinks
-
Constructor Details
-
AssetSearchResult
public AssetSearchResult()
-
-
Method Details
-
deserializeObject
Description copied from class:PaginatedListResult
Override to deserialize the list objects- Specified by:
deserializeObject
in classPaginatedListResult<Asset>
- Parameters:
jsonElement
- element- Returns:
- object deserialized
-
getContentItems
Get the list of deserialized list of items from the response as a list ofContentItem
objects, so this will filter out any digital assets- Returns:
- List of content item objects
-
getDigitalAssets
Get the list of deserialized list of items from the response as a list ofDigitalAsset
objects, so this will filter out any content items- Returns:
- List of digital assets objects
-