All Superinterfaces:
ActivityPubObject
All Known Subinterfaces:
Instance
All Known Implementing Classes:
ActorDefault, InstanceDefault

public interface Actor extends ActivityPubObject
  • Method Details

    • getOutbox

      org.apache.commons.rdf.api.IRI getOutbox()
      Gives you the outbox of the actor
      Returns:
      The outbox of the actor
    • setOutbox

      void setOutbox(org.apache.commons.rdf.api.IRI outboxIri)
    • getInbox

      org.apache.commons.rdf.api.IRI getInbox()
      Gives you the inbox of the actor
      Returns:
      The inbox of the actor
    • setInbox

      void setInbox(org.apache.commons.rdf.api.IRI inboxIri)
    • getPendingFollowers

      org.apache.commons.rdf.api.IRI getPendingFollowers()
    • setPendingFollowers

      void setPendingFollowers(org.apache.commons.rdf.api.IRI pendingFollowersIri)
    • getPendingFollowing

      org.apache.commons.rdf.api.IRI getPendingFollowing()
    • setPendingFollowing

      void setPendingFollowing(org.apache.commons.rdf.api.IRI pendingFollowing)
    • getFollowing

      org.apache.commons.rdf.api.IRI getFollowing()
    • getFollowers

      org.apache.commons.rdf.api.IRI getFollowers()
    • getLiked

      org.apache.commons.rdf.api.IRI getLiked()
    • setLiked

      void setLiked(org.apache.commons.rdf.api.IRI liked)
    • getOauth2IssuerUserId

      Optional<String> getOauth2IssuerUserId()
      Returns:
      The unique id of the user.
    • setOauth2IssuerUserId

      void setOauth2IssuerUserId(String userId)
    • getOauth2Issuer

      Optional<String> getOauth2Issuer()
    • setOauth2Issuer

      void setOauth2Issuer(String issuer)
    • setPreferredUsername

      void setPreferredUsername(String string)
    • getPreferredUsername

      Optional<String> getPreferredUsername()
    • getPublicKey

      Optional<org.apache.commons.rdf.api.IRI> getPublicKey()
      Gets the IRI of the publicKey.
      Returns:
      The IRI of the publicKey.
    • getPublicKey

      Optional<org.apache.commons.rdf.api.IRI> getPublicKey(boolean resolveIris)
      Gets the IRI of the publicKey.
      Parameters:
      resolveIris - True, if the internal iris should be replaced with external https:// urls.
      Returns:
      The IRI of the publicKey.
    • resolvePublicKey

      Optional<PublicKey> resolvePublicKey()
    • setPublicKey

      void setPublicKey(PublicKey endpoints)
    • getEndpoints

      Optional<org.apache.commons.rdf.api.IRI> getEndpoints()
    • setEndpoints

      void setEndpoints(Endpoints endpoints)
    • resolveEndpoints

      Optional<Endpoints> resolveEndpoints()
    • extractIdentifier

      String extractIdentifier()