public abstract class

BaseContentEntry

extends MediaEntry<E extends BaseEntry<E>>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.sites.BaseContentEntry<E extends com.google.gdata.data.sites.BaseContentEntry<E>>
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

An entry representing a single content item.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
BaseContentEntry()
Default mutable constructor.
BaseContentEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
BatchId getBatchId()
Returns the batch identifier.
BatchInterrupted getBatchInterrupted()
Returns the batch interruption information.
BatchOperation getBatchOperation()
Returns the batch operation.
BatchStatus getBatchStatus()
Returns the batch response status information.
Deleted getDeleted()
Returns the If present, indicates that an item has been deleted.
Link getEntryPostLink()
Returns the link that provides the URI that can be used to post new entries to the feed.
Publisher getPublisher()
Returns the The authenticated user that uploaded the document if different than the author.
Revision getRevision()
Returns the revision.
Link getRevisionLink()
Returns the revision sites link.
boolean hasBatchId()
Returns whether it has the batch identifier.
boolean hasBatchInterrupted()
Returns whether it has the batch interruption information.
boolean hasBatchOperation()
Returns whether it has the batch operation.
boolean hasBatchStatus()
Returns whether it has the batch response status information.
boolean hasDeleted()
Returns whether it has the If present, indicates that an item has been deleted.
boolean hasPublisher()
Returns whether it has the The authenticated user that uploaded the document if different than the author.
boolean hasRevision()
Returns whether it has the revision.
void setBatchId(BatchId batchId)
Sets the batch identifier.
void setBatchInterrupted(BatchInterrupted batchInterrupted)
Sets the batch interruption information.
void setBatchOperation(BatchOperation batchOperation)
Sets the batch operation.
void setBatchStatus(BatchStatus batchStatus)
Sets the batch response status information.
void setDeleted(Deleted deleted)
Sets the If present, indicates that an item has been deleted.
void setPublisher(Publisher publisher)
Sets the The authenticated user that uploaded the document if different than the author.
void setRevision(Revision revision)
Sets the revision.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.media.MediaEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor
From interface com.google.gdata.data.media.IMediaEntry

Public Constructors

public BaseContentEntry ()

Default mutable constructor.

public BaseContentEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public BatchId getBatchId ()

Returns the batch identifier.

Returns
  • batch identifier

public BatchInterrupted getBatchInterrupted ()

Returns the batch interruption information.

Returns
  • batch interruption information

public BatchOperation getBatchOperation ()

Returns the batch operation.

Returns
  • batch operation

public BatchStatus getBatchStatus ()

Returns the batch response status information.

Returns
  • batch response status information

public Deleted getDeleted ()

Returns the If present, indicates that an item has been deleted. Deleted entries are not shown by default.

Returns
  • If present, indicates that an item has been deleted. Deleted entries are not shown by default

public Link getEntryPostLink ()

Returns the link that provides the URI that can be used to post new entries to the feed.

Returns
  • Link that provides the URI that can be used to post new entries to the feed or null for none.

public Publisher getPublisher ()

Returns the The authenticated user that uploaded the document if different than the author.

Returns
  • The authenticated user that uploaded the document if different than the author

public Revision getRevision ()

Returns the revision.

Returns
  • revision

public Link getRevisionLink ()

Returns the revision sites link.

Returns
  • Revision sites link or null for none.

public boolean hasBatchId ()

Returns whether it has the batch identifier.

Returns
  • whether it has the batch identifier

public boolean hasBatchInterrupted ()

Returns whether it has the batch interruption information.

Returns
  • whether it has the batch interruption information

public boolean hasBatchOperation ()

Returns whether it has the batch operation.

Returns
  • whether it has the batch operation

public boolean hasBatchStatus ()

Returns whether it has the batch response status information.

Returns
  • whether it has the batch response status information

public boolean hasDeleted ()

Returns whether it has the If present, indicates that an item has been deleted. Deleted entries are not shown by default.

Returns
  • whether it has the If present, indicates that an item has been deleted. Deleted entries are not shown by default

public boolean hasPublisher ()

Returns whether it has the The authenticated user that uploaded the document if different than the author.

Returns
  • whether it has the The authenticated user that uploaded the document if different than the author

public boolean hasRevision ()

Returns whether it has the revision.

Returns
  • whether it has the revision

public void setBatchId (BatchId batchId)

Sets the batch identifier.

Parameters
batchId Batch identifier or null to reset

public void setBatchInterrupted (BatchInterrupted batchInterrupted)

Sets the batch interruption information.

Parameters
batchInterrupted Batch interruption information or null to reset

public void setBatchOperation (BatchOperation batchOperation)

Sets the batch operation.

Parameters
batchOperation Batch operation or null to reset

public void setBatchStatus (BatchStatus batchStatus)

Sets the batch response status information.

Parameters
batchStatus Batch response status information or null to reset

public void setDeleted (Deleted deleted)

Sets the If present, indicates that an item has been deleted. Deleted entries are not shown by default.

Parameters
deleted If present, indicates that an item has been deleted. Deleted entries are not shown by default or null to reset

public void setPublisher (Publisher publisher)

Sets the The authenticated user that uploaded the document if different than the author.

Parameters
publisher The authenticated user that uploaded the document if different than the author or null to reset

public void setRevision (Revision revision)

Sets the revision.

Parameters
revision Revision or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.