/** * Returns the The authenticated user that performe the activity if different * than the author. * * @return The authenticated user that performe the activity if different than * the author */ public Publisher getPublisher() { return getExtension(Publisher.class); }
/** * Returns the revision sites link. * * @return Revision sites link or {@code null} for none. */ public Link getRevisionLink() { return getLink(SitesLink.Rel.REVISION, Link.Type.ATOM); }
/** * Returns whether it has the The authenticated user that performe the * activity if different than the author. * * @return whether it has the The authenticated user that performe the * activity if different than the author */ public boolean hasPublisher() { return hasExtension(Publisher.class); }
@Override public String toString() { return "{ActivityEntry " + super.toString() + "}"; }
/** * Sets the The authenticated user that performe the activity if different * than the author. * * @param publisher The authenticated user that performe the activity if * different than the author or <code>null</code> to reset */ public void setPublisher(Publisher publisher) { if (publisher == null) { removeExtension(Publisher.class); } else { setExtension(publisher); } }
@Override public String toString() { return "{RecoveryActivityEntry " + super.toString() + "}"; }
/** * Sets the The authenticated user that performe the activity if different * than the author. * * @param publisher The authenticated user that performe the activity if * different than the author or <code>null</code> to reset */ public void setPublisher(Publisher publisher) { if (publisher == null) { removeExtension(Publisher.class); } else { setExtension(publisher); } }
@Override public String toString() { return "{RecoveryActivityEntry " + super.toString() + "}"; }
/** * Returns the current sites link. * * @return Current sites link or {@code null} for none. */ public Link getCurrentLink() { return getLink(SitesLink.Rel.CURRENT, Link.Type.ATOM); }
/** * Returns the The authenticated user that performe the activity if different * than the author. * * @return The authenticated user that performe the activity if different than * the author */ public Publisher getPublisher() { return getExtension(Publisher.class); }
/** * Returns whether it has the The authenticated user that performe the * activity if different than the author. * * @return whether it has the The authenticated user that performe the * activity if different than the author */ public boolean hasPublisher() { return hasExtension(Publisher.class); }
@Override public String toString() { return "{DeletionActivityEntry " + super.toString() + "}"; }
/** * Returns the current sites link. * * @return Current sites link or {@code null} for none. */ public Link getCurrentLink() { return getLink(SitesLink.Rel.CURRENT, Link.Type.ATOM); }
@Override public String toString() { return "{ActivityEntry " + super.toString() + "}"; }
/** * Returns the revision sites link. * * @return Revision sites link or {@code null} for none. */ public Link getRevisionLink() { return getLink(SitesLink.Rel.REVISION, Link.Type.ATOM); }
@Override public String toString() { return "{EditActivityEntry " + super.toString() + "}"; }
@Override public String toString() { return "{MoveActivityEntry " + super.toString() + "}"; }
@Override public String toString() { return "{EditActivityEntry " + super.toString() + "}"; }
@Override public String toString() { return "{DeletionActivityEntry " + super.toString() + "}"; }
@Override public String toString() { return "{MoveActivityEntry " + super.toString() + "}"; }