Class EventContextImpl

    • Constructor Detail

      • EventContextImpl

        protected EventContextImpl()
        Constructor to be used by derived classes
      • EventContextImpl

        public EventContextImpl​(Object... args)
    • Method Detail

      • setArgs

        public void setArgs​(Object[] args)
      • getCoreSession

        public CoreSession getCoreSession()
        Description copied from interface: EventContext
        Gets the current core session if any.
        Returns:
        the core session, or null if none
      • getPrincipal

        public NuxeoPrincipal getPrincipal()
        Description copied from interface: EventContext
        Gets the current principal.
        Returns:
        the principal. Cannot be null.
      • setCoreSession

        public void setCoreSession​(CoreSession session)
        Description copied from interface: EventContext
        Sets the core session.
      • updateRepositoryName

        protected void updateRepositoryName()
      • setPrincipal

        public void setPrincipal​(NuxeoPrincipal principal)
        Description copied from interface: EventContext
        Sets the principal.