Entry class
An Entry
is the actual piece of content created using one of
the defined content types
. Learn more about Entries.
Read more for details of Entry
Constructors
Properties
Methods
-
addParam(
String key, String value) → void -
This method adds key and value to an Entry.
key
The key as string which needs to be added to an Entryvalue
The value as string which needs to be added to an EntryEntryQueryable
object, so you can chain this call.inherited -
except(
List< String> fieldUid) → void -
Specifies list of field uids that would be excluded from the response.
fieldUid
field uid which get excluded from the response.EntryQueryable
object, so you can chain this call.inherited -
fetch<
T, K> () → Future< T> -
The Get a
single entry
request fetches a particular entry of a content type. -
includeBranch(
) → void -
Includes branch in the Entry response
Example:
inherited
-
includeContentType(
) → void -
Include Content Type of all
returned objects along with objects themselves.
return,
EntryQueryable
so you can chain this call.inherited -
includeEmbeddedItems(
) → void -
includeEmbeddedItems instance of Entry
Include Embedded Objects (Entries and Assets) along with entry/entries details
inherited
-
includeFallback(
) → void -
Retrieve the published content of the fallback locale if an entry is not
localized in specified locale.
inherited
-
includeReference(
dynamic referenceFieldUid, {Include includeReferenceField}) → void -
Include Reference:
When you fetch an entry of a content type that has a reference field,
by default, the content of the referred entry is not fetched.
It only fetches the UID of the referred entry, along with the content of
the specified entry.
inherited
-
includeReferenceContentTypeUID(
) → void -
This method also includes the content type
UIDs of the referenced entries returned in the response
return
EntryQueryable
so you can chain this callinherited -
locale(
String locale) → void -
locale is code of the
language
of which the entries needs to be included. Only the entries published in this locale will be fetched.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
only(
List< String> fieldUid) → void -
Specifies an array of only keys in BASE object that
would be included in the response.
fieldUid
Array of the only reference keys to be included in response.EntryQueryable
object, so you can chain this call.inherited -
query(
) → Query - Applies query on entries
-
toString(
) → String -
A string representation of this object.
inherited
-
validateLivePreview(
dynamic preview, dynamic _client, dynamic _contentTypeUid) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited