Class Presence

  • All Implemented Interfaces:
    org.alfresco.processor.ProcessorExtension, Scopeable

    public final class Presence
    extends BaseScopableProcessorExtension
    Scripted Presence service for determining online status of People.
    Author:
    Mike Hatfield
    • Constructor Detail

      • Presence

        public Presence()
    • Method Detail

      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)
        Set the service registry
        Parameters:
        serviceRegistry - the service registry
      • hasPresence

        public boolean hasPresence​(ScriptNode person)
        Gets whether the Person has configured Presence parameters
        Parameters:
        person - the person to query
        Returns:
        true if this person is configured for presence
      • getDetails

        public java.lang.String getDetails​(ScriptNode person)
        Query current online status of given person
        Parameters:
        person - the person to query
        Returns:
        string indicating online presence status