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, itemsFields inherited from class com.oracle.content.sdk.model.AssetLinksObject
links -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AssetdeserializeObject(com.google.gson.JsonElement jsonElement) Override to deserialize the list objectsGet the list of deserialized list of items from the response as a list ofContentItemobjects, so this will filter out any digital assetsGet the list of deserialized list of items from the response as a list ofDigitalAssetobjects, 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, isEmptyMethods inherited from class com.oracle.content.sdk.model.AssetLinksObject
getLinks
-
Constructor Details
-
AssetSearchResult
public AssetSearchResult()
-
-
Method Details
-
deserializeObject
Description copied from class:PaginatedListResultOverride to deserialize the list objects- Specified by:
deserializeObjectin classPaginatedListResult<Asset>- Parameters:
jsonElement- element- Returns:
- object deserialized
-
getContentItems
Get the list of deserialized list of items from the response as a list ofContentItemobjects, 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 ofDigitalAssetobjects, so this will filter out any content items- Returns:
- List of digital assets objects
-