public abstract class

BaseActivityEntry

extends BaseEntry<E extends BaseEntry>
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.sites.BaseActivityEntry<E extends com.google.gdata.data.sites.BaseActivityEntry<E>>
Known Direct Subclasses

Class Overview

An entry representing a user action in a site.

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
BaseActivityEntry()
Default mutable constructor.
BaseActivityEntry(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.
Link getCurrentLink()
Returns the current sites link.
Publisher getPublisher()
Returns the The authenticated user that performe the activity if different than the author.
Link getRevisionLink()
Returns the revision sites link.
boolean hasPublisher()
Returns whether it has the The authenticated user that performe the activity if different than the author.
void setPublisher(Publisher publisher)
Sets the The authenticated user that performe the activity if different than the author.
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.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

Public Constructors

public BaseActivityEntry ()

Default mutable constructor.

public BaseActivityEntry (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 Link getCurrentLink ()

Returns the current sites link.

Returns
  • Current sites link or null for none.

public Publisher getPublisher ()

Returns the The authenticated user that performe the activity if different than the author.

Returns
  • The authenticated user that performe the activity if different than the author

public Link getRevisionLink ()

Returns the revision sites link.

Returns
  • Revision sites link or null for none.

public boolean hasPublisher ()

Returns whether it has the The authenticated user that performe the activity if different than the author.

Returns
  • whether it has the The authenticated user that performe the activity if different than the author

public void setPublisher (Publisher publisher)

Sets the The authenticated user that performe the activity if different than the author.

Parameters
publisher The authenticated user that performe the activity if different than the author 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.