Interface LightboxService


  • public interface LightboxService
    The LightboxService makes sure that access to the respective user lightboxes is possible.
    • Method Detail

      • getLightbox

        Lightbox getLightbox​(Session userSession)
        Returns the Lightbox of the respective user (userSession).
        Parameters:
        userSession - user session
        Returns:
        the user's Lightbox
      • getLightbox

        Lightbox getLightbox​(Session session,
                             java.lang.String resourcePath)
        Returns the Lightbox containing resource located at resourcePath. It returns null if resource is not found or resource is not contained within lightbox.
        Parameters:
        session - jcr session
        resourcePath - path of the resource
        Returns:
        the resource's Lightbox or null